Data processing iio_readdev

Hello everyone,

i am a newbie so sorry if my question sounds dumb.

I have an Adalm-Pluto and would like to perform a spectral analysis with it.

As far as I understood it correctly, my required data can be captured with the function "iio_readdev". Unfortunately I don't really know what to do with this data. I dont even know what kind of data this is. 

I also saw the example on "" but it just confused me more because when i plot the same data, my graph looked different. 

So my question is: How do I have to process the outputdata from "iio_readdev" to get a frequency image.

Thank you for any help!

[edited by: Can_BeRg at 1:32 PM (GMT 0) on 29 Jul 2020]