I'm trying to use the FMComms 2 Sink and Source GNU Radio blocks on the analog devices github. The Source block is working to some extent but the Sink block returns a 'Runtime error: Channel not found' when I try to use it?
I updated the FMCOMMS-2 blocks for GnuRadio, they should be usable now.
I also started a wiki page: GnuRadio [Analog Devices Wiki]
Your "channel not found" issue is because the kernel you are running on the board is too old. Apparently they were renamed at some point.
On your target can you check how the buffer channels of the IIO device with the name “cf-ad9361-dds-core-lpc”
are named? If they are called out_altvoltageX then the sink block can’t find them because it expects out_voltageX.
Added FMComms2 Sink block · 77da570 · analogdevicesinc/gnuradio · GitHub
If you build your kernel from our github Linux repository things should work.
Thanks for your help - I'm not quite sure what you mean by check the names of the channels though, I can't find any way of doing this on the analog devices wiki?
The kernel I'm using was alread on the board's SD card - I'm using the Xilinx 706 evaluation kit (with the AD-FMCOMMS2-EBZ)
I've found a config file for the IIO Oscilloscope application which was pre-installed and does work for both transmit and receive which does refer to out_altvoltageX so I assume that this is the problem. Should I be renaming the channel or editing the blocks to expect the correct name?
Edit: confirmed, the channels on cf-ad9361-dds-core-lpc definitely all start with out_altvoltage
Thanks for bearing this in mind Paul, I appreciate it's all very early days on this stuff! Think I might wait for the kernel version with GNU Radio preinstalled .
On a different note, I was glad to see updates and new documentatio for libiio recently - it's a great system to use.
Retrieving data ...