Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5634

Unable to communicate with equipment using GPIB-USB-HS

$
0
0

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!

Viewing all articles
Browse latest Browse all 5634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>