AnsweredAssumed Answered

Multi Device Data Capture Synchronization in libiio

Question asked by Matty on Jul 8, 2015
Latest reply on Jul 9, 2015 by mhennerich

I am trying to modify the "libiio - AD9361 IIO streaming example" to work with the FMCOMMS5. In particular I want to be able to capture synchronized data from both of the AD9361 chips. The example program uses iio_buffer_refill to capture each data block. However it seems that with two devices, this routine needs to be called for the buffer associated with each device sequentially and hence the data will not be synchronized. I couldn't find any other data capture routine that allows multiple buffers to be filled simultaneously, so it seems that iio_buffer_refill must have this functionality, however I couldn't find much information on how to achieve this in the libiio documentation.