Open dhunganaanish opened 2 years ago
@dhunganaanish make sure that you are passing the proper pyvisa instrument handle for your instrument when you run rm.open_resource('your_instrument_handle_here'). To get a list of all your connected lab instruments, use get_instrument_dict(). This creates a dictionary of the *IDN response and the pyvisa handle. If you have two Keysight 33600a function generator instruments connected at the same time, you would need two instances of the keysight_33600a modules (with the proper pyvisa handles).
File "C:\Users\aanis\anaconda3\lib\site-packages\pyvisa_py\protocols\usbtmc.py", line 202, in init raise ValueError( ValueError: 2 devices found: