/

Rigol

/

Rigol RSA5065

SCPI COMMAND REFERENCE

Rigol RSA5065

Rigol RSA5065

The Rigol RSA5065 is Rigol's spectrum analyzer in the RSA5000 Series family. Its SCPI remote-control interface exposes 300 commands across 23 subsystems - 236 settable and 64 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.

300

Commands

236

Settable

64

Queries

23

Subsystems

SCPI

Verified

2026-07-16

All commands

:ABORtset / query

Aborts the current operation and restarts the sweep.

Sets or queries the N value used in N dB bandwidth measurement.

NameTypeValuesDescription
rel_amplreal-140 dB - -0.01 dBRelative amplitude threshold for the N dB bandwidth measurement.
real - Returns the N value in scientific notation.
:CALCulate:BANDwidth:NDB -4
:CALCulate:BWIDth:NDB -4
:CALCulate:BANDwidth:NDB?
:CALCulate:BWIDth:NDB?

Queries the measurement results of the N dB band, with the result reported in Hz. If the two points on either side of the current marker at N dB are not found, the query returns -1.000000000e+02.

real (Hz) - Returns the bandwidth value in scientific notation, with Hz as the unit. If the two points on either side of the current marker at N dB are not found, returns -1.000000000e+02.

Queries the frequency value of the frequency point located at the left side of the current marker at N dB fall or rise in its peak amplitude.

real (Hz) - Returns the frequency value in scientific notation, with Hz as the unit. If the frequency point on the left side is not found, the query returns -1.000000000e+02.
:CALCulate:BANDwidth|BWIDth:RLEFt?

Queries the frequency value of the frequency point that is located at the right side of the current marker with N dB fall or rise in its peak amplitude. If the point is not found, the query returns -1.000000000e+02.

real (Hz) - The frequency value in scientific notation, with Hz as the unit; returns -1.000000000e+02 if the point is not found.

Enables or disables the limit line test function. Queries the status of the limit line test function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the limit line test function.
enum - The query returns 0 or 1.
:CALCulate:LLINe:TEST OFF or :CALCulate:LLINe:TEST 0
:CALCulate:LLINe:TEST?

Enables or disables the coupling functions between the selected limit line data points and the reference level. Queries the status of the coupling functions between the selected limit line data points and the reference level.

NameTypeValuesDescription
ninteger1 - 6Selects the limit line data point index.
stateenumOFF | ON | 0 | 1Enables or disables the coupling function.
integer - Returns 0 or 1 indicating the status of the coupling function.
:CALCulate:LLINe<n>:AMPLitude:CMODe:RELative OFF|ON|0|1
:CALCulate:LLINe<n>:AMPLitude:CMODe:RELative?

Builds the limit line from the selected trace.

NameTypeValuesDescription
traceenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Selects which trace is used to build the limit line.
:CALCulate:LLINe2:BUILd TRACE2

Copies the selected limit line to the current limit line.

NameTypeValuesDescription
limit lineenumLLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6Selects the limit line to copy from.
:CALCulate:LLINe2:COPY LLINE1

Edits one limit line and marks it with n. The query form returns the limit line data that is currently being edited.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6Limit line number.
xreal0 Hz - 6.5 GHzX-axis value; frequency when the X-axis indicates frequency.
xreal0 μs - 6.5 ksX-axis value; time when the X-axis indicates time.
amplreal-1,000 dBm - 1,000 dBmAmplitude value.
connectdiscrete0 | 1Whether the current point connects with the previous point.
string - Returns the limit line data currently being edited.
:CALCulate:LLINe2:DATA 50,100,0,100,150,1,200,200,1
:CALCulate:LLINe2:DATA?

Deletes the selected limit line.

NameTypeValuesDescription
ninteger1 - 6Selects which limit line to delete.
:CALCulate:LLINe2:DELete

Turns on or off the selected limit line. Queries the status of the selected limit line.

NameTypeValuesDescription
ndiscrete1 - 6Selects the limit line number.
statebooleanOFF | ON | 0 | 1Turns the selected limit line display off or on.
integer - The query returns 0 or 1.
:CALCulate:LLINe2:DISPlay ON or :CALCulate:LLINe2:DISPlay 1
:CALCulate:LLINe2:DISPlay?

Queries whether the selected limit line and its associated trace pass the test. The query returns 0 for pass or 1 for fail.

NameTypeValuesDescription
ninteger1 - 6Selects limit line 1 through 6.
integer - 0 means pass; 1 means fail.

Enables or disables the coupling functions between the selected limit line data points and the center.

NameTypeValuesDescription
<n>integer1 - 6Selected limit line number.
stateenumOFF | ON | 0 | 1Turns the coupling functions off or on.
:CALCulate:LLINe2:FREQuency:CMODe:RELative ON
:CALCulate:LLINe2:FREQuency:CMODe:RELative?

Sets the margin for the selected limit line. Queries the margin for the selected limit line.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6
rel_amplreal-40 - 0Margin relative amplitude for the selected limit line.
real - The query returns the margin for the limit line in scientific notation.
:CALCulate:LLINe2:MARGin 1 dB
:CALCulate:LLINe2:MARGin?

Enables or disables the margin for the selected limit line. Queries the status of the margin for the selected limit line.

NameTypeValuesDescription
ndiscrete1 - 6Selects the limit line number.
stateenumOFF | ON | 0 | 1Turns the margin off or on.
:CALCulate:LLINe2:MARGin:STATe ON or :CALCulate:LLINe2:MARGin:STATe 1
:CALCulate:LLINe2:MARGin:STATe?

Sets the trace to be tested against the current limit line. Queries which trace is being tested against the current limit line.

NameTypeValuesDescription
<n>integer1 - 6Selects the limit line number.
traceinteger1 - 6Specifies the trace to be tested against the current limit line.
integer - The query returns the trace number being tested against the current limit line.
:CALCulate:LLINe3:TRACe 2
:CALCulate:LLINe3:TRACe?

Sets the type of the specified limit line. Queries the type of the specified limit line.

NameTypeValuesDescription
ndiscrete1 - 6
typeenumUPPer | LOWer
enum - The query returns UPP or LOW.
:CALCulate:LLINe2:TYPE UPPer
:CALCulate:LLINe2:TYPE?

Enables or disables the couple marker function. Queries the state of the couple marker function.

NameTypeValuesDescription
stateoptbooleanOFF | ON | 0 | 1Enables or disables the couple marker function.
enum - Returns the state of the couple marker function.

Sets the peak search mode. Queries the peak search mode.

NameTypeValuesDescription
modeenumPARameter | MAXimumSelects whether peak search uses the specified parameter or the maximum value on the trace.
enum - Returns the current peak search mode as PAR or MAX.
:CALCulate:MARKer:PEAK:SEARch:MODE PARameter
:CALCulate:MARKer:PEAK:SEARch:MODE?

Sets the peak sort criterion. The query reads back the current peak sort setting.

NameTypeValuesDescription
sortenumFREQuency | AMPLitudePeak sort criterion.
enum - Returns the current peak sort setting.
The following command sets the peak sort criterion to frequency. :CALCulate:MARKer:PEAK:SORT FREQuency
The following query returns FREQuency. :CALCulate:MARKer:PEAK:SORT?

Sets the amplitude of the peak. Its unit is dB. Queries the peak amplitude.

NameTypeValuesDescription
rel_amplreal0 dB - 100 dBPeak amplitude setting in dB.
real - The query returns the peak amplitude in scientific notation.
:CALCulate:MARKer:PEAK:EXCursion 12
:CALCulate:MARKer:PEAK:EXCursion?

Turns peak excursion state on or off. The command accepts the discrete values OFF, ON, 0, and 1.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Sets the peak excursion state.
enum - Returns the peak excursion state.

Sets the peak criteria that the displayed peak must meet. Queries the peak criteria that the displayed peak must meet.

NameTypeValuesDescription
modeenumALL | GTDLine | LTDLinePeak criteria used by the peak table readout.
enum - Returns the current peak criteria.
:CALCulate:MARKer:PEAK:TABLe:READout GTDLine
:CALCulate:MARKer:PEAK:TABLe:READout?

Enables or disables the peak table. Queries the status of the peak table.

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Enables or disables the peak table.
enum - The query returns 0 or 1.
CALCulate:MARKer:PEAK:TABLe:STATe ON or :CALCulate:MARKer:PEAK:TABLe:STATe 1
The following query returns 1.
CALCulate:MARKer:PEAK:TABLe:STATe?

Sets the peak threshold, with default unit dBm. Queries the peak threshold.

NameTypeValuesDescription
amplreal-200 dBm - 0 dBmPeak threshold value.
real - The query returns the peak threshold in scientific notation.
:CALCulate:MARKer:PEAK:THReshold -100
:CALCulate:MARKer:PEAK:THReshold?

Enables or disables the peak threshold function. Queries the status of the peak threshold function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the peak threshold function.
:CALCulate:MARKer:PEAK:THReshold:STATe ON or :CALCulate:MARKer:PEAK:THReshold:STATe 1
:CALCulate:MARKer:PEAK:THReshold:STATe?

Enables or disables the marker table. Queries the status of the marker table.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Selects whether the marker table is enabled or disabled.
The following command disables the marker table. :CALCulate:MARKer:TABLe:STATe OFF or :CALCulate:MARKer:TABLe:STATe 0 The following query returns 0. :CALCulate:MARKer:TABLe:STATe?

Enables or disables signal track. Queries the status of the signal track.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables signal track.
enum - The query returns 0 or 1.
:CALCulate:MARKer:TRCKing:STATe ON or :CALCulate:MARKer:TRCKing:STATe 1
:CALCulate:MARKer:TRCKing:STATe?

Enables or disables continuous peak search function, and marks the peak value with n. Queries the status of the continuous peak search function.

NameTypeValuesDescription
ndiscrete1 - 8Marker number used to select which marker is affected.
stateoptenumOFF | ON | 0 | 1Enables or disables continuous peak search.
enum - The query returns 0 or 1.
:CALCulate:MARKer1:CPSeatch:STATe ON or :CALCulate:MARKer1:CPSeatch:STATe 1
:CALCulate:MARKer1:CPSeatch:STATe?

Sets the gate time for Marker n. The unit is s. Queries the gate time for Marker n.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
timereal1 μs - 500 msGate time for Marker n.
real - The query returns the gate time for Marker n in scientific notation.
:CALCulate:MARKer2:FCOunt:GATetime 0.01
:CALCulate:MARKer2:FCOunt:GATetime?

Turns on or off the auto gate time for Marker n. Queries the status of the auto gate time for Marker n.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Marker number to control.
stateenumOFF | ON | 0 | 1Enables or disables auto gate time.
:CALCulate:MARKer2:FCOunt:GATetime:AUTO ON or :CALCulate:MARKer2:FCOunt:GATetime:AUTO 1
:CALCulate:MARKer2:FCOunt:GATetime:AUTO?

Enables or disables the frequency counter function of the specified marker. Queries the status of the frequency counter function of the specified marker.

NameTypeValuesDescription
ninteger1 - 8Marker number.
stateoptbooleanOFF | ON | 0 | 1Enables or disables the frequency counter function.
:CALCulate:MARKer2:FCOunt:STATe ON or :CALCulate:MARKer2:FCOunt:STATe 1
:CALCulate:MARKer2:FCOunt:STATe?

Queries the readout of the frequency counter of the specified marker. This command is only available for GPSA mode.

NameTypeValuesDescription
ninteger1 - 8Marker number.
integer (Hz) - The query returns the readout in integer. When the frequency counter function is disabled, the command returns NAN.
:CALCulate:MARKer2:FCOunt:X?

Selects the special measurement type for the specified marker. The query returns the current special measurement type of the specified marker.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
modeenumNOISe | BPOWer | BDENsity | OFFSpecial measurement type to select for the marker.
enum - Returns the special measurement type of the specified marker.
:CALCulate:MARKer1:FUNCtion NOISe
:CALCulate:MARKer1:FUNCtion?

Sets the left edge frequency of the signal involved in the calculation for the band function. Queries the left edge frequency of the signal involved in the calculation for the band function.

NameTypeValuesDescription
<n>discrete1 - 8
freqreal0 Hz - 3.4125 GHzLeft edge frequency of the signal involved in the calculation for the band function.
real - The left edge frequency of the signal in scientific notation.
:CALCulate:MARKer1:FUNCtion:BAND:LEFT <freq>
:CALCulate:MARKer1:FUNCtion:BAND:LEFT?

Sets the right edge frequency of the signal involved in the calculation for the band function. Queries the right edge frequency of the signal involved in the calculation for the band function.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
freqreal3.4125 GHz - 6.5 GHzRight edge frequency.
real - The query returns the right edge frequency of the signal in scientific notation.
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt 4000000000
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt?

Sets the bandwidth of the signal involved in the calculation for the band function. Queries the bandwidth of the signal involved in the calculation for the band function.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
freqreal0 Hz - 6.5 GHzBandwidth frequency value.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN 4000000000
:CALCulate:MARKer1:FUNCtion:BAND:SPAN?

Enables or disables the band span auto function. Queries the status of band span auto function.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
stateenumOFF | ON | 0 | 1Turns band span auto off or on.
enum - Returns the status of band span auto function as 1 or 0.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO ON
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO 1
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO?

Enables or disables the marker line of the specified marker. Queries the status for the marker line of the specified marker.

NameTypeValuesDescription
ninteger1 - 8Marker index.
stateoptenumOFF | ON | 0 | 1Turns the marker line off or on.
enum - Returns the status of the marker line for the specified marker.

Searches for and marks the nearest peak which is located at the left side of the current peak and meets the peak search condition.

NameTypeValuesDescription
ndiscrete1 - 8
:CALCulate:MARKer2:MAXimum:LEFT

Performs one peak search based on the search mode set by the :CALCulate:MARKer:PEAK:SEARch:MODE command and marks it with the specified marker.

NameTypeValuesDescription
ninteger1 - 8Marker number to use.
:CALCulate:MARKer2:MAXimum:LEFT

Searches for and marks the peak whose amplitude on the trace is next to that of the current peak and meets the peak search condition.

NameTypeValuesDescription
<n>discrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Marker number.
:CALCulate:MARKer2:MAXimum:NEXT

Searches for and marks the nearest peak located to the right of the current peak, subject to the peak search condition.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to use.

Searches for and marks the peak with the minimum amplitude on the trace.

NameTypeValuesDescription
ndiscrete1 - 8Specifies the marker number.
:CALCulate:MARKer2:MINimum

Sets the type of the specified marker, or queries the current marker type.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
modeenumPOSition | DELTa | FIXed | OFFMarker type to set.
enum - The query returns the marker type as POS, DELT, FIX, or OFF.
:CALCulate:MARKer1:MODE POSition
:CALCulate:MARKer1:MODE?

Performs the peak-peak search and marks it with a specified marker.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to use for the peak-peak search.
:CALCulate:MARKer1:PTPeak

Sets or queries the reference marker for the specified marker. Each marker can have another marker as its reference marker, but a marker cannot reference itself.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
integerinteger1 - 8Specifies the reference marker number.

Sets the frequency of the specified marker to the center frequency of the analyzer.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Marker number to set.
:CALCulate:MARKer1:SET:CENTer

Sets the frequency difference of the specified Delta marker to the center frequency of the analyzer.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
:CALCulate:MARKer1:SET:DELTa:CENTer

Sets the frequency difference of the specified Delta marker to the span of the analyzer.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to apply the command to.

Sets the amplitude of the specified marker to the reference level of the analyzer.

NameTypeValuesDescription
ndiscrete1 - 8Specifies the marker number.
:CALCulate:MARKer2:SET:RLEVel

Sets the frequency of the specified marker to the start frequency of the analyzer.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.

Sets the frequency of the specified marker to the center frequency step of the analyzer.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
:CALCulate:MARKer4:SET:STEP

Sets the frequency of the specified marker to the stop frequency of the analyzer.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to set.
:CALCulate:MARKer2:SET:STOP

Enables or disables the specified marker. Queries the status for the specified marker.

NameTypeValuesDescription
ninteger1 - 8Marker number.
stateenumOFF | ON | 0 | 1Enables or disables the marker.
enum - Returns 0 or 1.
:CALCulate:MARKer1:STATe ON or :CALCulate:MARKer1:STATe 1
:CALCulate:MARKer1:STATe?

Sets or queries the marker trace for the specified marker. In Swept SA and RTSA modes the marker trace can be Trace 1 to Trace 6; in ACP measurement mode it can be Trace 1 to Trace 3.

NameTypeValuesDescription
ninteger1 - 8Marker number.
integerinteger1 - 3Marker trace number in ACP measurement mode.
integer - Returns the marker trace number for the specified marker.
:CALCulate:ACP:MARKer<n>:TRACe <integer>
:CALCulate:ACP:MARKer<n>:TRACe?
:CALCulate:MARKer<n>:TRACe <integer>
:CALCulate:MARKer<n>:TRACe?

Sets or queries the trace associated with the specified marker.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to target.
integerdiscrete1 - 3Trace number for the marker trace setting.
:CALCulate:MARKer1:TRACe 1
:CALCulate:MARKer1:TRACe?

Enables or disables the auto trace marking of the specified marker. Queries the status of the auto trace marking of the specified marker.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
statebooleanOFF | ON | 0 | 1Enables or disables auto trace marking.
:CALCulate:MARKer1:TRACe:AUTO ON or :CALCulate:MARKer1:TRACe:AUTO 1
:CALCulate:MARKer1:TRACe:AUTO?

Sets the marker trace of the specified marker to Auto.

NameTypeValuesDescription
ninteger1 - 8Marker number.
:CALCulate:MARKer1:TRACe 2
:CALCulate:MARKer1:TRACe?

Sets the X-axis value of the specified marker, with default unit Hz. Queries the X-axis value of the specified marker.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
paramreal-Consecutive real number within the available range of the current X axis.
real - Returns the X-axis value of the marker in scientific notation.
:CALCulate:MARKer1:X 150000000
:CALCulate:MARKer1:X?

Sets or queries the readout mode of the X axis of the specified marker. The readout mode keywords are frequency, time, instantaneous time, and period.

NameTypeValuesDescription
ninteger1 - 8Marker number.
modeenumFREQuency | TIME | ITIMe | PERiodReadout mode of the X axis.

Enables or disables the auto readout mode of the specified marker. When enabled, if the marker trace changes, the readout mode is re-determined based on the destination trace.

NameTypeValuesDescription
ninteger1 - 8Marker number.
statebooleanOFF | ON | 0 | 1Turns auto readout mode off or on.
integer - Returns 0 or 1 indicating the auto readout mode state.
:CALCulate:MARKer1:X:READout:AUTO ON
:CALCulate:MARKer1:X:READout:AUTO 1
:CALCulate:MARKer1:X:READout:AUTO?

Queries the Y-axis value of the specified marker, with a default unit of dBm. If the marker mode is Position or Fixed, it returns the marker Y value; if Delta, it returns the Y-axis difference between the reference and Delta markers.

string - Returns the Y-axis value in scientific notation.
:CALCulate:MARKer1:Y?
:CALCulate:MATHset / query

Sets mathematical operations between traces and, in some cases, user-defined offsets. Queries the math operation function of the specified trace.

NameTypeValuesDescription
trace_destinationenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6
function_mathenumPDIFference | PSUM | LOFFset | LMOFFset | LDIFference | OFF
trace1_operationenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6
trace2_operationenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6
rel_offsetreal-100 - 100
rel_referencereal-170 - 30
enum - Returns the math operation function of the specified trace. The query form accepts TRACE1 through TRACE6.

Enables or disables the normalize function. The query reports the current normalization status.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables normalization.
integer - Returns 0 or 1 indicating the normalization status.
:CALCulate:NTData:STATe ON or :CALCulate:NTData:STATe 1
:CALCulate:NTData:STATe?

Enables or disables auto calibration. The query reports the current auto-calibration setting.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Sets auto calibration state.

:CONFigureset / query

Queries the current measurement function.

enum - Returns the current measurement function as one of the listed short forms.
:CONFigure:HDIStset / query

Sets the analyzer to be in the harmonic distortion measurement state. This command is only available for GPSA mode and restores the specified measurement to the default factory state.

Sets the analyzer to be in the Normal measurement state. This command is only available for RTSA mode and restores the specified measurement to the default factory state.

Sets the analyzer to be in the OBW measurement state. This command is only available for GPSA mode and restores the instrument to the default factory state.

Sets the analyzer to be in the PvT Spectrogram measurement state.

:CONFigure:PVTset / query

Sets the analyzer to be in the PvT measurement state. This command is only available for RTSA mode and discontinuing the current measurement restores the specified measurement to the default factory state.

Available only in GPSA mode. Disables the currently activated measurement function and sets the analyzer to swept SA mode.

:CONFigure:TOIset / query

Sets the analyzer to be in the TOI measurement state.

Sets the analyzer to be in the time-domain power measurement state.

:COUPleset / query

Sets all the manual/auto settings in the current measurement mode to Auto.

NameTypeValuesDescription
modeenumALLSelects all manual/auto settings.
:COUPle ALL

Sets the brightness of the LCD backlight. The query returns the current backlight brightness as an integer.

NameTypeValuesDescription
integerinteger1 - 100Backlight brightness setting.
integer - Returns the brightness of the LCD backlight.
:DISPlay:BACKlight 50
:DISPlay:BACKlight?
:DISPlay:ENABleset / query

Turns on or off the LCD.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Controls whether the LCD is enabled or disabled.
:DISPlay:ENABle ON or :DISPlay:ENABle 1
:DISPlay:ENABle?

Enables or disables the display of the graticule. Queries the display of the graticule.

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Enables or disables the graticule display.
integer - Returns the graticule display state as 0 or 1.
:DISPlay:GRATicule:STATe ON or :DISPlay:GRATicule:STATe 1
:DISPlay:GRATicule:STATe?

Enables or disables HDMI. Queries the status of HDMI.

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Enables or disables HDMI.
integer - The query returns 0 or 1.
:DISPlay:HDMI:STATe ON or :DISPlay:HDMI:STATe 1
The following query returns 1.
:DISPlay:HDMI:STATe?

Enables or disables the auto scale function for the horizontal axis in the PvT view. The query returns the status of the auto scale function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables auto scale for the horizontal axis in the PvT view.
enum - The query returns 1 or 0.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:COUPle ON
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:COUPle 1
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:COUPle?

Sets the unit per division in the horizontal axis of the PvT view. Queries the unit per division in the horizontal axis of the PvT view.

NameTypeValuesDescription
timereal20 μs - 4 sConsecutive real number specifying the horizontal axis scale per division.
real - The X-axis scale value in scientific notation.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:PDIVision 0.00004
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:PDIVision?

Sets the reference time for the horizontal axis in the PvT view. Queries the reference time for the horizontal axis in the PvT view.

NameTypeValuesDescription
realreal-1 s - 40 sConsecutive real number specifying the reference time.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RLEVel 2
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RLEVel?

Sets the position of the reference time in the horizontal axis of the PvT view. Queries the position of the reference time in the horizontal axis of the PvT view.

NameTypeValuesDescription
--enumLEFT | CENTer | RIGHtPosition of the reference time in the horizontal axis of the PvT view.
enum - The query returns LEFT, CENT, or RIGH.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition LEFT
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition?

Sets the unit per division in the vertical axis of the PvT view. Queries the Y-axis scale value in scientific notation.

NameTypeValuesDescription
rel_amplreal0.1 - 20Unit per division in the vertical axis of the PvT view.
real - The query returns the Y-axis scale value in scientific notation.
:DISPlay:PVTime:WINDow:TRACe:Y:SCALe:PDIVision 15
:DISPlay:PVTime:WINDow:TRACe:Y:SCALe:PDIVision?

Sets the highest density hue to the highest density value found in the current bitmap, and the lowest density hue to the lowest non-zero density value found in the current bitmap.

Sets or queries the curve nonlinearity. Increasing the value compresses colors toward the higher end of the color bar, while decreasing it compresses colors toward the lower end.

NameTypeValuesDescription
realreal-100 - 100Consecutive real number specifying the curve nonlinearity.
real - Returns the curve nonlinearity value in scientific notation.
:DISPlay:VIEW:DENSity:CNONlinear 50
:DISPlay:VIEW:DENSity:CNONlinear?

Sets the color palette of Density. Queries the color palette of Density.

NameTypeValuesDescription
paletteenumCOOL | WARM | RADar | FIRE | FROStColor palette for Density.
enum - The query returns COOL, WARM, RAD, FIRE, or FROS.
:DISPlay:VIEW:DENSity:CPALettes COOL
:DISPlay:VIEW:DENSity:CPALettes?

Sets the highest density hue. Queries the highest density hue.

NameTypeValuesDescription
realreal0.1 - 100Consecutive real number for the highest density hue.
real - The query returns the highest density hue in scientific notation.
:DISPlay:VIEW:DENSity:HDHue 60
:DISPlay:VIEW:DENSity:HDHue?

Sets the lowest density hue. Queries the lowest density hue.

NameTypeValuesDescription
realreal0 - 99.9Consecutive real number specifying the lowest density hue.
real - The lowest density hue in scientific notation.
:DISPlay:VIEW:DENSity:LDHue 30
:DISPlay:VIEW:DENSity:LDHue?

Sets the persistence time. Queries the persistence time.

NameTypeValuesDescription
timereal0 - 10Persistence time for Density display.
real - The query returns the persistence time in scientific notation.
The following command sets the persistence time to 5 s. :DISPlay:VIEW:DENSity:PERSistence 5
The following query returns 5.000000e+00. :DISPlay:VIEW:DENSity:PERSistence?

Enables or disables the infinite mode of the persistence time. Queries the status of the infinite mode of the persistence time.

NameTypeValuesDescription
statebooleanOFF | ON | 0 | 1Enables or disables the infinite mode of the persistence time.
enum - Returns the status of the infinite mode of the persistence time as 0 or 1.
The following command enables the infinite mode of the persistence time.
:DISPlay:VIEW:DENSity:PERSistence:INFinite ON or :DISPlay:VIEW:DENSity:PERSistence:INFinite 1
The following query returns 1.
:DISPlay:VIEW:DENSity:PERSistence:INFinite?

Sets the current display view and queries the current display view.

NameTypeValuesDescription
viewenumNORMal | SPECtrogram | DENSity | DSPectrogram | PVT | PVTSpectrum | PSPectrogramCurrent display view to select.
enum - Returns the current display view as a short keyword.
:DISPlay:VIEW[:SELect] NORMal|SPECtrogram|DENSity|DSPectrogram|PVT|PVTSpectrum|PSPectrogram
:DISPlay:VIEW[:SELect]?

Auto adjusts the reference hue position and bottom hue position based on the highest and lowest amplitude values found in the spectrogram, respectively. This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.

Sets the bottom hue position displayed in the graticule, or queries the current bottom hue position. Any amplitudes lower than the bottom hue position are displayed as black.

NameTypeValuesDescription
integerinteger0 - min (90%, with the reference position value -10%)Bottom hue position displayed in the graticule.
integer - The bottom hue position displayed in the graticule.
:DISPlay:VIEW:SPECtrogram:BOTTom 40
:DISPlay:VIEW:SPECtrogram:BOTTom?

Sets the reference hue. Queries the reference hue.

NameTypeValuesDescription
realreal0 - 359.9Consecutive real number reference hue value.
real - The query returns the reference hue value in scientific notation.
:DISPlay:VIEW:SPECtrogram:HUE 120
:DISPlay:VIEW:SPECtrogram:HUE?

Sets the trace to be displayed in the spectrogram. Queries the trace to be displayed in the spectrogram.

NameTypeValuesDescription
integerinteger1 - 8,192Displayed trace number.
integer - The displayed trace number.
:DISPlay:VIEW:SPECtrogram:POSition 146

Sets the position of the reference hue displayed in the graticule. The query returns the reference hue position in integer form.

NameTypeValuesDescription
integerintegerMax (10%, bottom hue value +10%) - 100Reference hue position displayed in the graticule.
integer - Queries the reference hue position displayed in the graticule in integer.
:DISPlay:VIEW:SPECtrogram:REFerence 60
:DISPlay:VIEW:SPECtrogram:REFerence?

Enables or disables coupling the marker to the trace. The query reports whether the marker is coupled to the trace.

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Enables or disables coupling the marker to the trace.
enum - Returns whether the marker is coupled to the trace as 0 or 1.

Sets the selection method for the displayed trace. Queries the selection method for the displayed trace.

NameTypeValuesDescription
modeenumTIME | TNUMberSelection method for the displayed trace.
enum - Returns the current selection method for the displayed trace.
::DISPlay:VIEW:SPECtrogram:TRACe:SELection TIME
::DISPlay:VIEW:SPECtrogram:TRACe:SELection?

Selects a window in the current view. Queries the currently selected window type.

NameTypeValuesDescription
windowenumSPECtrum | PVTWindow type to select.
enum - The query returns the currently selected window type.

Sets the position of the display line. Its default unit is dBm. Queries the position of the display line.

NameTypeValuesDescription
ndiscrete1 - 3
amplrealCurrent amplitude rangePosition of the display line.
real - Returns the position of the display line in scientific notation.
:DISPlay:WINDow1:TRACe:Y:DLINe -10
:DISPlay:WINDow1:TRACe:Y:DLINe?

Turns on or off the display line. Queries the status of the display line.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Display line state.
enum - Returns the status of the display line.
Example The following command sets the position of the display line to -10 dBm. :DISPlay:WINDow1:TRACe:Y:DLINe -10 The following query returns -1.000000e+01. :DISPlay:WINDow1:TRACe:Y:DLINe?

Sets the reference level of normalization. Queries the reference level of normalization.

NameTypeValuesDescription
ninteger1 - 3
rel_amplreal-200 dB - 200 dBReference level of normalization.
real - Returns the reference level of normalization in scientific notation.
:DISPlay:WINDow1:TRACe:Y:SCALe:NRLevel -20
:DISPlay:WINDow1:TRACe:Y:SCALe:NRLevel?

Sets the reference position of normalization. Queries the reference position of normalization.

NameTypeValuesDescription
ndiscrete1 - 3
integerinteger-Reference position of normalization.

Sets the Y-axis scale type. Queries the Y-axis scale type.

NameTypeValuesDescription
ndiscrete1 | 2 | 3
rel_amplreal0.1 - 20Consecutive real number specifying the Y-axis scale value.
real - The query returns the Y-axis scale value in scientific notation.
:DISPlay:WINDow1:TRACe:Y:SCALe:PDIVision 15
:DISPlay:WINDow1:TRACe:Y:SCALe:PDIVision?

Sets the reference level offset. Queries the reference level offset.

NameTypeValuesDescription
ndiscrete1 - 3
rel_amplreal-300 - 300
real - The query returns the offset of the reference level in scientific notation.
:DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel:OFFSet 10
:DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel:OFFSet?

Sets the Y-axis scale type and queries the current Y-axis scale type.

NameTypeValuesDescription
ndiscrete1 - 3Window number.
modeenumLINear | LOGarithmicY-axis scale type.
enum - The query returns the Y-axis scale type as LIN or LOG.
:DISPlay:WINDow1:TRACe:Y:SCALe:SPACing LOGarithmic
:DISPlay:WINDow1:TRACe:Y:SCALe:SPACing?

Queries the results of adjacent channel power measurement. It selects data from the latest measurement results and sends it to the output buffer.

numeric - Returns five values in scientific notation: main channel power, upper channel power, the power difference between the upper channel and the main channel (dBc), lower channel power, and the power difference between the lower channel and the main channel (dBc).
:FETCh:ACPower?
-5.150423000e+01,-5.173441000e+01,-2.301865000e-01,-5.142665000e+01,7.757568000e-02.
:FETCh:ACPower?

Queries the lower channel power of the adjacent channel power measurement. The result is taken from the latest measurement and placed in the output buffer.

real - Returns the lower channel power in scientific notation.
:FETCh:ACPower:LOWer?

Queries the main channel power of the adjacent channel power measurement. It selects data from the latest measurement results and transmits it to the output buffer.

real - Returns the main channel power in scientific notation.
:FETCh:ACPower:MAIN?

Queries the upper channel power of the adjacent channel power measurement.

real - Returns the upper channel power in scientific notation, with a power unit consistent with the current Y-axis unit.
:FETCh:ACPower:UPPer?
The following query returns -5.173441000e+01.

Queries the results of C/N ratio measurement. It selects data from the latest measurement results and transmits the carrier power, noise power, and C/N ratio to the output buffer.

string - Returns the carrier power, noise power, and C/N ratio (in dB) in scientific notation, separated by commas.
:FETCh:CNRatio?

Queries the carrier power. It is only valid when the C/N ratio measurement is enabled and returns data from the latest measurement results.

real - Returns the carrier power in scientific notation; the power unit is consistent with the current Y-axis unit.
:FETCh:CNRatio:CARRier?

Queries the results of C/N ratio measurement. It selects the latest measurement results and transmits them to the output buffer.

numeric (dB) - Returns the carrier power, noise power, and C/N ratio in scientific notation, separated by commas.
:FETCh:CNRatio?

Queries the noise power from the latest C/N ratio measurement results. This command is only valid when the C/N ratio measurement is enabled, and the returned power uses the current Y-axis unit.

real - The noise power in scientific notation.
:FETCh:CNRatio:NOISe?

Queries the result of the emission bandwidth measurement. It selects data from the latest measurement results and transmits the data to the output buffer.

integer (Hz) - The emission bandwidth in integer format.

Queries the amplitudes of the first 10 harmonics. The first harmonic is the fundamental waveform.

real (consistent with the current Y-axis unit) - Returns the amplitudes of the first 10 harmonics in scientific notation, separated by commas. If fewer than 10 harmonics are measured, unmeasured harmonics have no return values.
:FETCh:HARMonics:AMPLitude:ALL?

Queries the percentage of the total harmonic distortion. It selects data from the latest measurement results and transmits it to the output buffer.

real (%) - Returns the percentage of the total harmonic distortion in scientific notation.
:FETCh:HARMonics:DISTortion?

Queries the frequencies of the first 10 harmonics. The first harmonic is the fundamental waveform.

real (Hz) - Returns the frequencies of the first 10 harmonics in scientific notation, separated by commas; if fewer than 10 harmonics are measured, the unmeasured harmonics have no return values.
:FETCh:HARMonics:FREQuency:ALL?

Queries the frequency of the fundamental waveform. It has the same function as :FETCh:HARMonics:FREQuency? 1 and returns data from the latest measurement results.

real (Hz) - Returns the frequency of the fundamental waveform in scientific notation.
:FETCh:HARMonics:FUNDamental?

Queries the results of the occupied bandwidth measurement. It selects data from the latest measurement results and transmits them to the output buffer.

numeric (Hz) - Returns the occupied bandwidth (Hz) and the transmit frequency error (Hz) in scientific notation, separated by commas.
::FETCh:OBWidth?

Queries the occupied bandwidth. It is only valid when occupied bandwidth measurement is enabled, and it returns the latest measurement result to the output buffer.

real (Hz) - Returns the occupied bandwidth in scientific notation, in Hz.

Queries the transmit frequency error. This command is only valid when the occupied bandwidth measurement is enabled, and it returns data from the latest measurement results to the output buffer.

real (Hz) - Returns the transmit frequency error in scientific notation.
":FETCh:OBWidth:OBWidth:FERRor?"

Queries the measurement results or trace data in the cache area. The query returns the measurement data of Trace n in scientific notation as x,y pairs separated by commas, with units of Hz.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6Trace number to query.
string (Hz) - Measurement data of Trace n returned as x,y pairs in scientific notation, separated by commas.
:FETCh:SANalyzer1?

Queries the results of TOI measurement. The command is only valid when TOI measurement is enabled and returns data from the latest measurement results to the output buffer.

numeric - Returns the TOI measurement results in the order: Base Lower frequency (Hz), amplitude, Base Upper frequency (Hz), amplitude, 3rd Order Lower frequency (Hz), amplitude, intercept, 3rd Order Upper frequency (Hz), amplitude, intercept.
:FETCh:TOIntercept?

Queries the minor value of the intercepts of the Third Order Lower and Third Order Upper. The query is only valid when TOI measurement is enabled and returns the minor one in scientific notation.

real - Returns the minor value of the intercepts of the Third Order Lower and Third Order Upper.
*:FETCh:TOIntercept:IP3?

Queries the result of T-power measurement. It returns data from the latest measurement results in scientific notation.

real - The T-power measurement result in scientific notation; the power unit is consistent with the current Y-axis unit.
:FETCh:TPOWer?

:FORMat:BORDerset / query

Selects the binary data byte order for data transmission. The query returns the current byte order.

NameTypeValuesDescription
modeenumNORMal | SWAPpedBinary data byte order for data transmission.
enum - Returns the binary data byte order as NORM or SWAP.
:FORMat:BORDer NORMal
:FORMat:BORDer?

Sets the input/output format of the trace data. Queries the input/output format of the trace data.

NameTypeValuesDescription
formatenumASCii | INTeger,32 | REAL,32 | REAL,64Input/output format of the trace data.
enum - Returns the current input/output format of the trace data.
:FORMat:TRACe:DATA REAL,32
:FORMat:TRACe:DATA?

*CLSset / query

Clears all the event registers and status byte registers.

*ESEset / query

Sets the enable register for the standard event status register, and the query reads back that register. The returned integer is the binary-weighted sum of the enabled bits.

NameTypeValuesDescription
valueinteger0 - 255Enable-register value to write.
integer - Returns the enable register value as the binary-weighted sum of the bits set in the register.
*ESE 16
*ESE?
*ESR?query

Queries and clears the event register for the standard event status register.

integer - Returns the standard event status register as a decimal integer equal to the binary-weighted sum of all bits set in the register.
*ESR?
*IDN?query

Queries the ID string of the instrument.

string - Returns the ID string in the format Rigol Technologies,<model>,<serial number>,XX.XX.XX.
*OPCset / query

Sets bit 0 (Operation Complete, OPC) in the standard event status register to 1 after the current operation is finished. Queries whether the current operation is finished.

integer - The query returns 1 after the current operation is finished; otherwise, the query returns 0.
*RCLset / query

Recalls the selected register.

NameTypeValuesDescription
integerinteger1 - 128Selected register number to recall.
*RCL 1
*RSTset / query

Restores the instrument to its factory default settings.

*SAVset / query

Saves the current instrument state to the selected register.

NameTypeValuesDescription
integerinteger1 - 128Register number to save the current instrument state to.
*SAV 1
*SREset / query

Sets or queries the enable register for the status byte register.

NameTypeValuesDescription
valueinteger0 - 255Integer value of the enable register; bits 0 and 1 are always treated as 0.
integer - The query returns the integer value of the enable register, equal to the binary-weighted sum of all bits set in the register.
*SRE 16
*SRE?
*STB?query

Queries the event register for the status byte register.

integer - The query returns the status byte register as a decimal integer corresponding to the binary-weighted sum of the bits set in the register. Bit 0 and Bit 1 are always 0, so the value ranges from 0 to 255.
*STB?
*TRGset / query

Triggers a sweep or measurement immediately.

*TST?query

Queries whether the self-check operation is finished.

integer - Returns 0 if the test is successful, or 1 if it fails.

Selects continuous (ON|1) or single (OFF|0) measurement mode. The query returns the current measurement mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Sets continuous or single measurement mode.
integer - Returns 0 or 1 indicating the current measurement mode.
:INITiate:Continuous ON or :INITiate:Continuous 1
:INITiate:Continuous?

Turns on or off the global center frequency of the instrument. The query returns the current setting status.

NameTypeValuesDescription
modeenumALL | NONESelects whether the global center frequency is enabled or disabled.
enum - Returns the global center frequency setting status.
:INSTrument:COUPle:FREQuency:CENTer ALL
:INSTrument:COUPle:FREQuency:CENTer?

Resets the parameters of the current mode to the factory default settings.

Selects the working mode of the instrument. The query returns the current working mode as 1 or SA.

NameTypeValuesDescription
modeenum1 | 2Selects the working mode; 1 corresponds to SA and 2 corresponds to RTSA.
enum - Returns the working mode of the instrument as 1 or SA.
:INSTrument:NSELect 1
:INSTrument:NSELect?

Selects the working mode of the instrument. Queries the working mode of the instrument.

NameTypeValuesDescription
modeenumSA | RTSAWorking mode to select.
enum - Returns the current working mode as SA or RTSA.
:INSTrument:SELect SA
:INSTrument:SELect?

:MMEMory:DELeteset / query

Deletes a specified file.

NameTypeValuesDescription
file_namestring-File path and filename to delete.
:MMEMory:DELete /gpsa/state/state1.sta

Loads the edited FMT file (.csv).

NameTypeValuesDescription
labelenumUPPer | LOWerSelects the target mask label.
file_namestring-Specifies the file path and filename to load.
:MMEMory:LOAD:FMT upper,/rtsa/mask/mask1.csv

Imports the edited limit line file (.csv).

NameTypeValuesDescription
labelenumLLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6Selects the limit line to load.
file_namestring-Specifies the path and filename of the limit line file.
:MMEMory:LOAD:LIMit LLINE1,/gpsa/limit/upp1.csv

Imports the specified state file (.sta).

NameTypeValuesDescription
file_namestring-State file name or path.

Imports the specified trace file (.trs) and the current instrument state.

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Trace destination label.
file_namestring-Path and filename of the trace file to load.
:MMEMory:LOAD:TRACe TRACE2,/gpsa/tracestate/t1.trs

Imports the specified measurement data file (.csv).

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Selects the trace to import the measurement data into.
file_namestring-Specifies the path and filename of the measurement data file to load.
:MMEMory:MOVEset / query

Renames the specified file from <file_name1> to <file_name2>. The paths and filenames must be included, and the operation fails if the target file does not exist.

NameTypeValuesDescription
file_name1string-Source file path and filename.
file_name2string-New file path and filename.
EXAMPLE UNKNOWN

Saves the currently edited FMT file with the specified filename, adding ".csv" by default, to the default mask path. If the file already exists, it is overwritten.

NameTypeValuesDescription
labelenumUPPer | LOWerSelects whether to save the upper or lower mask FMT file.
file_namestring-Specifies the output filename.
:MMEMory:STORe:FMT UPPer,mask1

Saves the currently edited limit line to a default limit folder with the specified filename, with ".csv" added by default. If the file already exists, it is overwritten.

NameTypeValuesDescription
labelenumLLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6 | ALLSelects which limit line to save.
file_namestring-Specifies the filename to save.
:MMEMory:STORe:LIMit LLINE1,low

Saves the current measurement results with a specified filename suffixed with ".csv" by default to the default path ("/mode name"/measdata).

NameTypeValuesDescription
file_namestring-Filename used to save the current measurement results.
:MMEMory:STORe:RESults data

Saves the marker table to the default path with a filename suffixed with ".csv" by default. If the specified file already exists, it is overwritten.

NameTypeValuesDescription
file_namestring-Filename to use when saving the marker table.
:MMEMory:STORe:MTABle MAK1

Saves the peak table with a specified filename suffixed with ".csv" by default to the default path ("/mode name"/measdata). If the specified file already exists, it is overwritten.

NameTypeValuesDescription
file_namestring-Filename used to save the peak table.
:MMEMory:STORe:PTABle PT1

Saves the current screen image with the specified filename, using the suffix to determine the image format (.jpg, .png, or .bmp). The file is stored in the default screen path, and any existing file with the same name is overwritten.

NameTypeValuesDescription
file_namestring-Filename for the saved screen image.
MMEMory:STORe:SCReen screen.jpg

Saves the current instrument state with the specified filename suffixed with ".sta" to the default path (/{mode name}/state). If the file already exists, it is overwritten.

NameTypeValuesDescription
<file_name>string-ASCII string filename for the saved instrument state.
:MMEMory:STORe:STATe state

Saves the specified trace+state file with filename suffixed with ".trs" to the default path (/"mode name"/tracestate). If the specified file already exists, it is overwritten.

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | ALLSelects which trace or traces to save.
file_namestring-Filename to save, without the ".trs" suffix.
:MMEMory:STORe:TRACe TRACE1,mystate

Saves the trace measurement results to a file with the specified filename suffixed with ".csv" in the default "/mode name/measdata" path. If the file already exists, it is overwritten.

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | ALLSelects which trace or traces to save.
file_namestring-Specifies the output filename without the ".csv" suffix.
:MMEMory:STORe:TRACe:DATA TRACE1,mydata

Enables or disables the output of the tracking generator. Queries the on/off status of the tracking generator.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Turns the tracking generator output off or on.
enum - Returns the tracking generator output status as 0 or 1.
:OUTPut:EXTernal:STATe ON or :OUTPut:EXTernal:STATe 1
:OUTPut:EXTernal:STATe?

Executes one adjacent channel power measurement and returns the measurement results.

numeric (consistent with the current Y-axis unit) - Returns 5 values in scientific notation: main channel power, upper channel power, the power difference between the upper channel and the main channel in dBc, lower channel power, and the power difference between the lower channel and the main channel in dBc.
:READ:ACPower?
-5.150423000e+01,-5.173441000e+01,-2.301865000e-01,-5.142665000e+01,7.757568000e-02

Executes one adjacent channel power measurement and returns the lower channel power. The returned power unit is consistent with the current Y-axis unit and is taken from the latest measurement results.

real - The lower channel power in scientific notation.
:READ:ACPower:LOWer?

Executes one adjacent channel power measurement and returns the main channel power. The returned power unit is consistent with the current Y-axis unit.

real - Returns the main channel power in scientific notation.

Executes one adjacent channel power measurement and returns the upper channel power.

real - Returns the upper channel power in scientific notation.

Executes one C/N ratio measurement and returns the measurement results.

numeric (dB) - Returns the carrier power, noise power, and C/N ratio (in dB) in scientific notation, separated by commas.

Executes one C/N ratio measurement and returns the carrier power.

real (dB) - Returns the carrier power in scientific notation.
:READ:CNRatio:CARRier?

Executes one C/N ratio measurement and returns the C/N ratio.

real - Returns the C/N ratio in scientific notation.
:READ:CNRatio:CNRatio?

Executes one C/N ratio measurement and returns the noise power. The query selects data from the latest measurement results and transmits it to the output buffer.

real (dB) - The query returns the noise power in scientific notation.

Executes one emission bandwidth measurement and returns the measurement results.

real (Hz) - The query returns the emission bandwidth measurement results in scientific notation.
:READ:EBWidth?

Executes one harmonic distortion measurement and returns the amplitudes of the first 10 harmonics. The amplitudes are taken from the latest measurement results and transmitted to the output buffer.

real (consistent with the current Y-axis unit) - Returns the amplitudes of the first 10 harmonics in scientific notation, separated by commas. If fewer than 10 harmonics are under measurement, the unmeasured harmonics have no return values.
-1.692102000e+01,-6.458423000e+01,-7.509421000e+01,-7.924328000e+01,-7.847027000e+01,-7.885457000e+01,-7.882358000e+01,-7.921457000e+01,-7.923057000e+01,-7.915358000e+01

Executes one harmonic distortion measurement and returns the percentage of the total harmonic distortion. It selects data from the latest measurement results and transmits the data to the output buffer.

string - Queries the percentage of the total harmonic distortion in scientific notation.

Executes one harmonic distortion measurement and returns the frequencies of the first 10 harmonics. If fewer than 10 harmonics are measured, unmeasured harmonics have no return value.

real (Hz) - The query returns the frequencies in scientific notation, separated by commas. The unit is Hz.

Executes one harmonic distortion measurement and returns the frequency of the fundamental waveform. It selects data from the latest measurement results and transmits the data to the output buffer.

real (Hz) - Returns the frequency of the fundamental waveform in scientific notation.

Executes one occupied bandwidth measurement and returns the measurement results. It selects data from the latest measurement results and transmits the data to the output buffer.

numeric (Hz) - Returns the occupied bandwidth (Hz) and the transmit frequency error (Hz) in scientific notation, separated by commas.

Executes one occupied bandwidth measurement and returns the occupied bandwidth. It selects data from the latest measurement results and transmits the data to the output buffer.

real (Hz) - The occupied bandwidth in scientific notation.

Executes one occupied bandwidth measurement and returns the transmit frequency error. It selects data from the latest measurement results and transmits the data to the output buffer.

real (Hz) - The query returns the transmit frequency error in scientific notation.

Queries the measurement results or trace data in the buffer. It returns the measurement data of Trace n in scientific notation as comma-separated x,y pairs.

NameTypeValuesDescription
nenum1 | 2 | 3 | 4 | 5 | 6Selects Trace n.
string (Hz) - Returns the measurement data of Trace n in scientific notation as comma-separated x,y pairs. The unit is Hz.
:FETCh:SANalyzer1?

Executes one TOI measurement and returns the measurement results. The return value includes base lower and upper frequencies, 3rd-order lower and upper frequencies, amplitudes, and intercepts; amplitude units follow the current Y-axis unit.

string - Measurement results of TOI in the format: Base Lower frequency (Hz), amplitude, Base Upper frequency (Hz), amplitude, 3rd Order Lower frequency (Hz), amplitude, intercept, 3rd Order Upper frequency (Hz), amplitude, intercept.

Executes one TOI measurement and returns the smaller of the Third Order Lower or Third Order Upper intercept values.

real - Returns the minor intercept value in scientific notation.

Executes one T-power measurement and returns the measurement results. The return value is in scientific notation, and its power unit is consistent with the current Y-axis unit.

real - T-power measurement result in scientific notation.
:READ:TPOWer?

:INPut:IMPedanceset / query

Sets the input impedance for voltage-to-power conversion. Queries the input impedance for voltage-to-power conversion.

NameTypeValuesDescription
impedanceenum50 | 75Input impedance value.
enum - The query returns 50 or 75.
:INPut:IMPedance 75 or :SENSe:CORRection:IMPedance:INPut:MAGNitude 75
:INPut:IMPedance? or :SENSe:CORRection:IMPedance:INPut:MAGNitude?

Sets the offset of the tracking generator output amplitude. The query returns the offset in scientific notation; this affects only the readout, not the actual output power.

NameTypeValuesDescription
rel_amplreal-200 - 200Offset of the output amplitude.
:SOURce:CORRection:OFFSet 10
:SOURce:CORRection:OFFSet?

Sets the output amplitude of the tracking generator in fixed power output mode. Queries the output amplitude of the tracking generator in fixed power output mode.

NameTypeValuesDescription
amplreal-40 - 0Output amplitude setting for fixed power output mode.

Sets whether to display the reference trace of normalization. Queries whether to display the reference trace of normalization.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Whether to display the reference trace of normalization.
integer - Returns 0 or 1 indicating whether the reference trace of normalization is displayed.
:SOURce:TRACe:REF:STATe ON or :SOURce:TRACe:REF:STATe 1
:SOURce:TRACe:REF:STATe?

Queries the condition register of the Operation Status Register.

integer - The condition register of the Operation Status Register.

Sets the enable register of the Operation Status Register. The enable register value is a decimal integer corresponding to the binary-weighted sum of status bits 0 through 15, with some bits reserved and bit 15 always treated as 0.

NameTypeValuesDescription
integerinteger0 - 32,767Enable register value as a decimal integer corresponding to the status bit mask.

Queries the event register of the Operation Status Register.

integer - Returns the event register of the Operation Status Register.
:STATus:OPERation[:EVENt]?

Sets the bit enabled in the Operation Event Register when the operation condition register bit has a negative transition (1 to 0). Queries the enable bit of the Operation Event Register.

NameTypeValuesDescription
integerinteger0 - 32,767Binary-weighted sum of the bits to enable; reserved bits may be set but do not affect the system.
integer - The enable bit of the Operation Event Register.
*None*

Sets the bit enabled in the Operation Event Register when the condition register bit has a positive transition (0 to 1). Queries the bit enabled in the Operation Event Register when the condition register bit has a positive transition (0 to 1).

NameTypeValuesDescription
integerinteger0 - 32,767Bit-enabled value for the Operation Event Register; any decimal value corresponding to the binary-weighted sum of the allowed bits.
integer - Returns the enable bit of the Operation Event Register.
:STATus:OPERation:PTRansition 100
:STATus:OPERation:PTRansition?
:STATus:PRESetset / query

Clears the enable register of the Operation Status Register and Questionable Status Register.

Queries the condition register of the Questionable Status Register.

integer - Returns the condition register of the Questionable Status Register.

Sets or queries the enable register of the Questionable Status Register.

NameTypeValuesDescription
integerinteger0 - 32,767Decimal value corresponding to the binary-weighted sum of the enabled status bits.
integer - Returns the enable register of the Questionable Status Register.
:STATus:QUEStionable:ENABle 100
:STATus:QUEStionable:ENABle?

Queries the event register of the Questionable Status Register.

integer - Returns the event register of the Questionable Status Register.
:STATus:QUEStionable[:EVENt]?

Sets the bit enabled in the Questionable Event Register when the questionable condition register bit has a negative transition (1 to 0). The query form returns the enable bit of the Questionable Event Register.

NameTypeValuesDescription
integerinteger0 - 32,767Binary-weighted sum of the bits in the Questionable Status Register.
:STATus:QUEStionable:NTRansition 100
:STATus:QUEStionable:NTRansition?

Sets the bit enabled in the Questionable Event Register when the questionable condition register bit has a positive transition (0 to 1). Queries the enable bit in the Questionable Event Register for that transition.

NameTypeValuesDescription
integerinteger0 - 32,767Bit-encoded enable mask for the Questionable Status Register; reserved bits may be set but do not affect the system.
integer - The enable bit of the Questionable Event Register.
:STATus:QUEStionable:PTRansition 100
:STATus:QUEStionable:PTRansition?

Queries the condition register of the Questionable Calibration Status Register.

integer - Queries the condition register of the Questionable Calibration Status Register in integer. For example, 0.

Sets or queries the enable register of the Questionable Calibration Status Register.

NameTypeValuesDescription
integerinteger0 - 32,767Decimal value corresponding to the binary-weighted sum of the enabled bits in the Questionable Calibration Status Register.

Queries the event register of the Questionable Calibration Status Register.

integer - Returns the event register of the Questionable Calibration Status Register.
:STATus:QUEStionable:CALibration[:EVENt]?

Sets the enable bit in the Questionable Calibration Event Register when the questionable calibration condition register bit has a negative transition (1 to 0). Queries the enable bit in the same register.

NameTypeValuesDescription
integerinteger0 - 32,767Binary-weighted decimal value for the enable bit mask; bits 3-8, 12-13, and 15 are always treated as 0.
:STATus:QUEStionable:CALibration:NTRansition 100
:STATus:QUEStionable:CALibration:NTRansition?

Sets the enable bit in the Questionable Calibration Event Register when the questionable calibration condition register bit has a positive transition (0 to 1). Queries the enable bit in the same register.

NameTypeValuesDescription
integerinteger0 - 32,767Binary-weighted sum of the enabled bits; bit 3-8 and bit 12-13 are always treated as 0, and bit 15 is always treated as 0.
integer - Returns the enable bit of the Questionable Calibration Event Register.
:STATus:QUEStionable:CALibration:PTRansition 100
:STATus:QUEStionable:CALibration:PTRansition?

Queries the condition register of the Questionable Frequency Status Register.

integer - Returns the condition register of the Questionable Frequency Status Register in integer. For example, 0.

Sets the enable register of the Questionable Frequency Status Register. Queries the enable register of the Questionable Frequency Status Register.

NameTypeValuesDescription
integerinteger0 - 32,767Enable-bit mask for the Questionable Frequency Status Register; bits 3-9 and 11-14 are unused and treated as 0, and bit 15 is always 0.
integer - The query returns the enable register of the Questionable Frequency Status Register as an integer.
:STATus:QUEStionable:FREQuency:ENABle 100

Queries the event register of the Questionable Frequency Status Register.

integer - Returns the event register of the Questionable Frequency Status Register as an integer.

Sets the enable bit in the Questionable Frequency Event Register when the questionable frequency condition register bit has a negative transition (1 to 0). The query form returns that enable bit as an integer.

NameTypeValuesDescription
integerinteger0 - 32767Binary-weighted sum of the enabled bits; bits 3-9 and 11-14 are always treated as 0, and bit 15 is always treated as 0.
integer - Returns the enable bit of the Questionable Frequency Event Register.
:STATus:QUEStionable:FREQuency:NTRansition 100
:STATus:QUEStionable:FREQuency:NTRansition?

Sets the enable bit in the Questionable Frequency Event Register when the questionable frequency condition register bit has a positive transition (0 to 1). Queries the enable bit in the Questionable Frequency Event Register when the questionable frequency condition register bit has a positive transition (0 to 1).

NameTypeValuesDescription
integerinteger0 - 32,767Enable-bit value for the Questionable Frequency Event Register; bit 3-9, bit 11-14, and bit 15 are treated as 0.
integer - The query returns the enable bit of the Questionable Frequency Event Register.
:STATus:QUEStionable:FREQuency:PTRansition 100
:STATus:QUEStionable:FREQuency:PTRansition?

Sets or queries the enable register of the Questionable Integrity Status Register.

NameTypeValuesDescription
integerinteger0 - 32,767Decimal value corresponding to the binary-weighted sum of the enabled bits; bits 2-14 and bit 15 are always treated as 0.

Queries the event register of the Questionable Integrity Status Register.

integer - The event register of the Questionable Integrity Status Register; for example, 0.
:STATus:QUEStionable:INTegrity[:EVENt]?

Sets the enable bit in the Questionable Integrity Event Register when the questionable integrity condition register bit has a negative transition (1 to 0). Queries the same enable bit for its current integer value.

NameTypeValuesDescription
integerinteger0 - 32,767Value corresponding to the binary-weighted sum of the enabled bits; bits 2-14 and bit 15 are always treated as 0.
integer - The enable bit of the Questionable Integrity Event Register.
:STATus:QUEStionable:INTegrity:NTRansition 100
:STATus:QUEStionable:INTegrity:NTRansition?

Sets the enable bit in the Questionable Integrity Event Register when the questionable integrity condition register bit has a positive transition (0 to 1). The query returns that enable bit as an integer.

NameTypeValuesDescription
<integer>integer0 - 32767Decimal value corresponding to the binary-weighted sum of the bits; bits 2-14 and bit 15 are always treated as 0.
integer - The enable bit of the Questionable Integrity Event Register.
:STATus:QUEStionable:INTegrity:PTRansition 100
:STATus:QUEStionable:INTegrity:PTRansition?

Queries the condition register of the Questionable Power Status Register.

integer - Returns the condition register of the Questionable Power Status Register.
:STATus:QUEStionable:POWer:CONDition?

Sets or queries the enable register of the Questionable Power Status Register.

NameTypeValuesDescription
integerinteger0 - 32767Decimal value corresponding to the enable bits; bit 7 to 14 are always treated as 0 and bit 15 is always treated as 0.
integer - Returns the enable register of the Questionable Power Status Register.
:STATus:QUEStionable:POWer:ENABle 100
:STATus:QUEStionable:POWer:ENABle?

Queries the event register of the Questionable Power Status Register.

integer - The event register of the Questionable Power Status Register.

Sets the enable bit in the Questionable Power Event Register when the questionable power condition register bit has a negative transition (1 to 0). Queries the same enable bit for the Questionable Power Event Register.

NameTypeValuesDescription
integerinteger0 - 32,767Decimal value corresponding to the binary-weighted sum of bits 0 to 14, with bits 7 to 14 treated as 0.
integer - The enable bit of the Questionable Power Event Register.

Sets the enable bit in the Questionable Power Event Register when the questionable power condition register bit has a positive transition (0 to 1). The query returns the enable bit of the Questionable Power Event Register.

NameTypeValuesDescription
integerinteger0 - 32,767Decimal value corresponding to the binary-weighted sum of the enabled bits; bits 7 to 14 are always 0 and bits 1 to 5 are reserved.
integer - The enable bit of the Questionable Power Event Register.
:STATus:QUEStionable:POWer:PTRansition 100
:STATus:QUEStionable:POWer:PTRansition?

Queries the condition register of the Questionable Temperature Status Register.

integer - Returns the condition register of the Questionable Temperature Status Register.

Sets or queries the enable register of the Questionable Temperature Status Register.

NameTypeValuesDescription
integerinteger0 - 1Decimal value corresponding to the enable bits of the Questionable Temperature Status Register.
integer - The enable register of the Questionable Temperature Status Register.
:STATus:QUEStionable:TEMPerature:ENABle <integer>

Queries the event register of the Questionable Temperature Status Register.

integer - Returns the event register of the Questionable Temperature Status Register.
:STATus:QUEStionable:TEMPerature:ENABle 100
:STATus:QUEStionable:TEMPerature:ENABle?
:STATus:QUEStionable:TEMPerature:NTRansition 100
:STATus:QUEStionable:TEMPerature:NTRansition?

Sets or queries the enable bit in the Questionable Temperature Event Register when the questionable temperature condition register bit has a negative transition (1 to 0).

NameTypeValuesDescription
integerinteger0 - 1Decimal value corresponding to the binary-weighted sum of the bits; bit 1 to 14 and bit 15 are always treated as 0.
integer - The enable bit of the Questionable Temperature Event Register.
:STATus:QUEStionable:TEMPerature:NTRansition 100
:STATus:QUEStionable:TEMPerature:NTRansition?

Sets the enable bit in the Questionable Temperature Event Register when the questionable temperature condition register bit has a positive transition (0 to 1). Queries that enable bit.

NameTypeValuesDescription
integerinteger0 - 1Decimal value corresponding to the binary-weighted sum of the enabled bits in the Questionable Temperature Status Register.
integer - The query returns the enable bit of the Questionable Temperature Event Register.

Turns on or off the beeper. Queries the status of the beeper.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Beeper on/off state.
integer - The query returns 0 or 1.
.:SYSTem:BEEPer:STATe ON or :SYSTem:BEEPer:STATe 1
.:SYSTem:BEEPer:STATe?

Enables or disables the auto IP setting mode. Queries the status of the auto IP setting mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the auto IP mode.
enum - The query returns 0 or 1.
:SYSTem:COMMunicate:LAN[:SELF]:AUToip:STATe OFF|ON|0|1
:SYSTem:COMMunicate:LAN[:SELF]:AUToip:STATe?

Enables or disables the DHCP configuration mode. The query returns the current DHCP configuration status.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables DHCP configuration mode.
enum - Returns the DHCP configuration status as 0 or 1.
SYSTem:COMMunicate:LAN:SELF:DHCP:STATe ON or :SYSTem:COMMunicate:LAN:SELF:DHCP:STATe 1
SYSTem:COMMunicate:LAN:SELF:DHCP:STATe?

Sets or queries the DNS auto mode for the LAN self IP configuration. ON/1 enables auto DNS mode; OFF/0 disables it and uses manual mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Selects whether DNS is obtained automatically or manually.
enum - Returns 0 or 1 indicating the current DNS auto mode.
SYSTem:COMMunicate:LAN:SELF:IP:DNS:AUTO:STATe ON
SYSTem:COMMunicate:LAN:SELF:IP:DNS:AUTO:STATe 1
SYSTem:COMMunicate:LAN:SELF:IP:DNS:AUTO:STATe?

Sets the backup DNS server address. This command is only valid in manual IP setting mode.

NameTypeValuesDescription
ip_addressstring-Backup DNS server IP address in the format nnn.nnn.nnn.nnn.

Sets the preferred address for the DNS, or queries the currently preferred DNS address. This command is only valid in manual DNS setting mode.

NameTypeValuesDescription
ip_addressstring-Preferred DNS IP address in the form nnn.nnn.nnn.nnn.
string - Returns the currently preferred DNS address in the format nnn.nnn.nnn.nnn.

Sets the default gateway. Queries the current default gateway.

NameTypeValuesDescription
ip_addressstring-Default gateway address in nnn.nnn.nnn.nnn format.
string - The current default gateway in nnn.nnn.nnn.nnn format.
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway 172.16.3.1
:SYSTem:COMMunicate:LAN:SELF:IP:GATeway?

Sets the subnet mask. Queries the subnet mask.

NameTypeValuesDescription
ip_addressstring-Subnet mask in the format nnn.nnn.nnn.nnn.
string - Returns the current subnet mask in the format of nnn.nnn.nnn.nnn.
:SYSTem:COMMunicate:LAN:SELF:IP:SUBMask 255.255.255.0

Enables or disables the manual IP setting mode. Queries the status of the manual IP setting mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the manual IP setting mode.
enum - The query returns 0 or 1.
:SYSTem:COMMunicate:LAN:SELF:MANuip:STATe ON or :SYSTem:COMMunicate:LAN:SELF:MANuip:STATe
:SYSTem:COMMunicate:LAN:SELF:MANuip:STATe?

Enables or disables the state of the network information sending. Queries the on/off status of the network information sending.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Controls the state of the network information sending.
:SYSTem:COMMunicate:LAN:SELF:MDNS:STATe OFF|ON|0|1
:SYSTem:COMMunicate:LAN:SELF:MDNS:STATe?
:SYSTem:DATEset / query

Sets or queries the instrument date.

NameTypeValuesDescription
yearstring2000 - 2099Year value.
monthstring01 - 12Month value.
daystring01 - 31Day value.
string - The current date in the format YYYY,MM,DD.
SYSTem:DATE 2017,11,16
SYSTem:DATE?

Sets or queries the front-panel switch state. The command accepts OFF/ON or 0/1 to control the state, and the query returns the current state as 0 or 1.

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Front-panel switch state.
integer - Returns the current state as 0 or 1.
:SYSTem:LANGuageset / query

Sets the language of the instrument. Queries the language of the instrument.

NameTypeValuesDescription
languageenumENGLish | CHINeseLanguage to set for the instrument.
enum - Returns the current instrument language.
:SYSTem:LANGuage ENGLish
:SYSTem:LANGuage?
:SYSTem:LKEYset / query

Installs and activates the specified option.

NameTypeValuesDescription
option info--
license info--

Queries whether an option is activated or not.

NameTypeValuesDescription
option namestring-Option name to check.
enum - Returns 0 if the option is not activated, or 1 if it is activated.
:SYSTem:OPTion:STATe? RSA5000-PA
:SYSTem:PON:TYPEset / query

Selects the setting type the instrument recalls at power-on. Queries what setting type the instrument recalls at power-on.

NameTypeValuesDescription
modeenumMODE | PRESet | USER | LASTSetting type recalled at power-on.
:SYSTem:PON:TYPE MODE|PRESet|USER|LAST
:SYSTem:PON:TYPE?

Saves the specified user setting.

NameTypeValuesDescription
settingenumUSER1 | USER2 | USER3 | USER4 | USER5 | USER6Specifies which user setting to save.

Selects the preset type of the system to be the factory mode or one of the user preset items. FACTory may be used in place of MODE to select the factory mode.

NameTypeValuesDescription
typeenumMODE | USER1 | USER2 | USER3 | USER4 | USER5 | USER6Selects the system preset type.
enum - Returns the current preset type of the system.
:SYSTem:PRESet:TYPe?

Saves the current user setting. If the current preset type is Mode, the setting is saved to User1; if the current preset type is User1 through User6, it is saved to the specified user.

Clears all the data that you set safely. It deletes all saved files and configuration files, and performs a factory reset.

:SYSTem:SHOWset / query

Displays or queries the system-related information. OFF turns off the system information display.

NameTypeValuesDescription
modeenumOFF | SYSTem | OPTion | LICenseSelects which system-related information to display.
enum - Returns the current system-related information display mode.
:SYSTem:TIMEset / query

Sets or queries the system time of the instrument.

NameTypeValuesDescription
hourinteger00 - 23Hour value of the system time.
minuteinteger00 - 59Minute value of the system time.
secondinteger00 - 59Second value of the system time.
string - Returns the current system time in the format "HH,MM,SS".
:SYSTem:TIME 15,10,30
:SYSTem:TIME?

:TRACe:CLEar:ALLset / query

Clears all traces by resetting all points on the trace to the minimum trace value.

Resets all the traces. It enables Trace 1 and sets the other traces to blank state without affecting the trace type or detector type.

Enables or disables the display of the specified trace. The query reports the status for the specified trace.

NameTypeValuesDescription
ndiscrete1 - 6Specifies the trace number.
statebooleanOFF | ON | 0 | 1Turns the trace display off or on.
boolean - Returns the display status for the specified trace.
:TRACe<n>:TYPEset / query

Sets the type of the specified trace. Queries the type of the specified trace.

NameTypeValuesDescription
ndiscrete1 - 6
typeenumWRITe | AVERage | MAXHold | MINHoldTrace type to select.
enum - The query returns WRIT, AVER, MAXH, or MINH.
:TRACe1:TYPE MAXHold
:TRACe1:TYPE?

Enables or disables update of the specified trace. The query returns the update status.

NameTypeValuesDescription
ninteger1 - 6Trace number.
stateenumOFF | ON | 0 | 1Enables or disables trace update.
enum - Returns 1 or 0.
:TRACe1:UPDate:STATe ON or :TRACe1:UPDate:STATe 1
:TRACe1:UPDate:STATe?

Sets the time that the analyzer will wait for the trigger to be initiated automatically. Queries the same time value.

NameTypeValuesDescription
timereal1 ms - 100 sTime the analyzer waits before automatic trigger initiation.
real (s) - The query returns the time value in scientific notation.
:TRIGger:SEQuence:ATRigger 0.01
:TRIGger:SEQuence:ATRigger?

Enables or disables the auto trigger function. Queries the setting status of the auto trigger function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the auto trigger function.
integer - The query returns 1 or 0.
:TRIGger:SEQuence:ATRigger:STATe ON
:TRIGger:SEQuence:ATRigger:STATe 1
:TRIGger:SEQuence:ATRigger:STATe?

Sets the delay time for the external trigger. Queries the delay time for the external trigger.

NameTypeValuesDescription
ninteger1 - 2Selects External Trigger 1 or External Trigger 2.
timereal0 μs - 500 msSets the external trigger delay time.
real (s) - Returns the delay time for the external trigger in scientific notation.
:TRIGger:SEQuence:EXTernal1:DELay 0.1
:TRIGger:SEQuence:EXTernal1:DELay?

Enables or disables the external trigger delay function. The parameter n selects External Trigger 1 or 2.

NameTypeValuesDescription
ninteger1 - 2Selects which external trigger to configure: 1 for External Trigger 1, 2 for External Trigger 2.
stateenumOFF | ON | 0 | 1Enables or disables the external trigger delay function.
:TRIGger:SEQuence:EXTernal1:DELay:STATe OFF|ON|0|1

Sets the trigger edge for the external trigger and queries the current trigger edge.

NameTypeValuesDescription
ndiscrete1 - 2Selects External Trigger 1 or 2.
modeenumPOSitive | NEGativeSelects the trigger edge polarity.
enum - Returns the trigger edge setting.
:TRIGger:SEQuence:EXTernal1:SLOPe POSitive
:TRIGger:SEQuence:EXTernal1:SLOPe?

Sets the number of times for acquisition after each effective trigger is completed. Queries the number of times for acquisition after each effective trigger is completed.

NameTypeValuesDescription
numberinteger1Number of acquisitions after each effective trigger is completed.
integer - Returns the number of times for acquisition after each effective trigger is completed.
:TRIGger[:SEQuence]:FMT:APTRigger <number>
:TRIGger[:SEQuence]:FMT:APTRigger?

Sets the trigger criteria for FMT. Queries the trigger criteria for FMT.

NameTypeValuesDescription
modeenumENTer | LEAVe | INSide | OUTSide | ELEave | LENTerTrigger criterion for FMT.
enum - Returns the trigger criteria for FMT as a short keyword.
:TRIGger:SEQuence:FMT:CRITeria ENTer
:TRIGger:SEQuence:FMT:CRITeriar?

Sets the delay time for FMT. Queries the delay time for FMT.

NameTypeValuesDescription
timereal-Delay time for FMT.
returns

Enables or disables the FMT trigger delay function. Queries the status of the FMT trigger delay function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Bool setting for the FMT trigger delay function.
integer - Returns 1 or 0 indicating the status of the FMT trigger delay function.
:TRIGger:SEQuence:FMT:DELay:STATe ON
:TRIGger:SEQuence:FMT:DELay:STATe 1
:TRIGger:SEQuence:FMT:DELay:STATe?

Sets the mask to be used for the current trigger. The query returns the current trigger mask.

NameTypeValuesDescription
maskenumUPPer | LOWer | BOTHSelects the mask to use for the current trigger.
enum - Returns the current trigger mask.
:TRIGger:SEQuence:FMT:MASK UPPer
:TRIGger:SEQuence:FMT:MASK?

Sets the mask type that is currently viewed/edited. Queries the mask type that is currently viewed/edited.

NameTypeValuesDescription
modeenumUPPer | LOWerMask type to view or edit.

Sets whether the amplitudes of the mask points are coupled to the instrument reference level. Queries whether that coupling is enabled.

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Enables or disables coupling of mask-point amplitudes to the reference level.
enum - Returns the current coupling state as 1 or 0.
:TRIGger:SEQuence:FMT:MASK:RELative:AMPLitude ON
:TRIGger:SEQuence:FMT:MASK:RELative:AMPLitude 1
:TRIGger:SEQuence:FMT:MASK:RELative:AMPLitude?

Sets whether the frequencies of the mask points are coupled to the center frequency of the instrument. This command is only valid when FMT is selected as the trigger source in RTSA mode.

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Enables or disables coupling of mask-point frequencies to the center frequency.
enum - Returns whether the coupling is enabled or disabled.
:TRIGger:SEQuence:FMT:MASK:RELative:FREQuency ON
:TRIGger:SEQuence:FMT:MASK:RELative:FREQuency 1
:TRIGger:SEQuence:FMT:MASK:RELative:FREQuency?

Creates a mask from a trace. The command is only valid when FMT is selected as the trigger source in RTSA mode.

NameTypeValuesDescription
ndiscrete1 - 2Selects which mask is being edited: 1 for the upper mask, 2 for the lower mask.

Edits the mask parameters for the specified mask. The query returns the mask parameters currently being edited.

NameTypeValuesDescription
ndiscrete1 - 2Selects which mask is edited: upper mask for 1, lower mask for 2.
freqreal0 Hz - 6.5 GHzFrequency point of the mask.
amplreal-1,000 dBm - 1,000 dBmAmplitude point of the mask.
real - Returns the mask parameters that are being edited currently in scientific notation.
:TRIGger:SEQuence:FMT:MASK1:DATA –80000000, –50, 80000000, –50
:TRIGger:SEQuence:FMT:MASK1:DATA?

Deletes all the masks for the selected mask index. It is only valid when FMT is selected as the trigger source in RTSA mode.

NameTypeValuesDescription
ninteger1 - 2Selects which mask to delete: 1 for the upper mask or 2 for the lower mask.

Clears the currently activated mask and creates a default new mask. <n> selects whether the upper mask (1) or lower mask (2) is edited.

NameTypeValuesDescription
ndiscrete1 - 2Selects the mask to edit: 1 for the upper mask, 2 for the lower mask.

Sets the trigger holdoff time, or queries the current trigger holdoff time. This command is only valid when the trigger holdoff function is enabled.

NameTypeValuesDescription
timereal100 us - 500 msTrigger holdoff time.
real (s) - Returns the trigger holdoff time in scientific notation.
:TRIGger:SEQuence:HOLDoff 0.1
:TRIGger:SEQuence:HOLDoff?

Enables or disables the trigger holdoff function. Queries the status of the trigger holdoff function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the trigger holdoff function.
integer - The query returns 1 or 0.
:TRIGger:SEQuence:HOLDoff:STATe ON or :TRIGger:SEQuence:HOLDoff:STATe 1
:TRIGger:SEQuence:HOLDoff:STATe?

Sets the trigger source. Queries the trigger source.

NameTypeValuesDescription
sourceenumEXTernal1 | EXTernal2 | IMMediate | VIDeo | FMT | POWerTrigger source selection.
enum - Returns the current trigger source as a short keyword.
:TRIGger:SEQuence:SOURce IMMediate
:TRIGger:SEQuence:SOURce?

Sets the delay time for the video trigger. Queries the delay time for the video trigger.

NameTypeValuesDescription
timereal0 μs - 500 msConsecutive real number specifying the video trigger delay time.
real (s) - Returns the delay time for video trigger in scientific notation.
:TRIGger:SEQuence:VIDeo:DELay 0.1
:TRIGger:SEQuence:VIDeo:DELay?

Enables or disables the video trigger delay function. Queries the status of the video trigger delay function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the video trigger delay function.
integer - Returns 1 or 0 to indicate the status of the video trigger delay function.
:TRIGger:SEQuence:VIDeo:DELay:STATe ON or :TRIGger:SEQuence:VIDeo:DELay:STATe 1
:TRIGger:SEQuence:VIDeo:DELay:STATe?

Sets the trigger level of the video trigger. Queries the trigger level of the video trigger.

NameTypeValuesDescription
amplreal-140 - 30Trigger level amplitude.
string - The query returns the trigger level in scientific notation.
:TRIGger:SEQuence:VIDeo:LEVel 10
:TRIGger:SEQuence:VIDeo:LEVel?

Sets the polarity of the video trigger. Queries the polarity of the video trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativePolarity of the video trigger.
enum - Returns the video trigger polarity as POS or NEG.
:TRIGger:SEQuence:VIDeo:SLOPe POSitive
:TRIGger:SEQuence:VIDeo:SLOPe?

:TRIGger2:MODEset / query

Sets the interface type of External Trigger 2. Queries the interface type of External Trigger 2.

NameTypeValuesDescription
modeenumIN | OUT | 0 | 1Interface type for External Trigger 2.
enum - Returns 0 or 1, indicating the interface type of External Trigger 2.
:TRIGger2:MODE IN
:TRIGger2:MODE?

:UNIT:POWerset / query

Sets or queries the unit of the Y axis.

NameTypeValuesDescription
power unitenumDBM | DBMV | DBUV | V | WSelects the Y-axis amplitude unit.
enum - The query returns the current Y-axis unit.
:UNIT:POWer W
:UNIT:POWer?