1. I have installed all Linux (Ubuntu 18.04) drivers for libiio correctly.
2. I have been able to connect with the ADALM2000 with info_iio command and receive a listing of ADALM2k services.
3. I have installed Scopy software and been able to run the delightful software.
4. However, as seen in the gnuradio flowgraph below, I dont seen to be connecting to ADALM2k via the IIO Attribute Source block, even when I am using the correct URI, USB:2.3.5 that I used for connecting to ADALM2k via iio_info.
My aim is to capture a square-wave waveform being fed to the ADALM2k from a function generator and to delay the waveform by say 300, 350 and 400 microseconds. The flowgraph below is a simulation that ran successfully.
The flowgraph here is the one I have a problem with:
Thanks in advance...
If you want only a channel, set the parameter to: ["voltage0"] or ["voltage1"].
The channel must be between square brackets.
I set the 'channels [ ] to "voltage0" instead of [voltage0] and this is what I get - 8 channels of the ADC.
You did not set the channel right. For one channel set the parameter like this:
You got 8 channels because you forgot to use square brackets, and the string "voltage0" has 8 characters, so the device source considers you have 8 channels.
Wooo yes, I got the display. My inputs are floating right now, so the display is a mess...
Thank you, TeoPeri and mhennerich! Much obliged for getting me out of this hole...
I will trouble you more later...
For ADALM2000, you have to set both channels in order to get the expected signal. If you do not need a channel, just connect it to a 'Null Sink' and set the input type of the sink to short.