![KUST Elektronik PT5040 Operation Manual Download Page 74](http://html1.mh-extra.com/html/kust-elektronik/pt5040/pt5040_operation-manual_2012318074.webp)
?
subsystem commands
format.
PT5040 Operation Manual Chapter 8 SCPI Command reference
FETCh
The FETCh? subsystem commands are used to output waveform data, comparison results, output
voltage, frequency and time measurement result. Figure 8-12 shows the FETCh? subsystem
command tree.
FETCh
:Standard WAVE
?
:Test WAVE
?
:Comparison RESult
?
:VOLTage
?
:FREQuency
?
:TIME
?
:STATistic?
Figure 8-12 FETCh? subsystem command tree
The :Standard WAVE? query outputs the current standard waveform data.
Query syntax: FETCh:SWAVE
?
For example: WrtCmd( “FETC:SWAVE?” )
;
The :Test WAVE? Query outputs the latest tested waveform data.
Query syntax: FETCh:TWAVE
?
For example: WrtCmd( “TRIG:SOUR BUS” )
;
WrtCmd( “TRIG” )
;
WrtCmd( “FETC:TWAVE?” )
;
NOTE:
If the
waveform data is
not ready,
the FETCh SWAVE?
and FETCh TWAVE?
query will
be executed after the current measurement or next measurement is finished.
Refer to the previous section Data Format for the returned data
The Comparison RESult? query returns the latest comparison result.
Query syntax: FETCh:CRESult
?
Return format: There are three cases as follows:
1.
If the comparator function or four comparison methods is set to OFF, the query
response will be <NR1><NL^END>, here NR1 is 2.
2.
If there is no waveform data available, the return format will be <NR1><
NL^END>, here NR1 is 3.
3.
If the comparator function is set to on, the return format will be <NR1, NR3, NR3,
NR1, NR3><NL^END>, the first NR1 is the general comparison result: 1 (PASS)
8-25