Replies: 2 comments 3 replies
|
I think you can just drop the The |
3 replies
|
Just a little update...the python solution was too tenuous so we eventually discovered that Rohde & Schwarz has a .NET nuget package. Overlooked this initially cuz I thought it was python only. Edit: (It also runs on Raspberry Pi, which was something we were hoping for) |
0 replies
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.
Hello,
I am using the code below to try to run a python script that connects to a VISA-interfaced voltmeter. The python script works fine in Python 3.7. But using ipy.exe or embedding it in a .net7 program, it is not working.
Here is the code:
And the python script (simplified):
The result is an ImportException:
IronPython.Runtime.Exceptions.ImportException: no module named pyvisa_pyI have installed pyvisa, pyusb, and pyvisa-py packages into the global scope using an admin powershell with ipy.exe:
If I run the script with ipy.exe, I get the same problem:
The contents of my site-packages:

I would be grateful for any guidance. Thank you!
All reactions