Open JWMac888 opened 2 months ago
Ok - problem appears to have been the installation of "visa" - after uninstalling that particular module, the list_instruments() appears to work - I have the USB-GPIB-HS interface and list_instruments() returns an empty set
I have installed visa, pyvisa and pyvisa-py (both through pip), and can run those modules with e.g., SCPI commands to a Keithley 6487 (i.e., pyvisa.ResourceManager() works).
I then installed Instrumental-lib (through pip). However, using the code provided in the GitHub and readme pages, I get the following errors.
Your help is appreciated...
C:\Users\Colin>python Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "C:\Users\Colin\AppData\Local\Programs\Python\Python37\lib\site-packages\instrumental\drivers__init__.py", line 678, in list_instruments
except visa.VisaIOError:
AttributeError: module 'visa' has no attribute 'VisaIOError'