AnsweredAssumed Answered

how to buffer data using libiio python bindings

Question asked by enndub on May 4, 2016
Latest reply on May 6, 2016 by pcercuei


I have some python code based on the libiio streaming example in C. I'm confused about how to stream the data into the tx buffer from python. I have an array sig and I just want to stream the entire array to the tx, how can I accomplish this? Is there a way to support continuous TX over the network with the python bindings? I can't create a single buffer big enough for my signal which is about 5 seconds long at a pretty low baseband rate of 2.1MHz.

 

tx_buf = iio.Buffer(tx_dev, 1024*1024)
tx_buf.write(sig)
tx_buf.push()

 

Thanks,

Nick

Outcomes