[srslte-users] Fetch IQ samples
john wu
john.wu.8899 at hotmail.com
Wed Oct 17 07:06:47 UTC 2018
Hi Wang,
the IQ sample is formated as 16bit I, 16bitQ... from the data read from usrp. if you want to save it to file it will generate much overhead, because the io process is slow. you should use buffer in ram to put the data and save the butch data to disk at once when the data count reach a level.
i remember gnuradio have function that sink raw data to a file. you only need to setup usrp to work on the correct frequency and sample rate.
www.zhixun-wireless.top<http://www.zhixun-wireless.top/>
provide SDR PA LNA duplexer
Best Regards
________________________________
From: srslte-users <srslte-users-bounces at lists.softwareradiosystems.com> on behalf of Peng Wang <pengwang at kth.se>
Sent: Wednesday, October 17, 2018 12:14:41 AM
To: srslte-users at lists.softwareradiosystems.com
Subject: [srslte-users] Fetch IQ samples
Dear Sir or Madam,
I am a new srsLTE user and I would like to ask is there any easy way to get the IQ samples? I check the log system but seems that it does not provide the function to log such low level records.
I also checked the source code in folder /lib/src/phy/rf. Since I am using USRPs, I looked into the rf_uhd_imp.c. Looks like the IQ samples can be obtained first here in function rf_uhd_recv_with_time_multi() at the receiving side and in function rf_uhd_recv_with_time_multi() in rf_uhd_send_timed_multi().
My questions are,
1. Can I just add some codes here to save the IQ samples into some text file?
2. If I do so, will I generate some impacts to the timing performance of the system?
3. Do you have any suggestion for me to continue?
Thank you very much!
Best regards,
Peng
_______________________________________________
srslte-users mailing list
srslte-users at lists.softwareradiosystems.com
http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20181017/fc0522f3/attachment.htm>
More information about the srsran-users
mailing list