-
RE: SCPI Queries sometimes return previous command ?
Thanks , I'll try that -
RE: SCPI Queries sometimes return previous command ?
Is there some flush command that I can use via telnet or pyvisa to reset the output buffer?
If I issue *RST this clears the oscilloscope of al set up MATH views and channels and I am not sure this will work either to stop this behaviour.
-
RE: SCPI Queries sometimes return previous command ?
Connected to ..
Escape character is '^]'.
*IDN?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*IDN?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*ESR?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*ESR?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*ESR?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*ESR?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
*ESR?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
32
WFMO:NR_P?
0
WFMO:NR_P?
0
WFMO:NR_P?
0
WFMO:NR_P?
0
WFMO:NR_P?
2001
WFMO:NR_P?
2001
WFMO:NR_P?
2001
WFMO:NR_P?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
2001
*IDN?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
-
RE: SCPI Queries sometimes return previous command ?
I tried with telnet just now:
telnet <device ip> 5025
Connected to <device_ip>
Escape character is '^]'.
*IDN?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
WFMO:NR_P?
TEKTRONIX,MSO64B,C049439,CF:91.1CT FV:1.44.3.433
Why is the WFMO:NR_P? query showing he IDN !? -
SCPI Queries sometimes return previous command ?
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 issueWFMO: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
-
checking completion status of INSTRUMENT:MODE and OUTPUT[n]:STATE
Hello,
I'm automating the AWG5208 via scpi commands.
Is it possible to check the completion status of INSTRUMENT:MODE or OUTPUT[n]:STATE
?
Other than the query forms?
Thanks in advance