Posted Mon, 19 Dec 2022 17:01:47 GMT by Matanza, Javier Assistant Professor – Master in Smart Grids Coordinator
Hello, I´m building an application to analyze the spectrum and run some machine-learning over the retreived data. To do so, I´m using the RSA_API implementation over Python to communicate with the RSA 306B. The problem I am encountering is the amount of time needed to get the data from the RSA306b. I´ve timed every part of the code and I have concluded that the "bottleneck" is the; IQBLK_GetIQDataDeinterleaved function. It currently takes around 3 seconds to send a vector of 56000000 (i.e. 56e6) IQ samples from the RSA to the python code. Is there a faster way to send this information or is it as fast as it gets; I´ve also tried the; IQBLK_GetIQData function, but I get similar times. Thanks in advance for the help
Posted Tue, 07 Feb 2023 00:14:37 GMT by Teles, Afonso
Hi Javier,

I would suggest working with IF samples instead of IQ data, as these take a lot less processing from the RSA, therefore potentially speeding up your transfer.
If you still need the IQ data, then you can calculate in on the PC side with a much faster processor in parallel, avoiding the bottleneck of IQ demodulation.
Posted Mon, 01 May 2023 13:43:03 GMT by Matanza, Javier Assistant Professor – Master in Smart Grids Coordinator
Hello Afonso,&#160;<br> <br> sorry for the long silence.&#160;<br> <br> thanks for the advice. I have tried using the&#160;IFSTREAM_GetIFData functionfollowing your suggestion (hopefully is the good one) but I keep on getting an 1212 error code when executing it. I have tried with different input data but always the same result.&#160;<br> <br> Would you happen to have a working example of using IF samples that I can use to further ellaborate my application?<br> <br> Thanks in advance!
Posted Fri, 05 May 2023 17:57:49 GMT by Teles, Afonso
Hi Javier,<br> <br> Indeed I do have such an example, I've attached it with this post.

You must be signed in to post in this forum.