I'm using pyvisa to automate an MSO64b Oscilloscope.
I've encountered strange behaviour
e.g.
I issue *idn?
and print the idn
but later I issue
WFMO:NR_P?
and sometimes I see this
ValueError: invalid literal for int() with base 10: 'TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433'
which means the command returned the idn!
Is there some output flushing I need to do to ensure the query returns the correct values each time?
Thanks