I am developing driver for emtest autowave using GPIB commands for automation.
my code:
rm = visa.ResourceManager()
device=rm.open_resource("GPIB0::18::INSTR")
device.query("*IDN?")
I get error:
pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
I tried termination "\r" ,"\n", timeout 5 s.
"*IDN?" is working in NI MAX before run python script, after NI MAX has returned "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed."
Python 3.7.4 [MSC v.1916 32 bit (Intel)] on win32
PyVISA: 1.10.
Windows 7 64bit