Це відео не доступне.
Перепрошуємо.
ADI SDR Adalm Pluto programmatic control via libiio in Windows.
Вставка
- Опубліковано 27 чер 2019
- ADI SDR Adalm Pluto programmatic control via libiio in Windows.
The context that worked for me is described below...
iio_create_context_from_uri()
Where const char *uri can either be ip: or usb:
How to get the USB URI?
~$ iio_info -s
Library version: 0.10 (git tag: c95ff6a)
Compiled with backends: local xml ip usb
Available contexts:
0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=104473222a87000c1b000c009b8ed5c48e [usb:1.11.5]
~$
ctx = iio_create_context_from_uri("usb:1.11.5")
or
ctx = iio_create_context_from_uri("ip:192.168.2.1")
The default context did not work and tosses an Assert fault in Visual Studio. I do not recommend going that route. Definitely use : iio_create_context_from_uri
Nice video, I've been struggling with plutosdr for a few days now. Do you have the code public on github ?
libiio isnt a Proprietary lib. "The library is released under the GNU Lesser General Public License (LGPL), version 2.1 "
github.com/analogdevicesinc/libiio
No but I am sure the chip is very proprietary and costs a pretty penny...None of the ADI stuff is cheap I have all their DSP's Sharc and Blackfin and the licensing is very proprietary causing people to switch to ARM cores instead...
@@solaraeng ppl may switch to ARM, ARM is cool, but DSP (Blackfin etc) has more power for SDR.
And who cares a chip is proprietary? U buy, and u have it. Software counts.
And btw. Adalm is fucking cool shit.
Hi, Thanks for sharing. I noticed in the video you used c script for 9361 while pluto has 9364. Any special configuration needed?
They are identical...
What version of VS are you using? I would like to sample some receiving signals from Pluto using VS. I have vs2010 and had problem with booleans (tried switching to c++ but got large number of errors). I am beginner at this so if you have time to share a bit of your experience with me i would be thankful :)
Let me see what I did...I'll get back to you! Cheers, Mario
@@solaraeng I managed to sample some received signals and convert them to complex numbers and now i am hoping i will be able to do fft on them :) Cheers
I looked over what I have done so far and the answer is very little custom programming compared to what I would have liked to...So I can at least maybe help you with the compiler which is what I have done by following instructions using the awesome CMake plaform. More instructions on how to create that project hierarchy in CMake and MinGW or Visual Studio in our case on Windows (I use VS version 2017 which is 15.7 revision number that works great on my Alienware R15 laptop). I have built straight from Michael Hennerich's git as libiio-0.18. The idea for ADI to use CMake was brilliant and the examples are also CMake Projects, I believe! just follow this link and travel the blogs for some keywords in Google to compile the examples : wiki.analog.com/resources/tools-software/linux-software/building_libiio_for_windows
Hope this helps to get you started to compile libiio like I did from scratch via the GIT. You can also download the pre-compiled binaries to get you there faster. If you are good with VS, just setup those projects for the examples from scratch, but I did everything using CMake to get every dependency working on my laptop...Might wanna do a search on this guy Michael Hennerick he did an excellent presentation on the guts of ADALM Pluto. Prepare for some head scratching the FPGA guts on the Zynq-7000 are a bit complex since they are VHDL and may require Vivado Suite from Xillinx if you wanna mess with the details of synthesis and the wrapper logic is Linux which may be another complex head scratcher using their custom peripheral drivers layer internal to Linux side of libiio. It is a deep firmware project and I would navigate its firmware structure carefully if working on updates so as not to brick it mistakenly. Search for 8-Michael_Hennerich.pdf on google. Good luck and keep me posted of your progress!
@@MrMilanCar How exciting...Would be a cool project for a wireless synthesizer or remote audio streaming...Keep up the good work man! :)
@@solaraeng Thank you for help :) Maybe i post something one day. Who knows ;)
can you share me that pluto player c code to me, it was great help for my project
i have pluto player c code available in github that is related to ubuntu
please share me AD9361 IIO Stream.c code