Issue with Creating Dummy Context for AD9361 Testing Using libiio #1297
Unanswered
samuel13584
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Hi @samuel13584, Are you using a modified version of libiio where you introduced cmake option WITH_DUMMY_BACKEND? As far as I know, this option doesn't exist. |
Beta Was this translation helpful? Give feedback.
2 replies
-
It looks like you are trying to implement your own backend. What changes have you done so far? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to set up and use a dummy project for AD9361 testing. I'm currently using the default example program provided here:
https://github.com/analogdevicesinc/libiio/blob/main/examples/ad9361-iiostream.c
I successfully built the entire libiio repository using the following CMake command, which enables the examples, XML backend, dummy backend, and other relevant options:
cmake ..
-DWITH_EXAMPLES=ON
-DWITH_XML_BACKEND=ON
-DWITH_ZSTD=ON
-DWITH_IIOD=OFF
-DWITH_USB_BACKEND=OFF
-DHAVE_DNS_SD=OFF
The build completed without any issues.
However, when I try to set the dummy environment variables and verify the setup using the following command:
./utils/iio_info -u dummy
I always receive this error:
ERROR: Unable to create IIO context dummy: Function not implemented (38)
It seems like the dummy context is never actually created, and I'm unsure how to proceed from here.
Thanks in advance for your time and support!
Beta Was this translation helpful? Give feedback.
All reactions