AnsweredAssumed Answered

Capturing and writing the IQ data using AD9361_iiostream.c

Question asked by eee_33 on Aug 18, 2017
Latest reply on Feb 20, 2018 by mhennerich

Hi everyone,


I am recently  trying to understand how AD9361_iiostream.c code to work and I have some questions on the file AD9361_iiostream.c. 

  • I understand that there is a limit to the buffer. Does this mean we can get maximum 1048576 samples in 1 millisecond with this created buffer?   "rxbuf = iio_device_create_buffer(rx, 1024*1024, false);"
  • I am trying to modify this code to write the IQ data from the channel to a file. For example, is it possible to capture a signal continuously with 5 MHz bandwidth and a sampling rate 50 Msps for 1 second and write it to the file without losing any sample?