Chapter 17 Programming Examples
Command examples
344 9102 Handheld Spectrum Analyzer Software version 5.31
Measurements
Trace SENSe:TRACe:<x>:FETCh? <enum>
Reads the trace data in a definable format
<x> is the trace (A or B)
Valid entries for <enum>: ALL, MIN, MAX, FREQ, FMIN or FMAX.
Examples:
Long format:
SENSE:TRACE:A:FETCH? ALL All measured data requested
Short format:
SENS:TRAC:B:FETC? MAX Trace B (only MAX) requested
Format examples:
ALL: <min level>, <max level>, <freq>, <min level>, …
MAX: <max level>, <max level>, ….
MIN: <min level>, <min level>, ….
FREQ: <freq>, <freq>, ….
FMAX: <max level>, <freq>, <max level>, <freq>, <max
level>, ….
FMIN: <min level>, <freq>, <min level>, <freq>, <min
level>, ….
Sweep SENSe:SWEep:STATe <enum> Controls the sweep
Valid entries for <enum>: CONTinuous, SINGle or HOLD
Examples:
Long format:
SENSE:SWEEP:STATE SINGLE One sweep performed
Short format:
SENS:SWE:STAT CONT Repetitive sweeps started
NOTE
One trace contains 500 samples.