Post Go back to editing

ad9361-iio

Category: Hardware
Product Number: adalm pluto

Hi,

Can anyone please kindly describe me the details of how to run ad9361-iiostream.c example on my linux pc where ADALM pluto is connected via usb?  This is the libiio example im refering to https://github.com/analogdevicesinc/libiio/blob/main/examples/ad9361-iiostream.c.

I tried compiling the example is using ``gcc ad9361-iiostream.c -o main liio`` with the device plugged into my PC, and i got the error: ``segmentation fault core dumped``

I have the impression that running this example remotely via PC requires modification of CMakelists.txt, or in the case of vscode it might instead require modifying include path json file or compile path json file.  All i want to do is run the code ad9361-iiostream . Can anyone kindly please provide me with the exact detailed steps?  i do have libiio installed, and have done numerous DSP experiments using pyADI .  now i want move on to writing C code for ADALM pluto for DSP applications.

Help is sincerely appreciated.

Sincerely,

Abdalla