ST2883 Series Operation Manual Chapter 8 SCPI Command reference
8-20
8.4.10 FETCh
?
subsystem commands
The FETCh? subsystem commands are used to output waveform data, comparison results, output voltage,
frequency and time measurement result. Figure 8-11 shows the FETCh? subsystem command tree.
FETCh :Standard
WAVE
?
:Test WAVE
?
:Comparison RESult
?
:VOLTage
?
:FREQuency
?
:TIME
?
:STATistic?
Figure 8-11 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:
1.
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.
2.
Refer to the previous section Data Format for the returned data format.
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) or 0 (FAIL). The following four data are the comparison
results corresponding to each comparator: AREA SIZE, DIFF ZONE, CORONA and PHASE DIFF.
NOTE: ST2883 returns the comparison result when the comparator is turned on. ST2883 returns 9.9E37
when the AREA SIZE, DIFF ZONE or PHASE DIFF comparator is turned off. ST2883 returns 9999 when
the CORONA comparator is turned off.
The :VOLTage? query returns the current voltage value in the set voltage range. Refer to MEASure subsystem
commands for the voltage range settings.
Query syntax: FETCh:VOLTage
?
Return format: <NR1><NL^END>