AnsweredAssumed Answered

Any python / libiio Windows examples?

Question asked by rgetz Employee on Oct 21, 2016
Latest reply on Oct 24, 2016 by pcercuei

Someone from email asked:


I've decided to try sticking my toe, as it were, in the waters of writing Python to access and control the M2K. I'm probably going about this all wrong but there was little in the way of documentation or examples to go by on GitHub.


My assumption going in was that libiio is the means of accessing the board. I found a Windows installer .exe ( version 2015.2 dated Feb 22 ) and ran that.


Not sure what it installed or where but it did what it did.


I then copied the and into a working directory and opened the example program in the editor. Ran the program and it came back with an error saying it could not find libiio.dll file. The only libiio.dll file I know about is the one in the Scopy directory so I tried copying that into the working dir and ran the again and got an error saying that libiio.dll is not a valid Win32 application.


Is there any more detailed documentation on how to install libiio and run the example Python program in Windows?


Some more examples would be helpful too.