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()