I've created an hdl project and petalinux boot image for the ad9684 adc. I have run the test pattern and done a memory dump and the data appears to be coming in correctly (e.g. ramp test).
I would like to write a simple libiio-client to test sample data capture via the adc.
The iiod daemon is running on the fpga board.
If I type the following command on a terminal from a host computer, I get a steady stream of encoded data on the console:
iio_readdev -u 'ip:192.168.1.106' iio:device1
Is there a simple example I can use to receive the samples and plot the waveform correctly on a host computer?
We have iio-oscilloscope: https://github.com/analogdevicesinc/iio-oscilloscope/
You can use it directly, or take it apart and build your own app from scratch.
We have some Matlab bits & pieces. tra…
We do not have specific classes for AD9684 but you can use the generic libiio and related bindings to talk to it as well. Here is an example in python of a different device but the API would be similar…
That python example looks like just the kind of example I was looking for.
We have some Matlab bits & pieces. travisfcollins can offer more info about them.
Thanks, I got iio-oscilloscope working and it's acquiring data samples from the adc.
I didn't realize that the iio-oscilloscope was the only available example for a continuous streaming client.
We do not have specific classes for AD9684 but you can use the generic libiio and related bindings to talk to it as well. Here is an example in python of a different device but the API would be similar: https://github.com/analogdevicesinc/plutosdr_scripts/blob/master/pluto.py