Aborts the current measurement.
SCPI COMMAND REFERENCE
The Rigol RSA6085 is Rigol's spectrum analyzer in the RSA6000 Series family. Its SCPI remote-control interface exposes 272 commands across 22 subsystems - 221 settable and 51 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.
272
Commands
221
Settable
51
Queries
22
Subsystems
SCPI
Verified
2026-07-16
All commands
Sets the N value used in N dB bandwidth measurement, and the query returns that N value in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| rel_ampl | real | -140 dB - -0.01 dB | Relative amplitude level N used for the N dB bandwidth measurement. |
:CALCulate:BANDwidth:NDB -4 :CALCulate:BWIDth:NDB -4 :CALCulate:BANDwidth:NDB? :CALCulate:BWIDth:NDB?
Queries the measurement results of the N dB band. The query returns the bandwidth value in scientific notation; if the two points on either side of the current marker at N dB are not found, it returns -1.000000000e+02.
:CALCulate:BANDwidth:NDB? :CALCulate:BWIDth:NDB?
Queries the measurement value located at the left side of the current marker at the N dB fall or rise point. The query returns the value in scientific notation; if the frequency point is not found, it returns -1.000000000e+02.
:CALCulate:BANDwidth:RLEFt?
Queries the measurement value located at the right side of the current marker with N dB fall or rise in its peak amplitude. The query returns the measurement value in scientific notation.
Enables or disables the N dB bandwidth measurement function. Queries the on/off status of the N dB bandwidth measurement function.
| Name | Type | Values | Description |
|---|---|---|---|
| boolopt | enum | OFF | ON | 0 | 1 | Turns the N dB bandwidth measurement function on or off. |
Deletes all the limit line data.
Enables or disables the limit line test. Queries the on/off state of the limit line test.
| Name | Type | Values | Description |
|---|---|---|---|
| boolopt | enum | OFF | ON | 0 | 1 | Enables or disables the limit line test. |
Enables or disables the display of the specified limit line. The query returns the display state of the limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Limit line number to apply the command to. |
| stateopt | enum | OFF | ON | 0 | 1 | Turns the limit line display off or on. |
:CALCulate:LLINe1:DISPlay:STATe ON or :CALCulate:LLINe1:DISPlay:STATe 1 :CALCulate:LLINe1:DISPlay:STATe?
Sets or queries the trace to be tested against the current limit line. Limit Line 1 and 2 default to Trace 1; Limit Line 3 and 4 default to Trace 2.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Limit line number. |
| trace | integer | 1 - 6 | Trace number to be tested against the current limit line. |
Deletes the current limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Limit line number to delete. |
:CALCulate:LLINe2:DELete
Sets or queries the description of the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | integer | 1 - 6 | Specifies the limit line number. |
| <string> | string | - | ASCII string describing the limit line. |
:CALCulate:LLINe1:DESCription RIGOL1998 :CALCulate:LLINe1:DESCription?
Sets or queries the comment for the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | integer | 1 - 6 | Limit line number to select. |
| <string> | string | - | Comment text for the specified limit line. |
Sets the margin for the selected limit line. Queries the margin for the selected limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Selects the limit line number. |
| rel_ampl | real | -40 - 0 | Sets the margin value. |
:CALCulate:LLINe2:MARGin 1 dB :CALCulate:LLINe2:MARGin?
Enables or disables the margin for the selected limit line. Queries the setting state of the margin for the selected limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Selected limit line number. |
| bool | boolean | - | Turns the margin state off or on. |
Set the Y offset of the specified limit line. Queries the Y offset of the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Limit line number. |
| real_ampl | real | 0 dB - 40 dB | Y offset value. |
:CALCulate:LLINe2:OFFSet:Y 10 :CALCulate:LLINe2:OFFSet:Y?
Sets the X offset of the specified limit line. The query returns the X offset in Hz.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Limit line number. |
| real_ampl | real | -50 Hz - 50 Hz | X offset value. |
:CALCulate:LLINe2:OFFSet:Y 10 The following query returns 10.
Applies the offset to the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Limit line number to update. |
:CALCulate:LLINe1:OFFSet:UPDate
Enables or disables the coupling between the selected limit line data points and the center frequency. The query returns the current state as 0 or 1.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Limit line number. |
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the coupling function. |
:CALCulate:LLINe2:FREQuency:CMODe:RELative OFF :CALCulate:LLINe2:FREQuency:CMODe:RELative 0 :CALCulate:LLINe2:FREQuency:CMODe:RELative?
Enables or disables the coupling function between the selected limit line data points and the reference level. The query returns the current coupling state.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Selects the limit line data point set to modify. |
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the coupling function. |
:CALCulate:LLINe2:AMPLitude:CMODe:RELative OFF or :CALCulate:LLINe2:AMPLitude:CMODe:RELative 0 :CALCulate:LLINe2:AMPLitude:CMODe:RELative?
Sets the amplitude interpolation type of the specified limit line. Queries the amplitude interpolation type of the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Specifies the limit line index. |
| type | enum | LINear | LOG | Selects the amplitude interpolation type. |
:CALCulate:LLINe2:AMPLitude:INTerpolate:TYPE LINear :CALCulate:LLINe2:AMPLitude:INTerpolate:TYPE?
Sets the frequency interpolation type of the specified limit line. Queries the frequency interpolation type of the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | |
| type | enum | LINear | LOG | Selects the interpolation type. |
:CALCulate:LLINe2:CONTrol:INTerpolate:TYPE LINear :CALCulate:LLINe2:CONTrol:INTerpolate:TYPE?
Sets the type of the specified limit line. Queries the type of the specified limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Limit line number. |
| enum | enum | UPPer | LOWer | Selects upper or lower limit line type. |
Builds the limit line from the selected trace.
| Name | Type | Values | Description |
|---|---|---|---|
| trace | enum | TRACe1 | TRACe2 | TRACe3 | TRACe4 | TRACe5 | TRACe6 |
:CALCulate:LLINe2:BUILd TRACe2
Copies the selected limit line to the current limit line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | |
| copy | enum | LLINe1 | LLINe2 | LLINe3 | LLINe4 | LLINe5 | LLINe6 |
:CALCulate:LLINe2:COPY LLINe1
Turns off all the enabled markers.
Sets the marker coupling state. Queries the on/off state of the marker coupling.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Marker coupling state. |
Sets the excursion of the peak. Its unit is dB. Queries the excursion of the peak.
| Name | Type | Values | Description |
|---|---|---|---|
| ampl | real | 0 dB - 100 dB | Excursion of the peak. |
Enables or disables the peak excursion state. The query returns the on/off state as 0 or 1.
| Name | Type | Values | Description |
|---|---|---|---|
| <bool> | boolean | OFF | ON | 0 | 1 | Enables or disables peak excursion. |
:CALCulate:MARKer:PEAK:EXCursion:STATe ON or :CALCulate:MARKer:PEAK:EXCursion:STATe 1 :CALCulate:MARKer:PEAK:EXCursion:STATe?
Sets the peak search mode and queries the current peak search mode. The command is only valid for peak search executed by the :CALCulate:MARKer<n>:MAXimum command.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | PARameter | MAXimum | Selects whether peak search uses the specified parameter or the maximum value on the trace. |
Sets the sorting order of the data displayed in the peak table. Queries the sorting order of the data displayed in the peak table.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | FREQuency | AMPLitude | Sorting order for the peak table. |
:CALCulate:MARKer:PEAK:SORT AMPLitude :CALCulate:MARKer:PEAK:SORT?
Sets the peak table readout. Queries the peak table readout.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | ALL | GTDLine | LTDLine | Selects which peaks are listed in the peak table readout. |
Enables or disables the peak table. Queries the on/off status of the peak table.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the peak table. |
::CALCulate:MARKer:PEAK:TABLe:STATe ON or :CALCulate:MARKer:PEAK:TABLe:STATe 1 ::CALCulate:MARKer:PEAK:TABLe:STATe?
Sets the peak threshold. The default unit is dBm, and the query reads back the peak threshold in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| ampl | real | -200 dBm - 0 dBm | Peak threshold amplitude. |
The following command sets the peak threshold to -100 dB. :CALCulate:MARKer:PEAK:THReshold -100
Sets the peak threshold state. Queries the peak threshold state.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the peak threshold function. |
:CALCulate:MARKer:PEAK:THReshold:STATe ON or :CALCulate:MARKer:PEAK:THReshold:STATe 1 :CALCulate:MARKer:PEAK:THReshold:STATe?
Sets the status of the threshold line.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 |
Moves to the next marker.
Sets the marker table state. Queries the on/off state of the marker table.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | On/off state of the marker table. |
:CALCulate:MARKer:TABLe:STATe OFF or :CALCulate:MARKer:TABLe:STATe 0 :CALCulate:MARKer:TABLe:STATe?
Sets the status of the signal track. Queries the on/off status of the signal track.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | On/off state for signal track. |
Sets or queries the type of the specified marker. The command is valid only in GPSA mode; PvT only supports setting the marker on Trace 1.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number. |
| mode | enum | POSition | DELTa | FIXed | OFF | Marker type to set. |
:CALCulate:MARKer1:MODE POSition :CALCulate:MARKer1:MODE?
Performs the Pk-Pk search.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number to which the command applies. |
Sets the reference marker for the specified marker. Queries the reference marker for the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Specifies which marker is being configured. |
| integer | integer | 1 - 8 | The marker number to use as the reference marker. |
:CALCulate:MARKer1:REFerence 2 :CALCulate:MARKer1:REFerence?
Enables or disables the marker line of the specified marker. Queries the setting state for the marker line of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| state | boolean | - |
Enables or disables continuous peak search for the specified marker. The query returns the on/off status of continuous peak search as 0 or 1.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Marker number. |
| bool | enum | OFF | ON | 0 | 1 | Turns continuous peak search off or on. |
:CALCulate:MARKer1:CPSearch:STATe ON or :CALCulate:MARKer1:CPSearch:STATe 1 :CALCulate:MARKer1:CPSearch:STATe?
Sets the on/off status of continuous Min search. Queries the on/off status of continuous Min search.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | |
| bool | boolean | OFF | ON | 0 | 1 |
Sets the gate time for the specified marker. Queries the gate time for the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies the marker number. |
| time | real | 1 us - 500 ms | Gate time for the specified marker. |
:CALCulate:MARKer2:FCOunt:GATetime 0.01 :CALCulate:MARKer2:FCOunt:GATetime?
Turns on or off the auto gate time for the specified marker. Queries the on/off status of the auto gate time for the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Marker number to select. |
| bool | enum | OFF | ON | 0 | 1 | Turns auto gate time off or on. |
Enables or disables the marker counter, and queries its on/off status. This command is only available in GPSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number. |
| bool | boolean | OFF | ON | 0 | 1 | Turns the marker counter off or on. |
:CALCulate:MARKer2:FCOunt:STATe ON or :CALCulate:MARKer2:FCOunt:STATe 1 :CALCulate:MARKer2:FCOunt:STATe?
Queries the frequency count X of the specified marker counter.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Sets the band function type. Queries the band function type.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | integer | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| <func> | enum | NOISe | BPOWer | BDENsity | OFF | Selects the band function type. |
The following command sets the measurement type of Marker 1 to noise measurement. The following query returns NOIS.
Sets the left edge frequency or time for the band of the selected marker. Queries the left edge frequency or time for the band of the selected marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Marker index. |
| freq | - | - | Left edge frequency or time for the selected marker band. |
Sets or queries the right edge frequency or time for the band of the selected marker. The command is valid only when the corresponding bandwidth function is enabled, and it applies in zero span mode in GPSA mode or in PvT view in RTSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Selected marker number. |
| freq | real | band left - +∞ | Right edge frequency or time for the band of the selected marker. |
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt 4000000000 :CALCulate:MARKer1:FUNCtion:BAND:RIGHt?
Sets the band span of the specified marker. Queries the band span of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Specified marker number. |
| freq | real | 0 - +∞ | Band span value to set. |
:CALCulate:MARKer1:FUNCtion:BAND:SPAN 500000000 :CALCulate:MARKer1:FUNCtion:BAND:SPAN?
Sets the band span auto state of the specified marker. Queries the band span auto state of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Marker number. |
| bool | boolean | OFF | ON | 0 | 1 | Turns band span auto on or off. |
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO ON
Performs one peak search based on the peak search mode set by :CALCulate:MARKer:PEAK:SEARch:MODE, and marks the result with the specified marker. If no peak is found, a "No peak found" message is displayed.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number to use. |
:CALCulate:MARKer2:MAXimum
Searches for and marks the nearest peak located to the left of the current peak that meets the peak search condition.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Marker number. |
:CALCulate:MARKer2:MAXimum:LEFT
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Marker number to use. |
Searches for and marks the nearest peak located to the right of the current peak, meeting the peak search condition.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number to use. |
:CALCulate:MARKer2:MAXimum:RIGHt
Searches for and marks the peak with the minimum amplitude on the trace.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 |
:CALCulate:MARKer2:MINimum
Sets the frequency of the specified marker to the center frequency of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies which marker is affected. |
:CALCulate:MARKer1:SET:CENTer
Sets the frequency difference of the specified Delta marker to the center frequency of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | enum | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies which marker is affected. |
:CALCulate:MARKer1:SET:DELTa:CENTer
Sets the frequency difference of the specified Delta marker to the span of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Sets the amplitude of the specified marker to the reference level of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies which marker is affected. |
Sets the frequency of the specified marker to the start frequency of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies which marker is affected. |
Sets the frequency of the specified marker to the center frequency step of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number. |
:CALCulate:MARKer4:SET:STEP
Sets the frequency of the specified marker to the stop frequency of the analyzer.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Marker number. |
:CALCulate:MARKer2:SET:STOP
Sets the marker trace for the specified marker. Queries the marker trace for the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | |
| integer | integer | 1 - 7 | Selects the marker trace; the range is Trace 1 to Trace 6, and 7 is used for PvT view of RTSA mode. |
:CALCulate:MARKer1:TRACe 2 :CALCulate:MARKer1:TRACe?
Enables or disables automatic trace marking for the specified marker. The query returns the auto-trace status as 0 or 1.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Marker number to select. |
| bool | enum | OFF | ON | 0 | 1 | Enables or disables auto trace marking. |
:CALCulate:MARKer1:TRACe:AUTO 1 :CALCulate:MARKer1:TRACe:AUTO?
Sets the X-axis value of the specified marker. Queries the X-axis value of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| param | real | Hz | X-axis value to assign to the specified marker. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | - | - |
Enables or disables the auto readout mode of the specified marker. When enabled, the readout mode is re-determined based on the destination trace if the marker trace changes.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 8 | Marker number. |
| bool | boolean | OFF | ON | 0 | 1 | Turns auto readout mode off or on. |
:CALCulate:MARKer1:X:READout:AUTO ON or :CALCulate:MARKer1:X:READout:AUTO 1 :CALCulate:MARKer1:X:READout:AUTO?
Sets the X-axis position of the trace at the specified marker. Queries the X-axis position of the trace at the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Marker number. |
| <index> | integer | - | X-axis position index for the specified marker. |
:CALCulate:MARKer1:X 100 :CALCulate:MARKer1:X?
Sets the Y-axis value of the specified marker. Queries the Y-axis value of the specified marker; if the marker mode is Delta, the query returns the Y-axis difference between the reference marker and the Delta marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Marker number. |
| amp | real | -170 dBm - +30 dBm | Y-axis value to set for the specified marker. |
The following command sets Y-axis value at Fixed Marker 1 to -59.6 dBm. :CALCulate:MARKer1:Y -59.6 The following query returns -5.960000000e+01. :CALCulate:MARKer1:Y?
Queries the Z-axis value of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Specifies the marker number. |
:CALCulate:MARKer1:Z?
Sets the trace number of the specified marker in the Spectrogram view. Queries the trace number of the specified marker in the Spectrogram view.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| integer | integer | 1 - 8192 |
:CALCulate:MARKer1:Z:POSition 100 :CALCulate:MARKer1:Z:POSition?
Sets up a math calculation using a destination trace, math function, trace operations, and relative offset/reference. The slice also shows a query form with TRACE1|TRACE2|TRACE3|TRACE4|TRACE5|TRACE6, but it does not document what the query returns.
| Name | Type | Values | Description |
|---|---|---|---|
| trace_destination | discrete | - | Destination trace for the math calculation. |
| function_math | discrete | - | Math function to apply. |
| trace1_operation | discrete | - | Operation applied to trace 1. |
| trace2_operation | discrete | - | Operation applied to trace 2. |
| rel_offset | discrete | - | Relative offset used in the calculation. |
| rel_reference | discrete | - | Relative reference used in the calculation. |
:CALCulate:MATH? TRACE1|TRACE2|TRACE3|TRACE4|TRACE5|TRACE6
Enables or disables the normalize function. The query returns the normalization status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Turns normalization off or on. |
Sets the limit value in OBW measurement. Queries the limit value in OBW measurement.
| Name | Type | Values | Description |
|---|---|---|---|
| freq | real | 1 kHz - Fmax | Limit frequency value for the OBW measurement. |
:CALCulate:OBWidth:LIMit:FBLimit 1 :CALCulate:OBWidth:LIMit:FBLimit?
Sets or queries the OBW measurement limit state. This command is only valid for the OBW measurement in GPSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Limit state to set for the OBW measurement. |
:CALCulate:OBWidth:LIMit[:TEST] <bool> :CALCulate:OBWidth:LIMit[:TEST]?
Queries the result of the limit line test.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | 3 | 4 | 5 | 6 | Selects which limit line test result to query. |
Queries the result of the trace line test.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | Trace line index. |
Executes self-calibration immediately.
:CALibration:ALL
Enables or disables auto calibration. The query reports the current auto-calibration setting.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables auto calibration. |
:CALibration:AUTO ON or :CALibration:AUTO 1 :CALibration:AUTO?
Queries the current measurement function.
Queries the currently supported measurement application.
Sets the auto coupling function.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | ALL | NONE | Selects auto coupling on or off. |
:COUPle NONE
Enables or disables the auto scale function for the horizontal axis in the PvT view. Queries the status of the auto scale function for the horizontal axis in the PvT view.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables auto scale for the horizontal axis in the PvT view. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 20 us - 4 s |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| real | real | -1 s - 40 s | Reference time for the horizontal axis in the PvT view. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| position | enum | LEFT | CENTer | RIGHt | Position of the reference time on the horizontal axis. |
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition LEFT :DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition?
Sets the current display view. Queries the current display view.
| Name | Type | Values | Description |
|---|---|---|---|
| view | enum | NORMal | SPECtrogram | DENSity | DSGRam | PVTime | PSPectrum | PSGRam | CNR | ACP | TOI | CHP | TP | OBW | HD | Current display view to select. |
:DISPlay:VIEW:SELect SPECtrogram :DISPlay:VIEW:SELect?
Sets the persistence in the Density view. Queries the persistence in the Density view.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | - | Persistence time for the Density display view. |
Enables or disables the infinite mode of the persistence time. Queries the on/off status of the infinite mode of the persistence time.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables infinite persistence mode. |
:DISPlay:VIEW:DENSity:PERSistence:INFinite ON or :DISPlay:VIEW:DENSity:PERSistence:INFinite 1 :DISPlay:VIEW:DENSity:PERSistence:INFinite?
Sets the highest density hue. Queries the highest density hue.
| Name | Type | Values | Description |
|---|---|---|---|
| real | real | - | The highest density hue value. |
Sets the lowest density hue. Queries the lowest density hue.
| Name | Type | Values | Description |
|---|---|---|---|
| real | real | 0 - 99.9 | Lowest density hue value. |
The following command sets the lowest density hue in the Density view to 30. The following query returns 3.000000e+01. :DISPlay:VIEW:DENSity:LDHue 30 :DISPlay:VIEW:DENSity:LDHue?
Sets the curve nonlinearity. Queries the curve nonlinearity.
| Name | Type | Values | Description |
|---|---|---|---|
| real | real | 0.1 - 100 | Curve nonlinearity value. |
Sets the color palette of Density view. Queries the color palette of Density view.
| Name | Type | Values | Description |
|---|---|---|---|
| capl | enum | COOL | WARM | RADar | FIRE | FROSt | Color palette for the Density view. |
:DISPlay:VIEW:DENSity:CPALettes COOL :DISPlay:VIEW:DENSity:CPALettes?
Sets the highest density hue to the highest density value found in the current bitmap, and sets the lowest density hue to the lowest density value found in the current bitmap. This command is only available for Density and Density Spectrogram views in RTSA mode.
Sets the truncation state in the Density view. Queries the truncation state in the Density view.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Truncation state to set for the Density view. |
:DISPlay:VIEW:DENSity:TRUNcation ON :DISPlay:VIEW:DENSity:TRUNcation 1 :DISPlay:VIEW:DENSity:TRUNcation?
Sets the trace display type in the Spectrogram view. Queries the trace display type in the Spectrogram view.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | TIME | TNUMber | Trace display type for the Spectrogram view. |
:DISPlay:VIEW:SPECtrogram:TRACe:SELection TIME
Sets the X-axis spacing mode for the display window trace. Queries the X-axis scale type.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 1 | Display window number; 1 is valid in the documented context. |
| enum | enum | LINear | LOGarithmic | X-axis scale type. |
:DISPlay:WINDow1:TRACe:X:SCALe:SPACing LOGarithmic :DISPlay:WINDow1:TRACe:X:SCALe:SPACing?
Sets the position of the time line and queries the position of the time line.
| Name | Type | Values | Description |
|---|---|---|---|
| ampl | integer | - | Position value for the time line. |
Sets the state of the time line. Queries the state of the time line.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | ON | OFF | Boolean state of the time line. |
:DISPlay:WINDow1:TRACe:X:TLINe1:STATe 1 or :DISPlay:WINDow1:TRACe:X:TLINe1:STATe ON :DISPlay:WINDow1:TRACe:X:TLINe1:STATe?
Sets or queries the Y-axis delta line position for a trace display window. The query returns the position as a real value with units of seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Display window number. |
| dlnum | discrete | 1 - 4 | Delta line number. |
| ampl | real | 0 s - 1 Ps | Delta line position. |
Enables or disables the display line. Queries the on/off status of the display line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Selects the window context for the display line. |
| dlnum | discrete | 1 - 4 | Selects the display line number. |
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the display line. |
Sets or queries the reference level of normalization for the specified display window trace. This command is only available for the RSA6000-TG model in GPSA mode and only when the tracking generator function is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | |
| rel_ampl | real | -200 dB - 200 dB |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | |
| integer | integer | 0% - 100% |
:DISPlay:WINDow1:TRACe:Y:SCALe:NRPosition 50 :DISPlay:WINDow1:TRACe:Y:SCALe:NRPosition?
Sets the Y-axis scale type. Queries the Y-axis scale type.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 4 | 7 | 8 | Display window number: 1 for normal measurement and advanced measurement in GPSA mode / normal view in RTSA mode, 4 for waterfall window in RTSA mode, 7 for density view in RTSA mode, and 8 for PvT trace view in RTSA mode. |
| rel_ampl | real | 0.1 - 20 | Y-axis scale value. |
:DISPlay:WINDow1:TRACe:Y:SCALe:PDIVision 15 :DISPlay:WINDow1:TRACe:Y:SCALe:PDIVision?
Sets the reference level. Queries the reference level.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 8 | Selects the display window/view: 1 normal measurement and advanced measurement in GPSA mode; normal view in RTSA mode, 4 waterfall window in RTSA mode, 7 density view in RTSA mode, or 8 PvT trace view in RTSA mode. |
| ampl | real | -170 - 30 | Sets the reference level amplitude. |
:DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel 0 :DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel?
Sets the reference level offset. Queries the reference level offset.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 4 | 7 | 8 | Selects the window/view to apply the command to. |
| rel_ampl | real | -300 dB - 300 dB | Sets the reference level offset. |
:DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel:OFFSet 10 :DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel:OFFSet?
Sets the Y-axis scale type. Queries the Y-axis scale type.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 4 | 7 | 8 | Selects the display window or trace view: 1 for normal measurement and advanced measurement in GPSA mode; normal view in RTSA mode, 4 for waterfall window in RTSA mode, 7 for density view in RTSA mode, and 8 for PvT trace view in RTSA mode. |
| enum | enum | LINear | LOGarithmic | Sets the Y-axis scale type. |
Sets the display trace in the Waterfall view. Queries the display trace in the Waterfall view.
| Name | Type | Values | Description |
|---|---|---|---|
| position | integer | 1 - 8,192 |
:DISPlay:WINDow4:TRACe:Position 5 :DISPlay:WINDow4:TRACe:Position?
Sets the display trace in the Waterfall view when the display mode is Time. Queries the display trace expressed in time in the Waterfall view when the display mode is Time.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | -300 dB - 300 dB | Display trace value expressed in time. |
Sets the trace coupling relationship between marker Z and trace position. Queries the trace coupling relationship between marker Z and trace position.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables trace coupling between marker Z and trace position. |
:DISPlay:WINdow4:TRACe:COUPle ON or :DISPlay:WINdow:TRACe:COUPle 1 :DISPlay:WINdow4:TRACe:COUPle?
Sets the reference hue in the Waterfall window. This command is only available for RTSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| real | real | 0 - 359.9 | Reference hue value for the Waterfall window. |
Sets the reference hue position in the Waterfall window. Queries the reference hue position in the Waterfall window.
| Name | Type | Values | Description |
|---|---|---|---|
| <integer> | integer | Max (10%, bottom hue value + 10%) - 100.0 |
:DISPlay:WINDow4:REFerence10 :DISPlay:WINDow4:REFerence?
Sets the bottom hue position in the Waterfall window. This command is only available for RTSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| <integer> | real | 0 - Min (90%, reference position value - 10%) | Bottom hue position in the Waterfall window. |
Auto adjusts the hue position in the Waterfall window.
Queries the results of C/N ratio measurement. The query returns the carrier power, noise power, and C/N ratio in scientific notation, separated by commas.
:FETCh:CNRatio?
Queries the carrier power.
:FETCh:CNRatio:CARRier? The following query returns -1.484203000e+01. :FETCh:CNRatio:CARRier?
Queries the C/N ratio measurement result. It is only valid when the C/N ratio measurement is enabled in GPSA mode.
Queries the noise power. The returned value is given in scientific notation and uses the current Y-axis unit.
:FETCh:CNRatio:NOISe?
Queries the results of the adjacent channel power measurement. The query returns five comma-separated values in scientific notation: main channel power, upper channel power, upper-channel difference in dBc, lower channel power, and lower-channel difference in dBc.
:FETCh:ACPower?
Queries the lower channel power of the adjacent channel power measurement.
Queries the main channel power of the adjacent channel power measurement.
:FETCh:ACPower:MAIN?
Queries the upper channel power of the adjacent channel power measurement.
FETCh:ACPower:UPPer?
Queries the amplitudes of the first 10 harmonics. The first harmonic is the fundamental waveform.
Queries the amplitude of the specified harmonic.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 |
Queries the percentage of the total harmonic distortion.
:FETCh:HARMonics:DISTortion?
Queries the frequencies of the first 10 harmonics. The first harmonic is the fundamental waveform.
FETCh:HARMonics:FREQuency:ALL?
Queries the frequency of the specified harmonic.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 | Specifies which harmonic frequency to query. |
Queries the frequency of the fundamental waveform. This command is only valid when the harmonic distortion measurement is enabled in GPSA mode.
:FETCh:HARMonics:FUNDamental?
Queries the results of the occupied bandwidth measurement. The query returns the occupied bandwidth and the transmit frequency error in scientific notation, separated by commas.
:FETCh:OBWidth?
Queries the occupied bandwidth. The query returns the occupied bandwidth (IBW) in scientific notation, in Hz.
:FETCh:OBWidth:OBWidth? :FETCh:OBWidth:OBWidth?
Queries the transmit frequency error. This command is only valid when the occupied bandwidth measurement is enabled in GPSA mode.
*none provided in slice*
Queries the trace data.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Trace number to fetch. |
Queries the results of TOI measurement. The returned values are in scientific notation and correspond to the lower/upper base frequencies and third-order intercept data.
:FETCh:TOIntercept?
Returns the minor value of the intercepts of the Third Order Lower and Third Order Upper. The result is returned in scientific notation.
:FETCh:TOIntercept:IP3?
Queries the measurement data of the specified trace in scientific notation. The returned values are separated by commas and the unit is Hz.
:FETCh:SANalyzer1?
Queries the channel power spectral density.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 |
:FETCh:CHPower:DENSity1?
Queries the channel power. It is only valid when channel power measurement is enabled in GPSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 |
Clears all the event registers and status byte registers.
Sets the enable register for the standard event status register. The query form returns the register as an integer.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 255 | Value for the standard event status register enable bits; bits 1 and 6 are always treated as 0. |
*ESE 16 *ESE?
Queries and clears the event register for the standard event status register.
Queries the ID string of the instrument. The response is a comma-separated string containing the vendor, model, serial number, and software version.
*IDN?
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.
*OPC?
Recalls the selected register.
| Name | Type | Values | Description |
|---|---|---|---|
| integer | integer | 1 - 16 | Register number to recall. |
*RCL <integer>
Restores the instrument to its factory default settings.
Saves the current instrument state to the selected register.
| Name | Type | Values | Description |
|---|---|---|---|
| integer | integer | 1 - 16 | Register number to save the current instrument state to. |
*SAV 1
Sets the enable register for the status byte register. The query reads the bits in the service request register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 255 | Enable register value; Bit 0 and Bit 1 are always treated as 0. |
*SRE 16 *SRE?
Queries the event register for the status byte register.
*STB?
Queries whether the self-check operation is finished. The query returns 0 if the test is successful, and 1 if it fails.
Waits for all pending operations to complete before executing any additional commands.
Sends the GPIB module the "Parse End" command. The manual says this command must be set for the USB-GPIB adapter module to work, and that no return value is produced.
Selects continuous (ON|1) or single (OFF|0) measurement mode. Queries the current measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| <bool> | enum | OFF | ON | 0 | 1 | Selects continuous or single measurement mode. |
:INITiate:CONTinuous ON or :INITiate:CONTinuous 1 :INITiate:CONTinuous?
Initializes one sweep in the non-measurement state, or triggers one measurement in the measurement state.
:INITiate[:IMMediate]
Restarts the sweep.
Queries the IF overload.
Sets or queries the status of the global center frequency coupling for the instrument. NONE turns it off and ALL turns it on; when enabled, the current mode center frequency follows the global center frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | ALL | NONE | Selects whether global center frequency coupling is enabled or disabled. |
:INSTrument:COUPle:FREQuency:CENTer ALL :INSTrument:COUPle:FREQuency:CENTer?
Queries the available measurement modes displayed at the bottom of the screen.
Creates a new measurement mode label at the bottom of the screen.
Deletes a measurement mode label at the bottom of the screen.
Deletes all the currently not selected measurement mode labels at the bottom of the screen.
Renames the currently selected measurement mode label at the bottom of the screen.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The new label name. |
::INSTrument:SCReen:REName<name>
Selects the specified measurement mode label at the bottom of the screen. The query form returns the currently selected measurement mode label.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The measurement mode label name to select. |
:INSTrument:SCReen:SELect RTSA 1 :INSTrument:SCReen:SELect?
Selects the working mode of the instrument. The query returns the current working mode.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | SA | GPSA_TG | RTSA | RTSA_UFS | GPSA_ACP | GPSA_CNR | GPSA_CHPower | GPSA_TOI | GPSA_HARModist | GPSA_OBW | GPSA_TPOWer | EMI | VMA | AM | FM | PM | Working mode to select. |
:INSTrument:SELect SA :INSTrument:SELect?
Deletes a specified file.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Path and filename of the file to delete. |
.MMEMory:DELete /GPSA/state/state1.sta
Loads the edited FMT file (.csv). This command is only available for RTSA mode.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | UPPer | LOWer | Selects the target mask label. |
| file_name | string | - | Specifies the path and filename of the FMT file to load. |
:MMEMory:LOAD:FMT UPPer,mask1.csv
Loads the edited limit line file (.csv).
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | LLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6 | Selects which limit line label to load. |
| file_name | string | - | Specifies the file name to load. |
Loads the amplitude correction data (.csv).
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | LLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6 | |
| file_name | string | - |
:MMEMory:LOAD:CORRection LLINE1,upp1.csv
Loads the specified state file (.sta).
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | File name of the state file to load. |
:MMEMory:LOAD:STATe state1.sta
Loads the specified measurement data file, which is suffixed with .csv.
| Name | Type | Values | Description |
|---|---|---|---|
| label | string | - | |
| file_name | string | - |
:MMEMory:LOAD:TRACe:DATA <label>,<file_name>
Loads the measurement results from a specified file into the selected trace or table. The operation fails if the file with the specified filename does not exist.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | PTABLE | MTABLE | RESULT | RAWDATA | Selects the destination trace or result table. |
| path | string | - | Specifies the file path to load. |
:MMEMory:LOAD:RESults TRACE1,trace1.csv
Renames the specified file <file_name1> as <file_name2>. The file names should contain the path and filename.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name1 | string | - | Source file name to rename. |
| file_name2 | string | - | New file name. |
:MMEMory:MOVE /GPSA/state/state1.sta,/GPSA/state/state2.sta
Saves the screen image to the specified path.
| Name | Type | Values | Description |
|---|---|---|---|
| path | string | - | Specifies the path where the screen image is saved. |
:MMEMory:STORe:IMG:PNG <path>
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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename used 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.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | Selects which trace to save with the instrument state. |
| file_name | string | - | Specifies the filename to use for the saved trace+state file. |
:MMEMory:STORe:TRACe TRACE1,mystate
Saves the trace measurement data with the specified filename suffixed with ".csv" to the default path (/"mode name"/measdata). If the file already exists, it is overwritten.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | Trace measurement data label to save. |
| file_name | string | - | Filename to use for the saved CSV file. |
:MMEMory:STORe:TRACe:DATA TRACE1,mydata
Saves the current measurement results with the specified filename suffixed with ".csv" by default to the default path ("/mode name"/measdata). Overwrites an existing file if necessary.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to use when saving the measurement results. |
:MMEMory:STORe:RESults data
Saves the marker table with a specified filename suffixed with ".csv" by default to the default path (/"mode name"/measdata).
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename used for the saved marker table CSV file. |
:MMEMory:STORe:MTABle data
Saves the peak table with the specified filename, appending ".csv" by default, to the default path ("mode name"/measdata).
| Name | Type | Values | Description |
|---|---|---|---|
| <file_name> | string | - | Filename for the peak table to save. |
:MMEMory:STORe:PTABle PT1
Saves the currently edited limit line with a specified filename suffixed with ".csv" by default to the default path (/"mode name"/limit). If the specified file already exists, it is overwritten.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | LLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6 | Selects which limit line to save. |
| file_name | string | - | Specifies the filename to save. |
MMEMory:STORe:LIMit LLINE1,low
Saves the currently edited correction data with a specified filename suffixed with ".csv" by default to the default path (/"mode name"/correction).
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | - | Label identifying the correction set to save. |
| file_name | string | - | Filename to use when saving the correction data. |
Saves the FMT data of the current limit line to the default limit folder with the specified filename, appending ".csv" by default. If the file already exists, it is overwritten.
| Name | Type | Values | Description |
|---|---|---|---|
| label | enum | LLINE1 | LLINE2 | LLINE3 | LLINE4 | LLINE5 | LLINE6 | Limit line to save. |
| file_name | string | - | Filename to use when saving the FMT data. |
:MMEMory:STORe:FMT LLINE1,low
Saves the signal to the default path ("mode name"/measdata) with the specified filename, appending ".csv" by default. If the file already exists, it is overwritten.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to use for the saved signal data. |
:MMEMory:STORe:SIGNal low
Saves the current measurement results with the specified filename suffixed with ".csv" by default to the default path ("/mode name"/measdata). Overwrites an existing file if necessary.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to use when saving the measurement results. |
:MMEMory:STORe:RESults data
Saves the returned results.
Saves the current screen image to the default path ("/mode name"/screen) with the specified filename. The file may be saved as .jpg, .png, or .bmp depending on the suffix, or in the currently selected format if no suffix is added.
| Name | Type | Values | Description |
|---|---|---|---|
| file | string | - | Filename for the saved screen image. |
Saves the screen data.
Sets the preset settings.
| Name | Type | Values | Description |
|---|---|---|---|
| user | enum | DEF | USER1 | USER2 | USER3 | USER4 | USER5 | USER6 | Preset setting to select. |
:MMEMory:USER:STORe USER1
Enables or disables the output of the tracking generator. Queries the on/off status of the tracking generator output.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the output state. |
:OUTPut:EXTernal:STATe ON or :OUTPut:EXTernal:STATe 1 :OUTPut:EXTernal:STATe?
Sets the offset of the output amplitude of the tracking generator. The query returns the offset in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| rel_ampl | real | -200 - 200 | Offset of the TG output amplitude. |
:SOURce:CORRection:OFFSet 10 :SOURce:CORRection:OFFSet?
Sets the output amplitude of the TG. Queries the output amplitude of the TG.
| Name | Type | Values | Description |
|---|---|---|---|
| ampl | real | -40 - 0 | Output amplitude to set for the tracking generator. |
:SOURce:EXTernal:POWer:LEVel:IMMediate:AMPLitude -10 :SOURce:EXTernal:POWer:LEVel:IMMediate:AMPLitude?
Sets whether to display the reference trace of normalization. Queries whether to display the reference trace of normalization.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables display of the reference trace of normalization. |
:SOURce:TRACe:REF:STATe ON or :SOURce:TRACe:REF:STATe 1 :SOURce:TRACe:REF:STATe?
Saves the reference trace of normalization.
Turns the beeper on or off. The query reports the on/off status of the beeper.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Beeper state. |
SYSTem:BEEPer ON or :SYSTem:BEEPer 1 SYSTem:BEEPer?
Sets the instrument date, or queries the current date. The query returns the date in the format "YYYY,MM,DD".
| Name | Type | Values | Description |
|---|---|---|---|
| year | string | 2000 - 2099 | Year of the instrument date. |
| month | string | 01 - 12 | Month of the instrument date. |
| day | string | 01 - 31 | Day of the instrument date. |
[?
Sets the system time of the instrument. The query returns the current system time in the format HH,MM,SS.
| Name | Type | Values | Description |
|---|---|---|---|
| hour | string | 00 - 23 | |
| minute | string | 00 - 59 | |
| second | string | 00 - 59 |
:SYSTem:TIME 15,10,30 :SYSTem:TIME?
Sets or queries whether to display the system time. The query returns 0 or 1.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables display of the system time. |
:SYSTem:STIME 1 or :SYSTem:STIME ON :SYSTem:STIME?
Sets the system language. The query form is documented but no return format or description is given in the slice.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | - |
Selects the setting type the instrument recalls at power-on. The query reports which setting type is recalled at power-on.
| Name | Type | Values | Description |
|---|---|---|---|
| power_on | enum | DEFault | LATest | Setting type the instrument recalls at power-on. |
Sets the power status and queries the power status.
| Name | Type | Values | Description |
|---|---|---|---|
| status | enum | DEFault | OPEN | Power status to set. |
:SYSTem:PSTatus OFF or :SYSTem:PSTatus 0 :SYSTem:PSTatus?
Resets the system to power on.
Sets the system to power off.
Queries the version number of the SCPI used by the system.
Locks or unlocks the keypad. Queries whether the keypad is locked or not.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Selects whether the keypad is locked or unlocked. |
:SYSTem:LOCKed 1 or :SYSTem:LOCKed ON :SYSTem:LOCKed?
Sets or queries the GPIB address.
| Name | Type | Values | Description |
|---|---|---|---|
| adr | integer | 1 - 30 |
:SYSTem:GPIB 2 :SYSTem:GPIB?
Installs an option using option information and license information.
| Name | Type | Values | Description |
|---|---|---|---|
| option info | string | - | Option information to install. |
| license info | string | - | License information associated with the option. |
Queries whether an option is activated or not.
| Name | Type | Values | Description |
|---|---|---|---|
| option name | enum | BND | PA | P08 | P14 | P26 | B200 | RB200 | EMI | T08 | ADM | AWK | VSA | UBW | Specifies the option whose activation status is queried. |
Uninstalls all the official options.
Queries the option.
Clears all of the traces.
Sets the selected trace. Queries the selected trace.
| Name | Type | Values | Description |
|---|---|---|---|
| trace | enum | TRACe1 | TRACe2 | TRACe3 | TRACe4 | TRACe5 | TRACe6 | Trace to select. |
:TRACe:SELect TRACe2 :TRACe:SELect?
Queries the display trace expressed in time in the Waterfall view when the display mode is Time.
Resets all the traces. Enables Trace 1 and sets the other traces to a blank state without affecting the trace type or detector type.
Queries the frequencies and amplitudes of the peaks in the peak table. This command only queries Trace 1.
Queries the number of peaks in the peak table.
Loads user data to the specified trace, or queries the log data of the specified trace. The trace is selected with a TRACE1 to TRACE6 enum value.
| Name | Type | Values | Description |
|---|---|---|---|
| trace | enum | TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | Specifies the trace to access. |
| comma_separated_ASCII_data | string | - | ASCII data values separated by commas and spaces for loading user data. |
:TRACe:DATA TRACE1, -1.390530e+01, -7.108871e+01, -7.089631e+01, -6.992984e+01, -
Sets or queries the type of the specified trace.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Specifies the trace number. |
| enum | enum | WRITe | AVERage | MAXHold | MINHold | Sets the trace type. |
:TRACe1:TYPE MAXHold :TRACe1:TYPE?
Enables or disables the display of the specified trace. Queries the setting state for the specified trace.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | Trace number. |
| state | boolean | OFF | ON | 0 | 1 | Enables or disables trace display. |
:TRACe1:DISPlay:STATe ON or :TRACe1:DISPlay:STATe 1
Enables or disables the update of the specified trace. The query form returns 1 or 0 to indicate the setting state.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 6 | Specifies the trace number. |
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables trace updating. |
:TRACe1:UPDate:STATe ON or :TRACe1:UPDate:STATe 1 :TRACe1:UPDate:STATe?
Sets the trigger source. Queries the trigger source.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | IMMediate | EXTernal | VIDeo | POWer | FMT | Trigger source selection. |
:TRIGger:SEQuence:SOURce EXTernal :TRIGger:SEQuence:SOURce?
Sets the time that the analyzer will wait for the trigger to be initiated automatically. Queries the same auto-trigger wait time; the command is only valid when auto triggering is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 1 ms - 100 s | Time to wait for the trigger to be initiated automatically. |
Enables or disables the auto trigger function. Queries the setting status of the auto trigger function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the auto trigger function. |
Sets the delay time for the IF power trigger and queries the configured delay time. This command is only valid when the IF power trigger function is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 1 ms - 100 s | Delay time for the IF power trigger. |
:TRIGger:SEQuence:IF:DELay 0.01 :TRIGger:SEQuence:IF:DELay?
Sets the delay state for the IF power trigger. Queries the delay state for the IF power trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables the delay function for the IF power trigger. |
:TRIGger:SEQuence:IF:DELay:STATe ON or :TRIGger:SEQuence:IF:DELay:STATe 1
Sets the trigger level of the IF power trigger and queries the trigger level. This command is only valid when the IF power trigger function is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| <time> | real | (-140+Level Offset) - (30+Level Offset) | Trigger level of the IF power trigger. |
:TRIGger:SEQuence:IF:LEVel 10 :TRIGger:SEQuence:IF:LEVel?
Sets the number of times for acquisition after each effective trigger is completed. Queries the number of acquisition times.
| Name | Type | Values | Description |
|---|---|---|---|
| number | integer | 1 - 10,000 | Number of acquisition times after each effective trigger. |
:TRIGger:SEQuence:FMT:APTRigger 5 :TRIGger:SEQuence:FMT:APTRigger?
Sets the trigger criteria for FMT and queries the current criteria. This command is only valid when FMT is selected as the trigger source in RTSA working mode.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | ENTer | LEAVe | INSide | OUTSide | ELEave | LENTer | Trigger criteria for FMT. |
:TRIGger:SEQuence:FMT:CRITeria ENTer
Sets or queries the delay time for FMT. The command is only valid when FMT is selected as the trigger source in RTSA working mode and the FMT trigger delay function is enabled; it is invalid when Inside or Outside criteria are selected.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 0 us - 500 ms | Delay time for FMT. |
:TRIGger:SEQuence:FMT:DELay 0.1 :TRIGger:SEQuence:FMT:DELay?
Enables or disables the FMT trigger delay function. Queries the status of the FMT trigger delay function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the FMT trigger delay function. |
: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. Queries the mask to be used for the current trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | UPPer | LOWer | BOTH | Mask type to use for the current trigger. |
:TRIGger:SEQuence:FMT:MASK UPPer :TRIGger:SEQuence:FMT:MASK?
Sets the mask type that is currently viewed/edited, or queries the current mask type. This command is only valid when FMT is selected as the trigger source in RTSA working mode.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | UPPer | LOWer | Mask type to view or edit. |
:TRIGger:SEQuence:FMT:MASK:EDIT UPPer :TRIGger:SEQuence:FMT:MASK:EDIT?
Deletes all the masks.
Sets the Y-axis type of FMT. Queries the Y-axis type of FMT.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | ON | OFF | 1 | 0 | Enables or disables the coupling function. |
Sets the X-axis type of FMT and queries the X-axis type of FMT. When enabled, the frequencies of the mask points are expressed as an offset from the center frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the coupling function. |
Sets the name of the mask. The query returns the current mask name.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Selects the upper mask when set to 1 and the lower mask when set to 2. |
| string | string | - | ASCII string used as the mask label; it can contain English letters, numbers, and some symbols. |
:TRIGger:SEQuence:FMT:MASK1:NAME Rigol :TRIGger:SEQuence:FMT:MASK1:NAME?
Creates a mask from a trace.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Selects whether the upper mask (1) or lower mask (2) is being edited. |
| id | enum | TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6 | Selects the trace used to build the mask. |
:TRIGger:SEQuence:FMT:MASK1:BUILd TRACE1
Sets or queries the mask data points for the selected mask. The syntax accepts a frequency/amplitude pair list for setting, and a query form is documented without a return description.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Selects which mask is being edited: upper mask when 1, lower mask when 2. |
| freq | real | - | Frequency value for each mask point. |
| ampl | real | - | Amplitude value paired with each frequency point. |
Deletes the specified mask. <n> selects which mask is affected: 1 for the upper mask and 2 for the lower mask.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Selects the mask to delete. |
Clears the currently activated mask and creates a default mask.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Selects which mask is edited: 1 for the upper mask, 2 for the lower mask. |
Sets the mask frequency offset and queries the mask frequency offset.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Selects which mask is being edited: 1 for upper mask, 2 for lower mask. |
| offset | real | -1 PHz - 1 PHz | Frequency offset applied to the mask. |
:TRIGger:SEQuence:FMT:MASK1:OFFSet:X 1 Hz :TRIGger:SEQuence:FMT:MASK1:OFFSet:X?
Sets the mask amplitude offset. Queries the mask amplitude offset.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | Selects the upper mask when 1 or the lower mask when 2. |
| offset | real | - | Amplitude offset value. |
:TRIGger:SEQuence:FMT:MASK1:OFFSet:Y 1 dBm :TRIGger:SEQuence:FMT:MASK1:OFFSet:Y?
Updates the offset.
Sets the trigger holdoff time. Queries the trigger holdoff time.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 100 us - 500 ms |
TRIGger:SEQuence:HOLDoff 0.1 TRIGger:SEQuence:HOLDoff?
Turns on or off the trigger holdoff function. Queries the status of the trigger holdoff function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the trigger holdoff function. |
:TRIGger:SEQuence:HOLDoff:STATe ON or :TRIGger:SEQuence:HOLDoff:STATe 1
Sets the polarity of the video trigger. Queries the polarity of the video trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | POSitive | NEGative | Sets the polarity of the video trigger. |
:TRIGger:SEQuence:VIDeo:SLOPe POSitive :TRIGger:SEQuence:VIDeo:SLOPe?
Sets the delay time for the video trigger. Queries the delay time for the video trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 0 us - 500 ms | Delay time for the video trigger. |
:TRIGger:SEQuence:VIDeo:DELay 0.1
Enables or disables the video trigger delay function. Queries the setting state of the video trigger delay function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the video trigger delay function. |
Sets the trigger level of the video trigger. Queries return the trigger level in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| ampl | real | -140 - 30 | Trigger level of the video trigger. |
:TRIGger:SEQuence:VIDeo:LEVel 10 :TRIGger:SEQuence:VIDeo:LEVel?
Sets the delay time for the external trigger and queries the delay time for the external trigger. This command is only valid when the external trigger delay function is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 1 | Sequence index; may be omitted. |
| time | real | 0 us - 500 ms | Delay time for the external trigger. |
:TRIGger:SEQuence:EXTernal:DELay 0.1
Enables or disables the external trigger delay function. Queries the setting state of the external trigger delay function.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 1 | Sequence index; the parameter <n> can be omitted. |
| bool | boolean | OFF | ON | 0 | 1 | Enables or disables the external trigger delay function. |
:TRIGger:SEQuence:EXTernal:DELay:STATe ON or :TRIGger:SEQuence:EXTernal:DELay:STATe 1 The following query returns 1. :TRIGger:SEQuence:EXTernal:DELay:STATe?
Sets the trigger edge for the external trigger. Queries the trigger edge for the external trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 1 | Trigger sequence index; the parameter can be omitted. |
| type | enum | POSitive | NEGative | Selects the external trigger edge as rising or falling. |
:TRIGger:SEQuence:EXTernal:SLOPe POSitive
Enables or disables external trigger output. Queries whether the external trigger output is enabled or not.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 1 | Trigger sequence index; the parameter can be omitted. |
| bool | enum | OFF | ON | 0 | 1 | Enables or disables the external trigger output. |
:TRIGger:SEQuence:OUTPut 1 or :TRIGger:SEQuence:OUTPut ON :TRIGger:SEQuence:OUTPut?
Sets or queries the polarity of the external trigger output. The <n> channel/sequence index can be omitted.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 1 | Sequence index; may be omitted. |
| type | enum | POSitive | NEGative | Polarity of the external trigger output. |
Sets the unit of the Y axis, or queries the current Y-axis unit. The query returns one of DBM, DBMV, DBUV, V, or W.
| Name | Type | Values | Description |
|---|---|---|---|
| unit | enum | DBM | DBMV | DBUV | V | W | Unit to use for the Y axis. |
:UNIT:POWer W :UNIT:POWer?
Sets or queries the default gateway. The gateway is entered as an ASCII string.
Turns on or off the Auto IP configuration mode, or queries the current Auto IP configuration mode status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables Auto IP configuration mode. |
:LAN:AUToip OFF :LAN:AUToip?
Sets or queries the default gateway address. The address must be in nnn.nnn.nnn.nnn format, and the IP configuration mode should be Auto IP or Static IP mode.
| Name | Type | Values | Description |
|---|---|---|---|
| <string> | string | - | Gateway IP address in nnn.nnn.nnn.nnn format. |
:LAN:GATeway 192.168.1.1 :LAN:GATeway?
Queries the address of the DHCP server.
Sets or queries the LAN manual configuration state.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables manual LAN configuration. |
Sets or queries the IP address of the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | ASCII string in the format nnn.nnn.nnn.nnn, with the first octet 0 to 223 except 127 and the remaining three octets 0 to 255. |
Sets or queries the subnet mask. The subnet mask string must be in nnn.nnn.nnn.nnn format with each nnn from 0 to 255, and the instrument should be in static IP mode with DHCP and auto IP disabled.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | Subnet mask in nnn.nnn.nnn.nnn format. |
:LAN:SMASk 255.255.255.0 :LAN:SMASk?
Queries the current network configuration status.
Queries the VISA address of the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| typeopt | - | - |
Enables or disables mDNS, or queries the mDNS status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables mDNS. |
:LAN:MDNS ON :LAN:MDNS?
Sets or queries the LAN host name. The query returns the VISA address in strings.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - |
Sets or queries the description.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The label can contain English letters and numbers, as well as some symbols. |
Applies the network configuration. After configuring all LAN-related parameters with the :LAN commands, send this command to make the LAN configuration take effect.