Hi People!
I'm trying to:
import vxi11
instr = vxi11.Instrument("192.168.0.26")
print(instr.ask("*IDN?"))
...
instr.ask("DATA:LOG:STATe 1")
...
Which results in:
HAMEG,HMC8012...
...
Traceback (most recent call last):
File "multiple_measurements.py", line 14, in <module>
instr.ask("DATA:LOG:STATe 1")
File "build/bdist.linux-x86_64/egg/vxi11/vxi11.py", line 743, in ask
File "build/bdist.linux-x86_64/egg/vxi11/vxi11.py", line 731, in read
File "build/bdist.linux-x86_64/egg/vxi11/vxi11.py", line 701, in read_raw
vxi11.vxi11.Vxi11Exception: 15: IO timeout [read]
...
But nonetheless starts the logging alright - is there a way around handling the exception? Like configuring the IO timeout, or even better maybe not even wait for the read (like just sending, not waiting for something coming back)?
Best, Student