/

Rigol

/

Rigol RSA3045

SCPI COMMAND REFERENCE

Rigol RSA3045

Rigol RSA3045

The Rigol RSA3045 is Rigol's spectrum analyzer in the RSA3000 Series family. Its SCPI remote-control interface exposes 284 commands across 22 subsystems - 225 settable and 59 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.

284

Commands

225

Settable

59

Queries

22

Subsystems

SCPI

Verified

2026-07-16

All commands

Sets the N value in N dB BW measurement. Queries the N value in N dB BW measurement.

NameTypeValuesDescription
rel_amplreal-140 - -0.01Consecutive real number specifying the relative amplitude threshold for the N dB bandwidth measurement.
real - The query 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. The returned bandwidth value is in scientific notation with Hz as the unit; if the two points on both sides of the current marker are not found, the query returns -1.000000000e+02.

real (Hz) - Returns the bandwidth value in scientific notation, with Hz as the unit.
none documented in the slice for this exact mnemonic

Queries the frequency value of the frequency point located to the left of the current marker with N dB fall or rise in peak amplitude. The query returns the frequency in scientific notation with Hz as the unit, or -1.000000000e+02 if the point is not found.

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

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, in Hz. If the frequency point is not found, the query returns -1.000000000e+02.

Enables or disables the limit line test function. The query returns the current status of the limit line test function.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the limit line test function.
enum - Returns 0 or 1 indicating the status of the limit line test function.
: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. The query returns the coupling status as 0 or 1.

NameTypeValuesDescription
<n>discrete1 - 6Selects the limit line number.
stateenumOFF | ON | 0 | 1Enables or disables the coupling function.
enum - Returns 0 or 1.
:CALCulate:LLINe2:AMPLitude:CMODe:RELative OFF or :CALCulate:LLINe2:AMPLitude:CMODe:RELative 0
:CALCulate:LLINe2:AMPLitude:CMODe:RELative?

Builds the selected limit line from the specified trace.

NameTypeValuesDescription
ninteger1 - 6Selects the limit line number.
traceenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Specifies the trace used to build the limit line.
:CALCulate:LLINe2:BUILd TRACE2

Copies the selected limit line to the current limit line. If the selected limit line is the same as the current limit line, no operation is performed.

NameTypeValuesDescription
ninteger1 - 6Limit line number to mark as the current limit line.
limit lineenumLLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6Limit line to copy to the current limit line.
:CALCulate:LLINe2:COPY LLINE1

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

NameTypeValuesDescription
ninteger1 - 6Limit line number to edit.
xreal0 Hz - 4.5 GHzFrequency value for a point in the limit line.
amplreal-1,000 dBm - 1,000 dBmAmplitude value for a point in the limit line.
connectenum0 | 1Indicates whether the current point connects to the previous point.
returns
:CALCulate:LLINe2:DATA 50,100,0,100,150,1,200,200,1

Deletes the selected limit line.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6
:CALCulate:LLINe2:DELete

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

NameTypeValuesDescription
ninteger1 - 6Selects the limit line number.
stateenumOFF | ON | 0 | 1Turns the selected limit line off or on.
1

Queries the measurement results of the selected limit line and its associated trace.

NameTypeValuesDescription
ndiscrete1 - 6
integer - Returns 0 for pass or 1 for fail.

Enables or disables coupling between the selected limit line data points and the center frequency. The query returns 0 or 1 to indicate whether the coupling function is disabled or enabled.

NameTypeValuesDescription
ndiscrete1 - 6Selects the limit line number.
statebooleanOFF | ON | 0 | 1Enables or disables the coupling function.
boolean - Returns 0 if the coupling function is disabled and 1 if it is enabled.
:CALCulate:LLINe2:FREQuency:CMODe:RELative OFF or :CALCulate:LLINe2:FREQuency:CMODe:RELative
0
:CALCulate:LLINe2:FREQuency:CMODe:RELative?

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

NameTypeValuesDescription
ndiscrete1 - 6Selects the limit line number.
rel_amplreal-40 dB - 0 dBSets the relative amplitude margin.
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
ninteger1 - 6Selects the limit line number.
stateenumOFF | ON | 0 | 1Turns the margin state off or on.
enum - Returns the margin status as 0 or 1.
: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 the trace to be tested against the current limit line.

NameTypeValuesDescription
ninteger1 - 6
traceinteger1 - 6Trace number to test against the current limit line.
integer - Returns the trace number 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
ninteger1 - 6
modeenumUPPer | LOWerSelects whether the specified limit line is upper or lower type.
enum - Returns the type of the specified limit line.

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

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Enables or disables the couple marker function.
integer - The query returns 0 or 1, indicating the state of the couple marker function.
The following command disables the couple marker function. :CALCulate:MARKer:COUPle:STATe OFF or :CALCulate:MARKer:COUPle:STATe 0
The following query returns 0. :CALCulate:MARKer:COUPle:STATe?

Sets the peak offset in dB. The query returns the peak offset.

NameTypeValuesDescription
rel_amplrealdBRelative amplitude offset for the peak marker.

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

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the peak offset function.
enum - Returns the status of the peak offset function as 0 or 1.
:CALCulate:MARKer:PEAK:EXCursion:STATe ON or :CALCulate:MARKer:PEAK:EXCursion:STATe 1
:CALCulate:MARKer:PEAK:EXCursion:STATe?

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

NameTypeValuesDescription
modeenumPARameter | MAXimumPeak search mode.
enum - Returns the current peak search mode.
:CALCulate:MARKer:PEAK:SEARch:MODE PARameter|MAXimum
:CALCulate:MARKer:PEAK:SEARch:MODE?

Sets the sorting order of the data displayed in the peak table, or queries the current sorting order.

NameTypeValuesDescription
modeenumFREQuency | AMPLitudeSorting order for the peak table.
:CALCulate:MARKer:PEAK:SORT AMPLitude
:CALCulate:MARKer:PEAK:SORT?

Sets which peaks are listed in the peak table based on the peak criteria. The query returns the current readout mode.

NameTypeValuesDescription
modeenumALL | GTDLine | LTDLineSelects whether all peaks, peaks greater than the display line, or peaks less than the display line are listed.
enum - Returns the current peak table readout mode.
: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 | 1Peak table enable state.
enum - Returns the status of the peak table.

Sets the peak threshold. The default unit is dBm, and the query returns the peak threshold in scientific notation.

NameTypeValuesDescription
amplreal-200 dBm - 0 dBmPeak threshold amplitude to set.
: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.
enum - Returns the status of the peak threshold function as 0 or 1.

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

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Sets whether the marker table is enabled or disabled.
enum - The query returns 0 or 1.

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

NameTypeValuesDescription
stateoptenumOFF | ON | 0 | 1Turns signal track off or on.

Enables or disables the continuous peak search function and marks the peak value with the selected marker number. The query returns the status of continuous peak search.

NameTypeValuesDescription
ndiscrete1 - 8Marker number used to mark the peak value.
stateoptbooleanOFF | ON | 0 | 1Turns continuous peak search on or off.
boolean - Returns the status of continuous peak search as 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 - 8Marker index.
timereal1 μs - 500 msGate time for Marker n.
real - 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 | 8
statebooleanOFF | ON | 0 | 1
enum - The query returns 1 or 0.
: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. The query reports the status of that function.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
stateoptbooleanOFF | ON | 0 | 1Turns the frequency counter function off or on.
enum - Returns 0 or 1 indicating the status of 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. The return is in Hz, and NAN is returned when the frequency counter function is disabled.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
integer (Hz) - The readout of the frequency counter, or NAN when the frequency counter function is disabled.
:CALCulate:MARKer2:FCOunt:X?

Selects the special measurement type for the specified marker. Queries the special measurement type of the specified marker.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
modeenumNOISe | BPOWer | BDENsity | OFFSpecial measurement type for the specified marker.
enum - Returns the marker's special measurement type as NOIS, BPOW, BDEN, or OFF.
:CALCulate:MARKer1:FUNCtion NOISe
:CALCulate:MARKer1:FUNCtion?

Sets the left edge frequency or time of the signal involved in the calculation for the band function. The query returns the left edge frequency or time of the signal in scientific notation.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
freqreal0 - band rightLeft edge frequency or time.
real - The left edge frequency or time of the signal in scientific notation.
:CALCulate:MARKer1:FUNCtion:BAND:LEFT <freq>
:CALCulate:MARKer1:FUNCtion:BAND:LEFT?

Sets or queries the right edge frequency or time of the signal involved in the band function. This command is only valid when the corresponding bandwidth function is enabled; in zero span or PvT it refers to time instead of frequency.

NameTypeValuesDescription
ninteger1 - 8Marker number.
freqrealband left - +∞Right edge frequency or time to set.
real - Returns the right edge frequency or time of the signal in scientific notation.
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt 4000000000
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt?

Sets or queries the bandwidth or time span used in the band-function calculation. The command is only valid when the corresponding bandwidth function is enabled; it is also used to set signal time when zero span is enabled in GPSA mode or in PvT view in RTSA mode.

NameTypeValuesDescription
ndiscrete1 - 8Marker number.
freqreal0 - +∞Bandwidth or time span of the signal involved in the band-function calculation.
string - Returns the bandwidth of the signal involved in the calculation for the band function in scientific notation.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN 500000000
: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.

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

NameTypeValuesDescription
ninteger1 - 8Marker number.
stateenumOFF | ON | 0 | 1Turns the marker line on or off.
enum - Returns the marker line status as 0 or 1.
:CALCulate:MARKer1:LINes:STATe ON or :CALCulate:MARKer1:LINes:STATe 1
:CALCulate:MARKer1:LINes:STATe?

Searches for and marks the nearest peak located to the left of the current peak that meets the peak search condition.

NameTypeValuesDescription
ninteger1 - 8Marker number.

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

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

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

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

Searches for and marks the nearest peak located at the right side of the current peak that meets the peak search condition.

NameTypeValuesDescription
ndiscrete1 - 8Marker number to use.
:CALCulate:MARKer2:MAXimum:RIGHt

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

NameTypeValuesDescription
ninteger1 - 8Marker number.
:CALCulate:MARKer2:MINimum

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

NameTypeValuesDescription
ndiscrete1 - 8Marker number to select.
modeenumPOSition | DELTa | FIXed | OFFMarker type to set.
enum - 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 the specified marker.

NameTypeValuesDescription
ninteger1 - 8Specifies the marker number to use.
:CALCulate:MARKer1:PTPeak

Sets the reference marker for the specified marker. Queries the reference marker for the specified marker.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Marker number to use.
integerinteger1 - 8Reference marker number.
integer - Returns the reference marker number for the specified marker.
:CALCulate:MARKer1:REFerence 2
:CALCulate:MARKer1:REFerence?

Sets the frequency of the specified marker to the center frequency of the analyzer. It is invalid in zero span and for PvT measurement mode in RTSA.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
: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 | 2 | 3 | 4 | 5 | 6 | 7 | 8
:CALCulate:MARKer1:SET:DELTa:SPAN

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

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

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

NameTypeValuesDescription
nenum1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the marker number.
:CALCulate:MARKer3:SET:STARt

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

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

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

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

Enables or disables the specified marker. The query returns the status for the specified marker.

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

Sets the marker trace for the specified marker. Queries the marker trace for the specified marker.

NameTypeValuesDescription
ninteger1 - 8Specifies the marker number.
integerinteger1 - 6Indicates the marker trace to use.
integer - Returns the marker trace number.
: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.
integer - Returns 0 if auto trace marking is disabled and 1 if it is enabled.
:CALCulate:MARKer1:TRACe:AUTO ON or :CALCulate:MARKer1:TRACe:AUTO 1
:CALCulate:MARKer1:TRACe:AUTO?

Sets the X-axis value of the specified marker. The default unit is Hz; the query returns the marker's X-axis value in scientific notation.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies which marker to address.
paramrealHzConsecutive real number giving the marker X-axis value; valid within the current X-axis range.
string - The X-axis value of the specified marker, returned in scientific notation.
:CALCulate:MARKer1:X 150000000
:CALCulate:MARKer1:X?

Sets the readout mode of the X axis of the specified marker. Queries the readout mode of the X axis of the specified marker.

NameTypeValuesDescription
ndiscrete1 - 8
modeenumFREQuency | TIME | ITIMe | PERiodSelects the X-axis readout mode for the specified marker.

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

NameTypeValuesDescription
<n>discrete1 - 8Marker number.
statebooleanOFF | ON | 0 | 1Enables or disables auto readout mode.
boolean - Returns the auto readout mode of the specified marker as 0 or 1.
:CALCulate:MARKer1:X:READout:AUTO ON or :CALCulate:MARKer1:X:READout:AUTO 1
:CALCulate:MARKer1:X:READout:AUTO?

Sets the Y-axis value of the specified fixed marker. The query returns the Y-axis value of the specified marker in scientific notation, with a default unit of dBm.

NameTypeValuesDescription
ndiscrete1 - 8Specifies the marker number.
ampreal-170 - 30Sets the Y-axis value of the specified marker.
real (dBm) - The Y-axis value of the specified marker, returned in scientific notation.
:CALCulate:MARKer1:Y -59.6
:CALCulate:MARKer1:Y?

Sets the trace number of the trace where the marker stays in the Spectrogram view. Queries the trace number of the trace where the marker stays in the Spectrogram view.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
integerinteger1 - 8192
integer - The query returns the trace number in integer.
:CALCulate:MARKer1:Z:POSition <integer>
:CALCulate:MARKer1:Z:POSition?
: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 | TRACE6Trace that receives the math operation.
function_mathenumPDIFference | PSUM | LOFFset | LMOFFset | LDIFference | OFFMath operation function to apply.
trace1_operationenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Operand trace used as trace 1.
trace2_operationenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Operand trace used as trace 2.
rel_offsetreal-100 - 100Relative log offset used by LOFFset and LMOFFset operations.
rel_referencereal-170 - 30Relative log reference used by LDIFference operations.
enum - Returns the operation function of the specified trace.

Enables or disables the normalize function. Queries the status of normalization.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables normalization.
enum - The query returns 0 or 1.
:CALCulate:NTData:STATe ON or :CALCulate:NTData:STATe 1
:CALCulate:NTData:STATe?

Sets the sorting order of the data displayed in the peak table. Queries the current sorting order of the data displayed in the peak table.

NameTypeValuesDescription
modeenumFREQuency | AMPLitudeSorting order for the peak table.
:TRACe:MATH:PEAK:SORT AMPLitude
:TRACe:MATH:PEAK:SORT?

Sets the peak criteria that the displayed peak must meet. The query returns the current peak-criteria selection.

NameTypeValuesDescription
modeenumNORMal | DLMore | DLLessSelects which peak criteria the displayed peak must meet.
enum - Returns the current peak criteria as ALL (NORM), GTDL (DLM), or LTDL (DLL).

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

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the peak table.
enum - The query returns the peak table status.

Sets the trace average count of the current measurement. Queries the trace average count of the current measurement.

NameTypeValuesDescription
integerinteger1 - 10,000Trace average count.
:TRACe:AVERage:COUNt 100

Queries the current average times of the average trace.

integer - Returns the current trace average count.
:TRACe:AVERage:COUNt:CURRent?
:TRACe:CLEar:ALLset / query

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

:TRACe[:DATA]set / query

Loads user data into the specified trace. The query returns the data of the specified trace, with the return format depending on the setting of :FORMat[:TRACe][:DATA].

NameTypeValuesDescription
traceenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Specifies which trace to load or query.
datablock-User data block to load into the specified trace; may be a definite-length block or comma-separated ASCII data.
block - Returns the data of the specified trace. The returned data format depends on the setting of :FORMat[:TRACe][:DATA].
:TRACe:DATA TRACE1, -1.390530e+01, -7.108871e+01, -7.089631e+01, -6.992984e+01,
::TRACe:DATA? TRACE1
::TRACe:DATA
TRACE2,#9000003204111111111111111111111111111001111111111111111111111111111101110
:TRACe:DATA? TRACE2
:TRACe:MATH:Aset / query

Sets Op1 in the trace math operation formula to one of Trace 1 through Trace 6. Queries which trace is represented as Op1 in the trace math operation formula.

NameTypeValuesDescription
traceenumT1 | T2 | T3 | T4 | T5 | T6Selects the trace to assign to Op1.
:TRACe:MATH:A T2
:TRACe:MATH:A?
:TRACe:MATH:Bset / query

Sets Op2 in the trace math operation formula to Trace 1 through Trace 6. Queries which trace is Op2 represented in the trace math operation formula.

NameTypeValuesDescription
traceenumT1 | T2 | T3 | T4 | T5 | T6Trace selection for Op2.
:TRACe:MATH:B T1
:TRACe:MATH:B?

Sets the log offset in the trace math operation formula. Queries the log offset in the trace math operation formula.

NameTypeValuesDescription
integerreal-100 dB - 100 dBConsecutive real number log offset.
real - The query returns the log offset in scientific notation.
:TRACe:MATH:CONSt 50
:TRACe:MATH:CONSt?

Queries the frequencies and amplitudes of the peaks in the peak table. This command only queries Trace 1.

block - Returns the frequencies (Hz) and amplitudes in the peak table, with up to 20 frequency/amplitude pairs.
:TRACe:MATH:PEAK[:DATA]?

Queries the number of peaks in the peak table.

integer - Returns the number of peaks in the peak table.
:TRACe:MATH:PEAK:POINts?

Sets the log reference in the trace math operation formula. Queries the log reference in the trace math operation formula.

NameTypeValuesDescription
integerreal-170 dBm - 30 dBmConsecutive real number used as the log reference.
string - The query returns the log reference in scientific notation.
:TRACe:MATH:REFerence 50
:TRACe:MATH:REFerence?

Enables or disables the math operation of the trace. The query returns the current status of the math operation as 0 or 1.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the math operation.
integer - Returns the status of the math operation of the trace as 0 or 1.
:TRACe:MATH:STATe 1 or :TRACe:MATH:STATe ON
:TRACe:MATH:STATe?
:TRACe:MATH:TYPEset / query

Sets the operation type of the trace. Queries the current operation type of the trace.

enum - Returns the trace operation type.
:TRACe:MATH:TYPE A+B
:TRACe:MATH:TYPE?

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

Enables or disables auto calibration. The query returns the setting status of auto calibration.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables auto calibration.
enum - The query returns 0 or 1.
:CALibration:AUTO ON or :CALibration:AUTO 1
:CALibration:AUTO?

Queries the current measurement function.

enum - Returns the current measurement function as one of the listed abbreviations.

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

Sets the analyzer to be in the Density Spectrogram 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 EBW measurement state. This command is only available for GPSA mode.

:CONFigure:HDIStset / query

Sets the analyzer to be in the harmonic distortion measurement state.

Resets all the parameters in the current measurement mode.

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

Sets the analyzer to be in the OBW measurement state. This command is only available for GPSA mode.

Sets the analyzer to be in the PvT Spectrogram 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 PvT Spectrum measurement state. This command is only available for RTSA mode and will discontinue the current measurement, restoring the specified measurement to the default factory state.

:CONFigure:PVTset / query

Sets the analyzer to be in the PvT measurement state. This command is only available for RTSA mode and will discontinue the current measurement, restoring the specified measurement to the default factory state.

Sets the analyzer to the swept SA mode. This command is only available for GPSA mode and disables the currently activated measurement function.

Sets the analyzer to be in the Spectrogram measurement state. This command is only available for RTSA mode and will discontinue the current measurement and restore the specified measurement to the default factory state.

: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
modeenumALLSets all manual/auto settings to Auto.

Sets the brightness of the LCD backlight. Queries the brightness of the LCD backlight.

NameTypeValuesDescription
integerinteger1 - 100Backlight brightness level.
integer - The query returns the brightness of the LCD backlight in integer.
:DISPlay:BACKlight 50
:DISPlay:BACKlight?
:DISPlay:ENABleset / query

Turns on or off the LCD. Queries the status of 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 display of the graticule.
enum - The query returns 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
stateoptbooleanOFF | ON | 0 | 1Turns HDMI display on or off.
integer - The query returns 0 or 1.
:DISPlay:HDMI:STATe ON or :DISPlay:HDMI:STATe 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 that 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 X-axis scale per division.
string - Returns the X-axis scale value in scientific notation.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:PDIVision 0.00004

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
positionenumLEFT | CENTer | RIGHtPosition of the reference time on the horizontal axis.
enum - Returns the reference time position as LEFT, CENT, or RIGH.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition LEFT|CENTer|RIGHt
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition?

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

NameTypeValuesDescription
rel_amplreal0.1 dB - 20 dBUnit per division in the vertical axis of the PvT view.
real - 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 the curve nonlinearity for Density and Density Spectrogram in RTSA mode. The query returns the curve nonlinearity value in scientific notation.

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 the selected color palette.
: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 that sets 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 query returns 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 s - 10 sPersistence time.
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
stateenumOFF | ON | 0 | 1Enables or disables infinite persistence mode.
:DISPlay:VIEW:DENSity:PERSistence:INFinite ON
:DISPlay:VIEW:DENSity:PERSistence:INFinite 1
:DISPlay:VIEW:DENSity:PERSistence:INFinite?

Sets the current display view. Queries the current display view.

NameTypeValuesDescription
viewenumNORMal | SPECtrogram | DENSity | DSPectrogram | PVT | PVTSpectrum | PSPectrogramCurrent display view to select.
enum - Returns the current display view as one of the abbreviated keywords NORM, SPEC, DENS, DSP, PVT, PVTS, or PSP.
: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.

Sets or queries the bottom hue position displayed in the graticule. 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 value.
integer - Returns the bottom hue position displayed in the graticule.
:DISPlay:VIEW:SPECtrogram:BOTTom 40
:DISPlay:VIEW:SPECtrogram:BOTTom?

Sets the reference hue for the spectrogram color bar. The query returns the reference hue value in scientific notation.

NameTypeValuesDescription
realreal0 - 359.9Reference hue value.
real - The reference hue value.
: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,192Trace number to display in the spectrogram.
integer - The query returns the displayed trace number.
The following command sets the displayed trace number to 146. :DISPlay:VIEW:SPECtrogram:POSition 146

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

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

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

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Turns trace coupling on or off.
enum - Returns whether the marker is coupled to the trace.
:DISPlay:VIEW:SPECtrogram:TRACe:COUPle ON|OFF|1|0
:DISPlay:VIEW:SPECtrogram:TRACe:COUPle?

Sets the selection method for the displayed trace, or queries the current selection method.

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

Selects a window in the current view and queries the currently selected window type.

NameTypeValuesDescription
modeenumSPECtrum | PVTWindow type to select.
enum - Returns the currently selected window type.
:DISPlay:WINDow:SELect PVT
:DISPlay:WINDow:SELect?

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

NameTypeValuesDescription
amplrealdBmPosition of the display line in the current amplitude range.
real - Returns the position of the display line in scientific notation.
:DISPlay:WINDow:TRACe:Y:DLINe -10
:DISPlay:WINDow:TRACe:Y:DLINe?

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

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Display line state.
enum - Returns the display line status as 0 or 1.
:DISPlay:WINdow:TRACe:Y:DLINe:STATe ON or :DISPlay:WINdow:TRACe:Y:DLINe:STATe 1
:DISPlay:WINdow:TRACe:Y:DLINe:STATe?

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

NameTypeValuesDescription
rel_amplreal-200 dB - 200 dBConsecutive real number specifying the normalization reference level.
real - The query returns the reference level of normalization in scientific notation.
:DISPlay:WINDow:TRACe:Y:SCALe:NRLevel -20
:DISPlay:WINDow:TRACe:Y:SCALe:NRLevel?

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

NameTypeValuesDescription
integerinteger0% - 100%Reference position of normalization.
integer - The query returns the reference position of normalization in integer.
:DISPlay:WINDow:TRACe:Y:SCALe:NRPosition 50
:DISPlay:WINDow:TRACe:Y:SCALe:NRPosition?

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

NameTypeValuesDescription
rel_amplreal0.1 dB - 20 dBY-axis scale value.
:DISPlay:WINDow:TRACe:Y:SCALe:PDIVision 15
:DISPlay:WINDow:TRACe:Y:SCALe:PDIVision?

Sets the reference level and queries the reference level.

NameTypeValuesDescription
amplreal-170 dBm - 30 dBmReference level amplitude.
real - The query returns the reference level in scientific notation.
:DISPlay:WINDow:TRACe:Y:SCALe:RLEVel -10
:DISPlay:WINDow:TRACe:Y:SCALe:RLEVel?

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

NameTypeValuesDescription
modeenumLINear | LOGarithmicSelects the Y-axis scale type.
enum - The query returns LIN or LOG.
:DISPlay:WINDow:TRACe:Y:SCALe:SPACing LOGarithmic
:DISPlay:WINDow:TRACe:Y:SCALe:SPACing?

Queries the results of adjacent channel power measurement. It selects the latest measurement results and transmits them to the output buffer.

real - Returns five 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.
:FETCh:ACPower?
-5.150423000e+01,-5.173441000e+01,-2.301865000e-01,-5.142665000e+01,7.757568000e-02.

Queries the lower channel power of the adjacent channel power measurement. The return unit is consistent with the current Y-axis unit.

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

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

real (the current Y-axis unit) - Returns the main channel power in scientific notation.
:FETCh:ACPower:MAIN?
The following query returns -5.150423000e+01.

Queries the upper channel power of the adjacent channel power measurement. The query returns the upper channel power in scientific notation, with the power unit consistent with the current Y-axis unit.

real - The upper channel power in scientific notation.
:FETCh:ACPower:UPPer?

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

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

Queries the carrier power from the latest C/N ratio measurement results. Only valid when C/N ratio measurement in GPSA mode is enabled.

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

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

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

Queries the noise power from the latest C/N ratio measurement results. It is only valid when C/N ratio measurement in GPSA mode is enabled.

real - The noise power in scientific notation, with units consistent with the current Y-axis unit.
: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 Hz.
FETCh:EBWidth?

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

real - Returns the amplitudes of the first 10 harmonics in scientific notation, separated by commas; harmonics not measured do not have return values if fewer than 10 are under measurement.
:FETCh:HARMonics:AMPLitude:ALL?

Queries the percentage of the total harmonic distortion. It selects data from the latest measurement results and transmits the data 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, unmeasured harmonics have no return values.
:FETCh:HARMonics:FREQuency:ALL?

Queries the frequency of the fundamental waveform. It selects data from the latest measurement results and transmits it to the output buffer.

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

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

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

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

real (Hz) - The occupied bandwidth returned in scientific notation.
:FETCh:OBWidth:OBWidth?

Queries the transmit frequency error. It is only valid when the occupied bandwidth measurement in GPSA mode is enabled, and returns data from the latest measurement results.

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. It returns the measurement data of Trace n in scientific notation as x,y pairs separated by commas.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6Selects the trace number to return.
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. It selects data from the latest measurement results and transmits the data to the output buffer.

string (Hz) - Returns the TOI measurement results 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.
FETCh:TOIntercept?

Returns the minor value of the intercepts of the Third Order Lower and Third Order Upper. It selects data from the latest measurement results and transmits the data to the output buffer.

real - Returns the minor one in scientific notation.
:FETCh:TOIntercept:IP3?
:FETCh:TOIntercept:IP3?

Queries the result of T-power measurement. It selects the latest measurement result and transmits it to the output buffer.

real - Returns the T-power measurement result in scientific notation. The return 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
orderenumNORMal | SWAPpedBinary data byte order for transmission.
:FORMat:BORDer NORMal
:FORMat:BORDer?

Sets or 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 trace data format.
: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, or queries its current value. The register value is an 8-bit integer; bits 1 and 6 are always treated as 0.

NameTypeValuesDescription
valueinteger0 - 255Enable-register value for the standard event status register.
integer - Returns the integer value of the enable register; the value is 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 - The query returns the standard event status register as a decimal integer equal to the binary-weighted sum of all bits set in the register. Bit 1 and bit 6 are always 0.
*ESR?
*IDN?query

Queries the ID string of the instrument.

string - Returns the instrument ID string in the format Rigol Technologies,<model>,<serial number>,XX.XX.XX.
*IDN?
*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 - Returns 1 after the current operation is finished; otherwise returns 0.
*RCLset / query

Recalls the selected register.

NameTypeValuesDescription
integerinteger1 - 16Register 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 - 16Register number to save the current instrument state to.
*SAV 1
*SREset / query

Sets the enable register for the status byte register, and the query reads back that enable register. Bit 0 and Bit 1 are always treated as 0, so the valid decimal range corresponds to values from 0 to 255 with those bits cleared.

NameTypeValuesDescription
valueinteger0 - 255Enable register value.
integer - Returns the integer value of the status byte 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. The query returns a decimal integer corresponding to the current bit-weighted status byte value.

integer - Returns the status byte register value as an integer from 0 to 255, with bit 0 and bit 1 always regarded as 0.
*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.
*TST?
*WAIset / query

Waits for the current operation to finish before subsequent commands are executed.

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

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Selects continuous or single measurement mode.
enum - The query returns 0 or 1.
:INITiate:CONTinuous ON or :INITiate:CONTinuous 1
:INITiate:CONTinuous?

In non-measurement state, initializes a sweep. In measurement state, triggers a measurement.

Turns on or off the global center frequency of the instrument. Querying the command returns the current global center frequency setting.

NameTypeValuesDescription
stateenumALL | NONETurns the global center frequency on or off.
enum - Returns the current global center frequency setting.
: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. Queries the working mode of the instrument.

NameTypeValuesDescription
modeenum1 | 2Working mode selection.
enum - Returns the working mode of the instrument as 1 or 2.
: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.

:MMEMory:DELeteset / query

Deletes a specified file.

NameTypeValuesDescription
file_namestring-Path and filename of the file to delete.
:MMEMory:DELete /gpsa/state/state1.sta

Loads the edited FMT file (.csv). This operation fails if the specified file does not exist and is only available for RTSA mode.

NameTypeValuesDescription
labelenumUPPer | LOWerSelects the mask label to load the file into.
file_namestring-ASCII file name of the FMT file to load.
:MMEMory:LOAD:FMT upper,mask1.csv

Imports the edited limit line file (.csv).

NameTypeValuesDescription
labelenumLLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6Selects which limit line to load.
file_namestring-Specifies the CSV file to import.
:MMEMory:LOAD:LIMit LLINE1,upp1.csv

Imports the specified state file (.sta).

NameTypeValuesDescription
file_namestring-Name of the state file to import.
:MMEMory:LOAD:STATe state1.sta

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

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Trace destination label.
file_namestring-Name of the trace file to import.
:MMEMory:LOAD:TRACe TRACE2,t1.trs

Imports the specified measurement data file (.csv).

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Selects the trace label to import the data into.
file_namestring-Specifies the measurement data file name to import.
:MMEMory:LOAD:TRACe:DATA TRACE1,trace1.csv
:MMEMory:MOVEset / query

Renames the specified file <file_name1> as <file_name2>. Both file names should include the path and filename.

NameTypeValuesDescription
file_name1string-Source file to be renamed.
file_name2string-New file name for the renamed file.
:MMEMory:MOVE /gpsa/state/state1.sta,/gpsa/state/state2.sta

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

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

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

NameTypeValuesDescription
file_namestring-Filename for the marker table file.
: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 file already exists, it is overwritten.

NameTypeValuesDescription
file_namestring-ASCII string filename to use for the saved peak table.
MMEMory:STORe:PTABle PT1

Saves the current measurement results 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; the command is only valid when the advanced measurement function in GPSA mode is enabled.

NameTypeValuesDescription
file_namestring-Filename to use for the saved results.
:MMEMory:STORe:RESults data

Saves the current screen image with the specified filename suffixed with ".jpg", ".png", or ".bmp" to the default path ("/"mode name"/screen).

NameTypeValuesDescription
file_namestring-Filename used for the saved screen image.
:MMEMory:STORe:SCReen <file_name>

Saves the current instrument state with the specified filename suffixed with ".sta" to the default path ("/mode name"/state).

NameTypeValuesDescription
file_namestring-ASCII string filename to use when saving the current instrument state.
::MMEMory:STORe:STATe state

Saves the specified trace+state file with the specified filename suffixed with ".trs" to the default path ("/mode name"/tracestate).

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Selects which trace to save with its associated state.
file_namestring-Specifies the filename to use for the saved trace+state file.

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

NameTypeValuesDescription
labelenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Trace label to save.
file_namestring-Filename to use; the instrument appends ".csv".
: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 on/off status of the tracking generator 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. It is only available in GPSA mode.

string - Returns 5 values in scientific notation: main channel power, upper channel power, the upper-channel/main-channel power difference in dBc, lower channel power, and the lower-channel/main-channel power difference in dBc. Values are comma-separated.
-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.

real (consistent with the current Y-axis unit) - Returns the lower channel power in scientific notation.
:READ:ACPower:LOWer?

Executes one adjacent channel power measurement and returns the main channel power. The power unit of the return value is consistent with the current Y-axis unit; the command is only available in GPSA mode.

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

Executes one adjacent channel power measurement and returns the upper channel power. It selects data from the latest measurement results and transmits the data to the output buffer; available only in GPSA mode.

real (consistent with the current Y-axis unit) - 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 scientific notation, separated by commas.

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

real (dB) - The carrier power in scientific notation.

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 command selects data from the latest measurement results and is only available in GPSA mode.

real - The query returns the noise power in scientific notation. The power unit is consistent with the current Y-axis unit.

Executes one emission bandwidth measurement and returns the measurement results. This command selects data from the latest measurement results and transmits it to the output buffer; it is available only in GPSA mode.

real (Hz) - Returns the emission bandwidth measurement results in scientific notation.

Executes one harmonic distortion measurement and returns the amplitudes of the first 10 harmonics. The amplitudes are returned in scientific notation, separated by commas, and use the current Y-axis unit.

string - Returns the amplitudes of the first 10 harmonics in scientific notation, separated by commas. If fewer than 10 harmonics are being measured, unmeasured harmonics have no return value.
:READ:HARMonics:AMPLitude:ALL?

Executes one harmonic distortion measurement and returns the percentage of the total harmonic distortion.

real (%) - 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.

real (Hz) - 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. This command is only available for GPSA mode.

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

Executes one occupied bandwidth measurement and returns the measurement results. This command selects data from the latest measurement results and transmits it to the output buffer; it is only available in GPSA mode.

numeric (Hz) - Returns the occupied bandwidth and the transmit frequency error 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; available only in GPSA mode.

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 is only available in GPSA mode.

real (Hz) - Returns the transmit frequency error in scientific notation.

Queries the measurement results or trace data in the buffer. The query returns the measurement data of Trace n in scientific notation as paired (x,y) values separated by commas.

NameTypeValuesDescription
ninteger1 - 6Selects the trace number to read.
numeric (Hz) - Measurement data of Trace n returned in scientific notation as a sequence of paired (x,y) values separated by commas.
:FETCh:SANalyzer1?

Executes one TOI measurement and returns the measurement results. The return value is in the current Y-axis unit, and the query is only available in GPSA mode.

string - Returns TOI measurement results as a comma-separated list: 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 value of the intercept of the Third Order Lower or the Third Order Upper, whichever is smaller. It selects data from the latest measurement results and is only available in GPSA mode.

real - Returns the minor one in scientific notation.

Executes one T-power measurement and returns the measurement results. The returned power unit is consistent with the current Y-axis unit.

real - The query returns the T-power measurement result in scientific notation.

Selects the average type of the swept SA analysis measurement. Queries the average type of the swept SA analysis measurement.

NameTypeValuesDescription
<n>integer1 - 6Trace number to apply the setting to.
modeenumLOG | RMS | SCALarAverage type to select.
enum - Returns the average type of the swept SA analysis measurement.
:TRACe1:AVERage:TYPE LOG
:TRACe1:AVERage:TYPE?

Enables or disables the display of the specified trace. Queries the status for the specified trace.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6
statebooleanOFF | ON | 0 | 1Enables or disables trace display.
integer - The query returns 1 or 0.
:TRACe1:DISPlay:STATe ON or :TRACe1:DISPlay:STATe 1
:TRACe1:DISPlay:STATe?
:TRACe<n>:MODEset / query

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

NameTypeValuesDescription
ninteger1 - 6Specifies the trace number.
modeenumWRITe | AVERage | MAXHold | MINHoldSelects the trace type.
enum - Returns the current trace type.
:TRACe<n>:TYPEset / query

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

NameTypeValuesDescription
<n>integer1 - 6Specifies the trace number.
modeenumWRITe | AVERage | MAXHold | MINHoldSelects the trace type.
enum - Returns the type of the specified trace.

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

NameTypeValuesDescription
ndiscrete1 - 6Trace number.
stateenumOFF | ON | 0 | 1Enables or disables trace updating.
enum - Returns the update status of the specified trace as 1 or 0.
:TRACe1:UPDate:STATe ON or :TRACe1:UPDate:STATe 1
:TRACe1:UPDate:STATe?

:INPut:IMPedanceset / query

Sets the input impedance for voltage-to-power conversion and queries the input impedance for voltage-to-power conversion. The unit is Ω.

NameTypeValuesDescription
impedancediscrete50 | 75Selects the input impedance.
enum - Returns the input impedance value.

Sets the offset of the output amplitude of the tracking generator. Queries the offset of the output amplitude of the tracking generator.

NameTypeValuesDescription
rel_amplreal-200 - 200Offset of the tracking generator output amplitude.
real - The query returns the offset in scientific notation.
:SOURce:CORRection:OFFSet 10
:SOURce:CORRection:OFFSet?

Sets the output amplitude of the tracking generator. Queries the output amplitude of the tracking generator.

NameTypeValuesDescription
amplreal-40 dBm - 0 dBmOutput amplitude of the tracking generator.
real (dBm) - Returns the output amplitude of the tracking generator.

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

NameTypeValuesDescription
statebooleanOFF | ON | 0 | 1Controls 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.

NameTypeValuesDescription
integerinteger0 - 32767Enable register value; bits 15 and 12 through 8 are always treated as 0, and reserved bits may be set without affecting the instrument.

Queries the event register of the Operation Status Register.

integer - The event register of the Operation Status Register, returned as an integer.
: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 - The condition register of the Questionable Status Register.

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

NameTypeValuesDescription
integerinteger-Enable register value to set.
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 in integer form. Example value: 0.

Turns on or off the beeper. The query returns the beeper status.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Turns the beeper on or off.
enum - 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 setting mode.
enum - Returns 0 or 1.

Enables or disables the DHCP configuration mode. Queries the status of the DHCP configuration mode.

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

Sets or queries whether DNS is obtained automatically. ON/1 enables auto DNS mode; OFF/0 selects manual DNS mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Selects auto or manual DNS mode.
enum - Returns the current DNS auto mode state.
::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 address for the DNS, or queries the current backup DNS address. The address must be entered in dotted-decimal form and is only valid in manual DNS setting mode.

NameTypeValuesDescription
ip_addressstring-Backup DNS address in the format nnn.nnn.nnn.nnn.
string - The current backup DNS address in the format nnn.nnn.nnn.nnn.
SYSTem:COMMunicate:LAN:SELF:IP:DNSBack 172.16.2.2
SYSTem:COMMunicate:LAN:SELF:IP:DNSBack?

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

NameTypeValuesDescription
ip_addressstring-Preferred DNS server IP address in the format "nnn.nnn.nnn.nnn".
string - The query returns the currently preferred DNS address in the format "nnn.nnn.nnn.nnn".
:SYSTem:COMMunicate:LAN:SELF:IP:DNSPreferred 172.16.2.2
:SYSTem:COMMunicate:LAN:SELF:IP:DNSPreferred?

Sets the DNS server address. Queries the currently preferred DNS address for the DNS.

NameTypeValuesDescription
ip_addressstring-IPv4 address in the form nnn.nnn.nnn.nnn; first segment 1 to 223 except 127, other three segments 0 to 255.
string - The current preferred DNS address in the format nnn.nnn.nnn.nnn.
SYSTem:COMMunicate:LAN:SELF:IP:DNSServer 172.16.2.2
SYSTem:COMMunicate:LAN:SELF:IP:DNSServer?

Sets the default gateway. Queries the default gateway.

NameTypeValuesDescription
ip_addressstring-Default gateway address in nnn.nnn.nnn.nnn format.
string - The current default gateway in the format nnn.nnn.nnn.nnn.
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, with the address range described in the remarks.
string - The query returns the current subnet mask in the format nnn.nnn.nnn.nnn.
[?25l

Enables or disables the manual IP setting mode. The query returns the current status of the manual IP setting mode.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables manual IP setting mode.
: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 | 1Turns network information sending on or off.
enum - Returns 0 or 1 indicating the on/off status of the network information sending.
:SYSTem:COMMunicate:LAN:SELF:MDNS:STATe ON or :SYSTem:COMMunicate:LAN:SELF:MDNS:STATe 1
:SYSTem:COMMunicate:LAN:SELF:MDNS:STATe?

Queries the system information of the spectrum analyzer. The returned system information includes the model, serial number, software and hardware version number, and firmware version number.

returns - Returns the system information, for example model and serial number lines.
:SYSTem:CONFigure:INFormation?
:SYSTem:DATEset / query

Sets the date of the instrument. Queries the date of the instrument.

NameTypeValuesDescription
yearstring2000 - 2099
monthstring01 - 12
daystring01 - 31
string - The query returns the current date in the format of "YYYY,MM,DD".
:SYSTem:DATE 2017,11,16
:SYSTem:DATE?

Sets the power switch on the front panel to be turned on or off. Queries whether the power switch on the front panel is turned on or off.

NameTypeValuesDescription
stateoptbooleanOFF | ON | 0 | 1Front-panel power switch state.
:SYSTem:FSWitch[:STATe] OFF|ON|0|1
:SYSTem:FSWitch[:STATe]?
:SYSTem:LANGuageset / query

Sets or queries the instrument language.

enum - Returns the current language as ENGL or CHIN.
:SYSTem:LANGuage ENGLish
:SYSTem:LANGuage?
:SYSTem:LKEYset / query

Installs and activates the specified option.

NameTypeValuesDescription
option infostring-Indicates the order number of the option.
license infostring-Indicates the serial number of the option.

Queries whether a named option is activated or not.

NameTypeValuesDescription
option namestring-Name of the option to check.
enum - Returns 0 if the option is not activated and 1 if it is activated.
:SYSTem:OPTion:STATe? RSA3000-PA
:SYSTem:PON:TYPEset / query

Selects the setting type the instrument recalls at power-on. The query reports whether the instrument recalls preset settings or the last setting.

NameTypeValuesDescription
modeenumPRESet | LASTSelects the power-on setting type.
enum - Returns the current power-on setting type as PRES or LAST.
:SYSTem:PRESetset / query

Recalls the system's preset settings and restores the system to the state specified by :SYSTem:PRESet:TYPE.

Saves the specified user setting.

NameTypeValuesDescription
settingenumUSER1 | USER2 | USER3 | USER4 | USER5 | USER6User setting slot to save.
":SYSTem:PRESet:SAVE USER1"

Selects the system preset type. The query returns the current preset type as FACT, USER1, USER2, USER3, USER4, USER5, or USER6.

NameTypeValuesDescription
typeenumFACTory | USER1 | USER2 | USER3 | USER4 | USER5 | USER6Preset type to recall.
enum - Returns the preset type of the system as FACT, USER1, USER2, USER3, USER4, USER5, or USER6.
:SYSTem:PRESet:TYPe USER5
:SYSTem:PRESet:TYPe?

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

Enables or disables the SCPI display. The query returns the current SCPI display status.

NameTypeValuesDescription
stateenumOFF | ON | 0 | 1Enables or disables the SCPI display.
integer - Returns 0 or 1 indicating the SCPI display status.
:SYSTem:SHOWset / query

Displays the system-related information. Queries the system-related information.

NameTypeValuesDescription
modeenumOFF | SYSTem | OPTion | LICenseSelects which system-related information to display.
enum - Returns the system-related information status as a displayed category or off state.
:SYSTem:TIMEset / query

Sets the system time of the instrument, or queries the current system time. The query returns the time in the format HH,MM,SS.

NameTypeValuesDescription
hourinteger00 - 23Hour value of the system time.
minuteinteger00 - 59Minute value of the system time.
secondinteger00 - 59Second value of the system time.

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

NameTypeValuesDescription
timereal1 ms - 100 sTime to wait for the trigger to be initiated automatically.
real (s) - 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 or :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 2.
timereal0 μs - 500 msDelay time for the external trigger.
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 for the selected external trigger. Queries the status of the external trigger delay function.

NameTypeValuesDescription
ndiscrete1 - 2Selects External Trigger 1 or External Trigger 2.
stateenumOFF | ON | 0 | 1Enables or disables the external trigger delay function.
integer - Returns 1 or 0 to indicate the status of the external trigger delay function.
:TRIGger:SEQuence:EXTernal1:DELay:STATe OFF
:TRIGger:SEQuence:EXTernal1:DELay:STATe?

Sets the trigger edge for the external trigger. Queries the trigger edge for the external trigger.

NameTypeValuesDescription
ndiscrete1 - 2Selects External Trigger 1 or 2.
edgeenumPOSitive | NEGativeSets 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, and the query returns the current trigger criteria. This command is only valid when FMT is selected as the trigger source in RTSA mode.

NameTypeValuesDescription
criteriaenumENTer | LEAVe | INSide | OUTSide | ELEave | LENTerTrigger criteria for FMT.
enum - Returns ENT, LEAV, INS, OUTS, ELE, or LENT.
:TRIGger:SEQuence:FMT:CRITeria ENTer
:TRIGger:SEQuence:FMT:CRITeriar?

Sets the delay time for FMT and queries the current FMT delay time. The command is only valid when FMT is selected as the trigger source in RTSA mode and FMT trigger delay is enabled.

NameTypeValuesDescription
timereal0 us - 500 msDelay time for FMT trigger delay.
real (s) - The query returns the delay time for FMT in scientific notation.

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

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

Sets the mask to be used for the current trigger, or queries the current trigger mask. This command is only valid when FMT is selected as the trigger source in RTSA mode.

NameTypeValuesDescription
maskenumUPPer | LOWer | BOTHMask selection for the current trigger.
enum - Returns the current mask setting as UPP, LOW, or BOTH.
: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 currently viewed or edited.
:TRIGger:SEQuence:FMT:MASK:EDIT UPPer
:TRIGger:SEQuence:FMT:MASK:EDIT?

Sets whether the amplitudes of the mask points are coupled to the reference level of the instrument. Queries whether the amplitudes of the mask points are coupled to the reference level of the instrument.

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Enables or disables coupling of mask point amplitudes to the instrument reference level.
enum - Returns whether the amplitudes of the mask points are coupled to the reference level of the instrument.

Sets whether the frequencies of the mask points are coupled to the center frequency of the instrument. Queries whether the frequencies of the mask points are coupled to the center frequency of the instrument.

NameTypeValuesDescription
stateenumON | OFF | 1 | 0Enables or disables the frequency coupling function.
enum - Returns 1 or 0 indicating whether the frequencies of the mask points are coupled to the center frequency.

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

NameTypeValuesDescription
ninteger1 - 2Selects which mask is being edited; 1 indicates the upper mask and 2 indicates the lower mask.
traceenumTRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6Specifies the trace used to create the mask.
:TRIGger:SEQuence:FMT:MASK1:BUILd TRACE1

Edits the mask parameters. Queries the mask parameters.

NameTypeValuesDescription
freqreal-Frequency of a mask point.
amplreal-Amplitude of a mask point.

Deletes all the masks. This command is only valid when FMT is selected as the trigger source in RTSA mode.

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

Clears the currently activated mask and creates a default new mask. The index selects whether the upper or lower mask is being edited.

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

Sets the trigger holdoff time. Queries the trigger holdoff time.

NameTypeValuesDescription
timereal100 us - 500 msTrigger holdoff time in GPSA mode.
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 - Returns 1 when the trigger holdoff function is enabled and 0 when it is disabled.
:TRIGger:SEQuence:HOLDoff:STATe ON or :TRIGger:SEQuence:HOLDoff:STATe 1

Sets the trigger source. Queries the trigger source.

NameTypeValuesDescription
sourceenumEXTernal1 | EXTernal2 | IMMediate | VIDeo | FMT | POWerTrigger source selection.
: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 msDelay time for the video trigger.
real (μs) - Returns the delay time for the video trigger.

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

NameTypeValuesDescription
statebooleanOFF | ON | 0 | 1Enables or disables the video trigger delay function.
enum - Returns the status of the video trigger delay function as 1 or 0.
: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.
real (dBm) - Returns the trigger level of the video trigger.

Sets or queries the polarity of the video trigger. This command is only available in GPSA mode.

NameTypeValuesDescription
polarityenumPOSitive | NEGativeSets the polarity 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 | 1Selects the interface type of External Trigger 2.
enum - The query returns 0 or 1.
:TRIGger2:MODE IN
:TRIGger2:MODE?

:UNIT:POWerset / query

Sets the unit of the Y axis. The query returns the current Y-axis unit.

NameTypeValuesDescription
modeenumDBM | DBMV | DBUV | V | WUnit of the Y axis.
enum - Returns the unit of the Y axis.
:UNIT:POWer W
:UNIT:POWer?