Hello community!
I am currently using a gpib-usb-hs to communicate with my Agilent 6611C via python but when I run the code I get the following error:
"pyvisa.errors.VisaIOError: VI_ERROR_INV_SETUP (-1073807302): Unable to start operation because setup is invalid (usually due to attributes being set to an inconsistent state)."
Code used:
import visa
rm = visa.ResourceManager()
dev = rm.open_resource('GPIB0::0::INSTR')
print(dev.query("*IDN?"))
Has anyone come across a similar issue and have been able to solve it?
Thank you in advance for the attention!