Error: PyVISA is required for loading VISA instruments #367
-
Hi, I want to use your library to control and access a Yokogawa optical spectrum analyzer. However, when I try to open the device using open_visa (ik.yokogawa.Yokogawa6370.open_visa('TCPIP0:192.168.0.35')) I get following error:
PyVISA is installed and when I use pyvisa directly according to their example everything works fine and I could also start a sweep.
I found out that in the mentioned file instruments.py 'import visa' is made instead of 'import pyvisa'. Could this be a problem? What else could it be? I hope you can help me. Thank you! EDIT: I just recognized that the file instrument.py from the basic intrument class which I have on my copmuter is quite different comparedd to the code here. Shouldn't those be the same? How can this be? I have installed the latest version. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
pip install -U instrumentkit --pre
orpip install instrumentkit==1.0.0b1