3 Short-Range Comms & IoT Mode
3.12 Monitor Spectrum Measurement
State Saved The trace mode is an alias only
Backwards
Compatibility
SCPI
:TRACe[1]|2|…|6:MODE WRITe | MAXHold | MINHold | VIEW | BLANk
:TRACe[1]|2|…|6:MODE?
Backwards
Compatibility
Notes
The legacy :TRACe:MODE command is retained for backwards compatibility. In conjunction with the
legacy :AVErage command, it works as follows:
–
:AVErage ON|OFF sets/clears a variable that we will call average for the sake of this discussion.
This variable is maintained by the instrument solely for backwards compatibility. See the
[:SENSe]:AVERage[:STATe] command description below
–
:TRACe:MODE WRITe sets :TRACe:TYPE WRITe (Clear/Write) unless average is true, in
which case it sets it to :TRACe:TYPE AVErage. It also sets :TRACe:UPDate ON,
:TRACe:DISPlay ON, for the selected trace
–
:TRACe:MODE MAXHold sets :TRACe:TYPE MAXHold (Max Hold). It also sets
:TRACe:UPDate ON, :TRACe:DISPlay ON, for the selected trace
–
:TRACe:MODE MINHold sets :TRACe:TYPE MINHold (Min Hold). It also sets
:TRACe:UPDate ON, :TRACe:DISPlay ON, for the selected trace
–
:TRACe:MODE VIEW sets :TRACe:UPDate OFF, :TRACe:DISPlay ON, for the selected
trace
–
:TRACe:MODE BLANk sets :TRACe:UPDate OFF, :TRACe:DISPlay OFF, for the
selected trace
The query returns the same value as :TRACe:TYPE?, meaning that if you set :TRACe:MODE:VIEW
or :TRACe:MODE:BLANk, the query response will not be what you sent
:TRACe[n]:MODE was formerly used to set the type or “writing mode” of the trace. At that time, View
and Blank were writing modes. The new :TRACe:TYPE command should be used in the future, but
:TRACe:MODE is retained to provide backwards compatibility
In X-Series, unlike earlier instruments, Max Hold and Min Hold now obey the Average Number and
counts up to a terminal value as Average always has
As the Average/Hold Number now affects Min Hold and Max Hold, the operations that restart Averaging
(for example, the Restart key) now also restart Min Hold and Max Hold
As a result of these changes, legacy code that restarts averaging while retaining a running Max Hold
will need to be rewritten, because the Max Hold will now restart when the Average does
Also, previous to X-Series:
–
Pressing Max Hold while already in Max Hold (or doing so remotely) had no effect. Now it will clear
the trace and restart the sweep and the Max Hold sequence
–
Changing the vertical scale (Log/Lin or dB/div) of the display restarted Max Hold and Min Hold. This
is no longer the case
Preset
OFF
State Saved The state of Average is saved in Instrument State for ghosting purposes
Short Range Comms & IoT Mode User's &Programmer's Reference 1733