/

Rigol

/

Rigol DNA6204R

SCPI COMMAND REFERENCE

Rigol DNA6204R

Rigol DNA6204R

The Rigol DNA6204R is Rigol's network analyzer in the DNA6000-R Series Vector Network Analyzer family. Its SCPI remote-control interface exposes 347 commands across 17 subsystems - 306 settable and 41 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.

347

Commands

306

Settable

41

Queries

17

Subsystems

SCPI

3.0

Verified

2026-07-16

All commands

*IDN?query

Queries the ID string of the instrument.

string - Returns the instrument ID string.
*RSTset / query

Restores the instrument to its factory default settings.

*CLSset / query

Clears all the event registers and clears the error queue.

*ESEset / query

Sets or queries the enable register of the standard event register set.

NameTypeValuesDescription
<maskargument>integer0 - 255Value written to the standard event register enable mask.
integer - Returns the decimal-weighted sum of all bits set in the enable register.
*ESE 16
*ESE?
*ESR?query

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

integer - Returns the event register contents as an integer equal to the binary-weighted sum of all bits set in the register.
*OPCset / query

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

*RCLset / query

Recalls instrument settings from the specified non-volatile memory. Previously saved settings via *SAV are overwritten.

*SAVset / query

Saves the current instrument state to the selected register.

NameTypeValuesDescription
valueinteger0 - 49Register number to save the current state to.
*SREset / query

Sets or queries the enable register of the status byte register set.

NameTypeValuesDescription
maskargumentinteger0 - 255Value of the enable register, expressed as the sum of the decimal values of all bits set in the status byte register.
integer - The query returns the enable value of the register as the decimal-weighted sum of all bits set in the register.
*SRE 16
*SRE?
*STB?query

Queries the event register for the status byte register. After executing the command, the value in the status byte register is cleared.

integer - The status byte register value.
*WAIset / query

Waits for all the pending operations to complete before executing any additional commands.

:GPIB:PARSe:ENDset / query

Sends the "Parse End" command to the GPIB module. After sending this command, the USB-GPIB adapter module can work normally.

Sets or queries the output power for the specified channel. The query returns the output power in scientific notation, in dBm.

NameTypeValuesDescription
cninteger1 - 500Existing channel number.
pninteger1Port number; the manual says the allowed values depend on the instrument model.
valuereal-40 - 10Output power value to set.
real (dBm) - Output power for the specified channel, returned in scientific notation.

Sets the output power for the specified channel. Queries the output power for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
valuereal-40 - 10
real (dBm) - The query returns the output power for the specified channel in scientific notation.

Sets the start power on all the ports used for the specified channel. Queries the start power on all the ports used for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger-Port number.
valuereal-Start power setting.
real (dBm) - Returns the start power for the specified channel in scientific notation.

Sets the stop power on all the ports used for the specified channel. Queries return the stop power of all ports for the specified channel in scientific notation, in dBm.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger-Port number parameter; the manual notes that it does not function in this command.
valuereal-40 - +10Stop power to set.
real (dBm) - The query returns the stop power of all ports for the specified channel in scientific notation.
:SOURce1:POWer1:STOP 0.5 /*Sets the stop power on the port for Channel 1 to 0.5 dBm.*/
:SOURce1:POWer1:STOP? /*The query returns 5.00e-01.*/

Creates a trace, a channel, or a window.

NameTypeValuesDescription
numinteger0 - 3Defines what is created: 0 creates a trace, 1 creates a trace on a new channel, 2 creates a trace in a new window, and 3 creates a trace, a channel, and a window.
:DISPlay:TRACe:NEW 1 /*Creates a channel and adds a new trace on the new channel.*/

Deletes the specified measurement trace. The command belongs to the :Display:MEASure command group.

NameTypeValuesDescription
mninteger0 - 3Measurement trace number.

Enables or disables the display of the specified measurement trace. The query reports whether the specified measurement trace is displayed.

NameTypeValuesDescription
mninteger1 - 50000Trace number.
boolenum1|ON | 0|OFFEnables or disables display state.
enum - Returns 1 or 0 indicating whether the specified measurement trace is displayed.
:DISPlay:MEASure1 ON /*Enables the display of measurement trace 1.*/
:DISPlay:MEASure1? /*The query returns 1.*/

Activates the measurement for the specified trace. The trace is selected.

NameTypeValuesDescription
<mn>integer1 - 50000Trace number.

Sets or queries the title for the specified measurement trace. The title length cannot exceed 70 characters.

NameTypeValuesDescription
<mn>integer1 - 50000Trace number identifying the specified measurement trace.
<string>string-ASCII title text to assign to the measurement trace.

Enables or disables the display of the title of the specified measurement trace. Queries whether to display the title of the specified measurement trace.

NameTypeValuesDescription
mninteger1 - 50000
boolenum1 | ON | 0 | OFF
integer - The query returns 1 or 0.
:DISPlay:MEASure1:TITLe ON /*Enables the display of the title of measurement trace 1.*/
:DISPlay:MEASure1:TITLe? /*The query returns 1.*/

Sets the Y-axis reference value of the specified trace. Queries the Y-axis reference value of the specified trace.

NameTypeValuesDescription
mninteger1 - 50000
valuereal-Y-axis reference value; the value and unit depend on the measurement data format.

Sets the reference position of the specified measurement trace. Queries the reference position of the specified measurement trace.

NameTypeValuesDescription
mninteger1 - 50000
valuereal0 - 10
real - The query returns the reference position of the specified trace in scientific notation.
:DISPlay:MEASure1:Y:RPOSition 0.005 /*Sets the reference position of measurement trace 1 to 0.005.*/
:DISPlay:MEASure1:Y:RPOSition? /*The query returns 5.00e-03.*/

Creates a new display channel. The syntax shows one numeric channel identifier parameter.

NameTypeValuesDescription
numinteger-Channel number to create.

Enables or disables the specified channel. The query returns the on/off status of the specified channel.

NameTypeValuesDescription
cninteger1 - 500Specifies the channel number.
boolenum1 | ON | 0 | OFFEnables or disables the specified channel.
enum - Returns the on/off status of the specified channel.

Adds a window; adds a channel or a trace in the window.

NameTypeValuesDescription
valueinteger0 - 2Selects what to add to the new window: 0 adds a new window, 1 adds a trace in a new window, and 2 adds a trace and a channel to a new window.

Sets the grid line type of the window. Queries the grid line type of the window.

NameTypeValuesDescription
enumenumSOLid | DOTTedSelects the grid line type.
enum - The query returns SOL or DOTT.
:DISPlay:WINDow:TRACe:GRATicule:GRID:LTYPE DOTTed /*Sets the grid line type of all the windows to dotted lines.*/
:DISPlay:WINDow:TRACe:GRATicule:GRID:LTYPE? /*The query returns DOTT.*/

Sets the Y-axis scale per division for the specified trace in the specified window. Queries the Y-axis scale per division for the specified trace in the specified window.

NameTypeValuesDescription
wninteger1 - 500
tninteger1 - 50000
value--Y-axis scale per division value; the parameter value and its unit are related to the data format of the trace in the specified window.
string - The query returns the Y-axis scale value in scientific notation.
:DISPlay:WINDow1:TRACe1:Y:PDIVision 3 /*Sets the Y scale/div for
Trace 1 in Window 1 to 3.*/
:DISPLay:WINDow1:TRACe1:Y:PDIVision? /*The query returns 3.0e+00.*/

Sets the Y-axis reference position for the specified trace in the specified window. Queries the Y-axis reference position for the specified trace in the specified window.

NameTypeValuesDescription
wninteger1 - 500
tninteger1 - 50000
value--
returns
:DISPlay:WINDow1:TRACe1:Y:RPOSition 3 /*Sets the Y-axis reference position to 3.*/
:DISPlay:WINDow1:TRACe1:Y:RPOSition? /*The query returns ...*/

Enables or disables the display of the specified measurement trace in the specified window. The query reports whether that trace is displayed.

NameTypeValuesDescription
wninteger1 - 500Window number.
tninteger1 - 50000Trace number.
boolenum1 | ON | 0 | OFFEnables or disables the trace display.
integer - The query returns 1 or 0.
:DISPlay:WINDow1:TRACe1 ON /*Enables the display of Trace 1 in Window 1.*/
:DISPlay:WINDow1:TRACe1? /*The query returns 1.*/

Enables or disables the display of the specified memory trace in the specified window. Queries whether to display the specified memory trace in the specified window.

NameTypeValuesDescription
wninteger1 - 500
tninteger1 - 50000
boolenum1 | ON | 0 | OFF
integer - The query returns 1 or 0.
:DISPlay:WINDow1:TRACe1 ON /*Enables the display of memory trace 1 in the Window1.*/
:DISPlay:WINDow1:TRACe1? /*The query returns 1.*/

Enables or disables the display of the specified window. Queries whether the specified window is displayed.

NameTypeValuesDescription
wninteger1 - 500

Enables or disables the auto scaling of all the traces in the specified window.

NameTypeValuesDescription
wninteger1 - 500Window number to which the setting applies.

Sets the title of the specified window. Queries the title of the specified window.

NameTypeValuesDescription
wninteger1 - 500
stringstring-ASCII window title text.
:DISPlay:WINDow1:TITLe:DATA test1 /*Sets the title of Window1 to test1.*/
:DISPlay:WINDow1:TITLe:DATA? /*The query returns "test1".*/

Enables or disables the display of the title of the specified window. The query asks whether the title of the specified window is displayed.

NameTypeValuesDescription
wninteger1 - 500Window number.
boolenum1 | ON | 0 | OFFEnables or disables the title display.
enum - The query returns 1 or 0.
:DISPlay:WINDow1:TITLe ON /*Enables the display of the title of Window1.*/
:DISPlay:WINDow1:TITLe? /*The query returns 1.*/

Sets the table type displayed below the specified window. Queries the table type currently displayed below the specified window.

NameTypeValuesDescription
<wn>integer1 - 500
<type>enumOFF | MARKer | LIMit | SEGMent
enum - The query returns the table type currently displayed below the specified window.
:DISPlay:WINDow1:TABLe OFF
:DISPlay:WINDow1:TABLe?

Queries the trace number of the specified window. If no trace is found in the specified window, the query returns EMPTY.

NameTypeValuesDescription
wninteger1 - 500Window number.
string - The trace number in strings, separated by commas; returns EMPTY if no trace is found in the specified window.
:DISPlay:WINDow1:CATalog? /*The query returns 1,2,3,4.*/

Creates a new sheet, new trace + sheet, or new trace + channel + sheet.

NameTypeValuesDescription
numinteger0 - 2Selects whether to create a new sheet, a new trace + sheet, or a new trace + channel + sheet.
N/A

Creates or activates the specified sheet. The query queries the current state of the specified sheet.

NameTypeValuesDescription
shnuminteger1 - 50000
boolboolean-Enables or disables the specified sheet state.
enum - Returns the current state of the specified sheet.

Sets the title of the specified sheet. The query returns the sheet title as a string.

NameTypeValuesDescription
shnuminteger1 - 50000Specifies the sheet number.
stringstring-Specifies the new sheet title.
string - Returns the sheet title.
:DISPlay:SHEet1:TITLe:DATA test1 /*Sets the title of Sheet1 to test1.*/
:DISPlay:SHEet1:TITLe:DATA? /*The query returns "test1".*/
:DISPlay:FSIGnset / query

Enables or disables the display of the global pass/fail results. The query reports the current on/off status of that display.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the display of the global pass/fail results.
enum - Returns the on/off status of the display of the global pass/fail results as 1 or 0.
:DISPlay:FSIGn ON /*Enables the display of the global pass/fail results.*/
:DISPlay:FSIGn? /*The query returns 1.*/

Queries the test result of the global pass/fail test. If the global pass/fail test (:DISPlay:FSIGn) is disabled, the query always returns 0.

enum - Returns 0 or 1; 1 indicates failed.

Queries the trace number of the failed trace in the limit line test. If the global pass/fail test is disabled or no failed traces are found, the query returns no value.

string - Returns the trace number of the failed trace in the limit line test, separated by commas. If no failed traces are found, the query returns no value.
:DISPlay:LIMit:GLOBal:FAIL:TRACes? /*The query returns Tr1,Tr3.*/

Sets or queries the start frequency for the specified channel. The command is valid only when sweep type is set to linear or logarithmic.

NameTypeValuesDescription
cninteger1 - 500Existing channel number.
freqrealHzStart frequency to set; range is related to the product model.
real (Hz) - Returns the start frequency in scientific notation.
:SENSe1:FREQuency:STARt 10000000 /*Sets the start frequency to 10 MHz.*/
:SENSe1:FREQuency:STARt? /*The query returns 1.00e+07.*/

Sets the stop frequency for the specified channel. Queries the stop frequency for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
freqreal-Stop frequency; range is product-model dependent.
real (Hz) - The query returns the stop frequency in scientific notation.
:SENSe1:FREQuency:STOP 10000000 /*Sets the stop frequency to 10 MHz.*/
:SENSe1:FREQuency:STOP? /*The query returns 1.00e+07.*/

Sets the center frequency for the specified channel. Queries the center frequency for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
freqreal-Center frequency for the specified channel.
real (Hz) - The query returns the center frequency for the specified channel.

Sets the frequency span of the specified channel. Modifying the frequency span will affect the start frequency and stop frequency.

NameTypeValuesDescription
cninteger1 - 500Channel number.
spanrealHzFrequency span value.

Sets the CW frequency for the specified channel. Queries the CW frequency for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
freqrealHzCW frequency to set for the specified channel.
real (Hz) - The query returns the CW frequency in scientific notation.

Sets the fixed frequency for the specified channel. Queries the fixed frequency for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<freq>realHzFixed frequency value for the specified channel.
real (Hz) - The query returns the fixed frequency in scientific notation.
:SENSe1:FREQuency:FIXed 50000000 /*Sets the fixed frequency to 50 MHz.*/
:SENSe1:FREQuency:FIXed? /*The query returns 5.00e+07.*/

Queries the frequency list of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
string - The query returns the frequency list in strings, separated by commas.
:SENSe1:FREQuency:DATA? /*The query returns +1.00000000000E +07,+1.42450000000E+08,...*/

Queries the frequency step of the specified channel.

NameTypeValuesDescription
cninteger1 - 500Specifies the channel number.
real (Hz) - The query returns the frequency step of the specified channel in scientific notation.

Sets the number of sweep points for the specified channel. Queries the number of sweep points for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500Channel number for the specified channel.
integer - Returns the number of sweep points for the specified channel.

Sets the sweep type for the specified channel and queries the current sweep type. The sweep type can be linear, logarithmic, power, or segment sweep.

NameTypeValuesDescription
cninteger1 - 500Channel number.
typeenumLINear | LOGarithmic | POWer | SEGMentSweep type to set.
enum - Returns the current sweep type as LIN, LOG, POW, or SEGM.
:SENSe1:SWEep:TYPE LOGarithmic /*Sets the sweep type to Logarithmic.*/
:SENSe1:SWEep:TYPE? /*The query returns LOG.*/

Sets whether to enable auto sweep time for the specified channel. Queries whether to enable auto sweep time for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables auto sweep time.
enum - The query returns 0 or 1.
:SENSe1:SWEep:TIME:AUTO ON /*Enables auto sweep time for Channel 1.*/
:SENSe1:SWEep:TIME:AUTO? /*The query returns 1.*/

Sets the sweep time for the analyzer to take to complete one sweep for the specified channel. Queries the sweep time for the analyzer to take to complete one sweep for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
value--Sweep time value.
returns

Enables the point sweep sequence for the specified channel. The query reports whether point sweep is enabled for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables the point sweep sequence.
enum - Returns whether the point sweep sequence for the specified channel is enabled.

Sets the dwell time between each sweep point for the specified channel. Queries the dwell time between each sweep point for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
valuereal0 - 20
real (s) - Returns the dwell time between each sweep point in scientific notation.

Sets the delay time for the specified channel. Queries the delay time for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
valuereal0 - 20
real (s) - The query returns the delay time in scientific notation.

Sets the number of trigger times for Groups trigger for the specified channel. Queries the number of trigger times for Groups trigger for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
numinteger-
returns

Sets the trigger state of the specified channel. The query returns the trigger state of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
typediscreteHOLD | CONTinuous | GROups | SINGleTrigger state to set for the specified channel.
enum - The trigger state of the specified channel.

Sets or queries the trigger mode of the specified channel. The query returns the abbreviated mode keyword.

NameTypeValuesDescription
cninteger1 - 500
typeenumCHANnel | SWEep | POINtSelects the trigger mode for the specified channel.
enum - Returns the current trigger mode as CHAN, SWE, or POIN.
:SENSe1:SWEep:TRIGger:MODE SWEep /*Sets the trigger mode to SWEep.*/
:SENSe1:SWEep:TRIGger:MODE? /*The query returns SWE.*/

Sets the IF bandwidth for the specified channel. Queries the IF bandwidth for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number to which the bandwidth applies.
freqreal1 Hz - 10 MHzIF bandwidth value to set.
real (Hz) - The query returns the IF bandwidth for the specified channel in scientific notation.
:SENSe1:BANDwidth 100
:SENSe1:BANDwidth?

Sets the IF bandwidth for the specified channel. Queries the IF bandwidth for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<freq>real1 Hz - 10 MHz
real (Hz) - The query returns the IF bandwidth for the specified channel in scientific notation.

Delete all segments from the segment table for the specified channel. After this command completes, :SENSe<cn>:SWEep:TYPE is automatically set to LINear.

NameTypeValuesDescription
cninteger1 - 500Channel number.

Enables or disables the dwell time for each sweep segment. The query asks whether dwell time is enabled for each sweep segment.

NameTypeValuesDescription
<cn>integer1 - 500Channel number.
<bool>enum1 | ON | 0 | OFFEnables or disables dwell time for each sweep segment.
enum - Returns 1 or 0.
:SENSe1:SEGMent:SWEep:DWELl:CONTrol ON /*Enables the dwell time for each sweep segment of Channel 1.*/
:SENSe1:SEGMent:SWEep:DWELl:CONTrol? /*The query returns 1.*/

Enables or disables the sweep time for each sweep segment. Queries whether to enable the sweep time for each sweep segment.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>enum1 | ON | 0 | OFFEnables or disables the sweep time for each sweep segment.

Enables or disables the delay time for each sweep segment. The query reports whether segment delay control is enabled.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolboolean1 | ON | 0 | OFFEnables or disables delay time control for each sweep segment.
enum - Returns 1 or 0 indicating whether delay time control for each sweep segment is enabled.
:SENSe1:SEGMent:SWEep:TIME:CONTrol ON /*Enables the sweep time for
each sweep segment of Channel 1.*/
:SENSe1:SEGMent:SWEep:TIME:CONTrol? /*The query returns 1.*/

Sets whether to set IF bandwidth for each port of each sweep segment.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>enum1 | ON | 0 | OFFEnables or disables setting IF bandwidth for each port of each sweep segment.

Enables or disables setting power level for each sweep segment. The query asks whether power level setting for each sweep segment is enabled.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>boolean1 | ON | 0 | OFFEnables or disables setting power level for each sweep segment.

Adds a segment with the specified ID for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32

Enables or disables the specified sweep segment for the specified channel. The query returns the on/off status of that sweep segment.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
boolenum1 | ON | 0 | OFF
integer - Returns 1 or 0 indicating the on/off status of the specified sweep segment.

Sets the start frequency of the specified sweep segment for the specified channel. The query returns the start frequency of the specified segment in scientific notation, in Hz.

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Sweep segment number.
freqrealHzStart frequency for the specified sweep segment.
real (Hz) - The start frequency of the specified segment in scientific notation.
:SENSe1:SEGMent1:FREQuency:STARt 10000000 /*Sets the start frequency of Segment 1 for Channel 1 to 10 MHz.*/
:SENSe1:SEGMent1:FREQuency:STARt? /*The query returns 1.00e+07.*/

Sets the stop frequency of the specified sweep segment for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<sgn>integer1 - 32
<freq>real-Stop frequency value; range is related to the product model.

Sets the number of sweep points for the specified sweep segment for the specified channel. Queries the number of sweep points for the specified sweep segment for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
num--
:SENSe1:SEGMent1:SWEep:POINts 1000
:SENSe1:SEGMent1:SWEep:POINts?

Sets the sweep time for the specified sweep segment for the specified channel. The query returns the sweep time for the specified sweep segment for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Sweep segment number.
valuereal-Sweep time value.
real - Returns the sweep time for the specified sweep segment for the specified channel.

Sets the dwell time for the specified sweep segment for the specified channel. Queries the dwell time for the specified sweep segment for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
valuereal0 s - 20 s
:SENSe1:SEGMent1:SWEep:DWELl 0.0001 /*Sets the dwell time for Segment 1 of Channel 1 to 0.1 ms.*/
:SENSe1:SEGMent1:SWEep:DWELl? /*The query returns 1.00e-04.*/

Sets the delay time for the specified sweep segment of the specified channel. The query returns the delay time for the segment sweep in scientific notation, in seconds.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
valuereal0 - 20
real (s) - The delay time for the segment sweep, returned in scientific notation.
:SENSe1:SEGMent1:SWEep:DELay 0.1 /*Sets the delay time for Segment 1 of Channel 1 to 0.1 ms.*/
:SENSe1:SEGMent1:SWEep:DELay? /*The query returns 1.00e-04.*/

Sets the IF bandwidth for the specified sweep segment of the specified channel. Queries the IF bandwidth for the specified sweep segment of the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<sgn>integer1 - 32
<freq>--
returns

Sets the IF bandwidth on the specified port of the specified segment for the specified channel. The query returns the IF bandwidth for the specified channel in Hz.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
pninteger-Port number; refer to Remarks for valid values.
freqreal1 Hz - 10 MHz
real (Hz) - Returns the IF bandwidth for the specified channel.
:SENSe1:SEGMent1:BWIDth 100
:SENSe1:SEGMent1:BWIDth?

Sets the power on the specified port of the specified sweep segment for the specified channel. Queries the power on the specified port of the specified sweep segment for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Sweep segment number.
pnoptinteger1 - 4Port number; available values depend on the instrument model.
valuereal-40 dBm - 15 dBmPower value to set.
:SENSe1:SEGMent1:BWIDth:PORT1 10 /*Sets the IF bandwidth on Port 1
:SENSe1:SEGMent1:BWIDth:PORT1? /*The query returns 1.00e+01.*/

Enables or disables correction for the specified channel. The query returns the on/off status of correction for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolenum1 | ON | 0 | OFFEnables or disables correction.
enum - Returns the on/off status of correction for the specified channel.

Sets the velocity factor for electrical delay. Queries the velocity factor for electrical delay.

NameTypeValuesDescription
cninteger1 - 500
valuereal0 - 1
real - Returns the velocity factor in scientific notation.

Enables or disables interpolation for the specified channel. The query reports the on/off status of interpolation for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolenum1 | ON | 0 | OFFTurns interpolation on or off.
enum - Returns the interpolation state as 1 or 0.
:SENSe1:CORRection:INTerpolate ON /*Enables the interpolation for Channel 1.*/
:SENSe1:CORRection:INTerpolate? /*The query returns 1.*/

Enables or disables the port extension for each port of the specified channel. Queries the on/off status of the port extension for each port of the specified channel.

NameTypeValuesDescription
cninteger1 - 500Specified channel number.
boolenum1 | ON | 0 | OFFTurns port extension state on or off.
enum - The query returns the on/off status of the port extension for the specified channel.

Sets the delay time for the port extension of the specified port for the specified channel. Queries the delay time for the port extension of the specified port for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; refer to the remarks for valid values.
valuereal-1 - 1Delay time for the port extension.
real - Returns the delay time for the port extension of the specified port for the specified channel.
:SENSe1:CORRection:EXTension:PORT:UNIT FEET /*Sets the delay distance unit to FEET.*/
:SENSe1:CORRection:EXTension:PORT:UNIT? /*The query returns FEET.*/

Sets or queries the delay distance for port extension for the specified channel. The command is valid only when port extension is enabled, and the distance unit must be set first with :SENSe<cn>:CORRection:EXTension:PORT:UNIT.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; valid values are listed in the Remarks for the specific instrument model.
valuereal-Delay distance for the port extension.
real (s) - Returns the delay distance for the port extension for the specified channel, in scientific notation.

Sets the loss at DC for the specified port and channel. Queries the loss at DC for the specified port and channel.

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number; remarks state the valid set depends on the instrument model.
valuereal-90 - 90Loss at DC to set for the specified port and channel.
real (m) - The query returns the loss at DC for the specified port and channel in scientific notation.
:SENSe1:CORRection:EXTension:PORT1 0.000001
:SENSe1:CORRection:EXTension:PORT1:DISTance?

Enables or disables the coupling state between port extension velocity factor and the system velocity factor. Queries the coupling state.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; valid values depend on the instrument model.
boolenum1 | ON | 0 | OFFEnables or disables the coupling state.
enum - Returns the coupling state between port extension velocity factor and the system velocity factor.

Sets the velocity factor for the port extension of the specified port for the specified channel. Queries the velocity factor for the port extension of the specified port for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
pninteger-
valuereal0 - 1

Enables or disables the specified Freq and Loss pair number for the specified port of the specified channel. The query returns the on/off status for that pair and port.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger1 - 2Port number; valid values are 1 or 2 for the listed DNA6082-R/DNA6142-R/DNA6202-R/DNA6262-R models, and 1 through 4 for the listed DNA6084-R/DNA6144-R/DNA6204-R/DNA6264-R models.
lossidinteger1 - 2Freq and Loss pair number.
stateoptboolean-Enables or disables the selected Freq and Loss pair number.
enum - Returns the on/off status for the specified Freq and Loss pair number and port.

Sets the frequency value for the Freq and Loss pair number on the specified port of the specified channel. Queries the frequency value for that same port/channel pair.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; refer to Remarks for valid values.
lossidinteger1 - 2Loss pair number.
valuereal-Frequency value to set.
real - Returns the frequency value for the Freq and Loss pair number on the specified port and channel.

Sets or queries the loss value for the specified Freq/Loss pair number and port of the specified channel. The command is valid only when port extension is enabled.

NameTypeValuesDescription
valuereal-Loss value to set for the specified Freq and Loss pair number.
real - Returns the loss value for the Freq and Loss pair number and specified port.

Enables or disables the APE function for the specified port of the specified channel. The query returns the on/off status of the APE function for the specified port of the specified channel.

NameTypeValuesDescription
pninteger1 - 4Specified port number.
boolboolean-Enables or disables the APE function.
enum - Returns the on/off status of the APE function for the specified port of the specified channel.

Sets the frequency span mode of the APE function for the specified port of the specified channel. Queries the frequency span mode of the APE function for the specified port of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
typeenumCSPN | AMKR | USPN
enum - The query returns the frequency span mode of the APE function for the specified port of the specified channel.

Sets the start frequency of the user-defined span for the APE function of the specified channel. The query returns the start frequency in scientific notation, in Hz.

NameTypeValuesDescription
<cn>integer1 - 500Specified channel number.
<value>realHzStart frequency of the user-defined span.
real (Hz) - The start frequency in scientific notation.
:SENSe1:CORRection:EXTension:AUTO:STARt 100000000
:SENSe1:CORRection:EXTension:AUTO:STARt?

Sets the stop frequency of the user-defined span for the APE function of the specified channel. The query returns the stop frequency of that span in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
freqrealHzStop frequency of the user-defined span.
real (Hz) - Returns the stop frequency in scientific notation.
:SENSe1:CORRection:EXTension:AUTO:STOP 100000000 /*Sets the stop
frequency of the user-defined frequency span for Channel 1 to 100
MHz.*/
:SENSe1:CORRection:EXTension:AUTO:STOP? /*The query returns 1.00e
+07.*/

Enables or disables the loss state for the APE function for the specified port of the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>boolean-

Enables or disables the adjustment for mismatch for the APE function for the specified port of the specified channel. The query returns the on/off status.

NameTypeValuesDescription
<cn>integer1 - 500Specified channel.
<bool>enum1 | ON | 0 | OFFEnables or disables the adjustment for mismatch.
enum - The query returns 1 or 0.
:SENSe1:CORRection:EXTension:AUTO:DCOFfset ON
:SENSe1:CORRection:EXTension:AUTO:DCOFfset?

Acquires the standards data for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
charstring-Acquisition character data.

Sets whether the direction of the basic calibration for the specified channel is forward. Queries whether the direction of the basic calibration for the specified channel is forward.

NameTypeValuesDescription
cninteger1 - 500Specified channel number.
boolenum1 | ON | 0 | OFFEnables or disables forward direction for the basic calibration.
enum - The query returns 1 or 0.
:SENSe1:CORRection:SFORward ON /*Sets the direction of the basic calibration for Channel 1 to Forward.*/
:SENSe1:CORRection:SFORward? /*The query returns 1.*/

Sets whether the specified channel calibration uses two sets of standards. Queries whether the specified channel calibration uses two sets of standards.

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables use of two sets of standards for the specified channel calibration.
enum - The query returns 1 or 0, indicating whether the specified channel calibration uses two sets of standards.

Queries the corrected data after trace calibration.

NameTypeValuesDescription
cninteger1 - 500
string - The query returns the corrected data after trace calibration in strings.

Sets the average type for the specified channel.

NameTypeValuesDescription
typeenum-

Enables or disables Average state for the specified channel. Queries the on/off status of the Average state for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
boolboolean1 | ON | 0 | OFFSelects whether average state is enabled or disabled.
enum - Returns the on/off status of the Average state for the specified channel.
*none*

Sets the number of sweep averaging times for the specified channel. The query returns the average count in integer.

NameTypeValuesDescription
cninteger1 - 500Specified channel number.
countinteger1 - 65535Number of sweep averaging times.
integer - Returns the average count.
:SENSe1:AVERage:COUNt 10 /*Sets the average count for Channel 1 measurement to 10.*/
:SENSe1:AVERage:COUNt? /*The query returns 10.*/

Clears the measurement data of the specified channel and restarts averaging for a new set of measurements.

NameTypeValuesDescription
<cn>integer1 - 500Channel number.

Enables or disables the coupling state in the time domain setup for the specified channel. The query returns the on/off status as 1 or 0.

NameTypeValuesDescription
cninteger1 - 500
boolboolean1 | ON | 0 | OFFEnables (1|ON) or disables (0|OFF) the coupling state.
boolean - Returns the on/off status of coupling in the time domain setup for the specified channel as 1 or 0.
:SENSe1:COUPle:PARameter ON /*Enables the coupling state in the time domain setup for Channel 1.*/
:SENSe1:COUPle:PARameter? /*The query returns 1.*/

Queries the valid calibration kits that use the specified type of connector.

NameTypeValuesDescription
<connector>string-Type of the connector to query.
string - Valid calibration kits that use the specified connector type, separated by commas.
:SENSe:CORRection:COLLect:GUIDed:CKIT:CATalog? APC 3.5

Deletes the installed calibration kits.

NameTypeValuesDescription
kitstring-Kit Name specified in the Standard Cal Kits list.
SENSe:CORRection:CKIT:CLEar 85056D

Loads the specified calibration kit (*.xkt file) from the specified path and appends the imported kit to the end of the kits list.

NameTypeValuesDescription
file_namestring-Saved path and filename of the calibration kit to import.
:SENSe:CORRection:CKIT:IMPort NewCalKit.xkt /*Loads the calibration kit file named NewCalKit.xkt.*/

Saves the specified calibration kits as a file suffixed with "*.xkt" to the specified path.

NameTypeValuesDescription
kitinteger-The specified calibration kit to export.
file_namestring-The path and filename for the exported *.xkt file.

Loads the specified file suffixed with "*.xkw" from the specified path to the calibration kits workspace.

NameTypeValuesDescription
file_namestring-Path and filename of the calibration kit file to be loaded.

Sets the system impedance of VNA. Queries the system impedance of VNA.

NameTypeValuesDescription
valuereal0.001 - 1000System impedance value to set.
real (Ω) - The query returns the system impedance in scientific notation.
:SENSe:CORRection:IMPedance:INPut:MAGNitude 100 /*Sets the system
impedance to 100 Ω.*/
:SENSe:CORRection:IMPedance:INPut:MAGNitude? /*The query returns
1.00+02e.*/

Queries all of the measurement trace names and parameters for the specified channel. The query returns the trace names and parameters of the trace measurement as strings separated by commas.

NameTypeValuesDescription
cninteger1 - 500Existing channel number.
typeenumNORMal | DISPlay | DEFineControls how returned trace names are determined.
string - Trace names and parameters of the trace measurement, returned as strings separated by commas.
:CALCulate1:PARameter:CATalog:EXTended? DISPlay /*The query returns CH1_S11_1,S11.*/

Defines an extended calculation parameter name and associated measurement parameter for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500Existing channel number.
<Mname>string-Measurement name.
<param>string-Measurement parameter.

Sets the number of traces created for the specified channel. Queries the number of traces created for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
integer - Returns the number of traces created for the specified channel.

Selects the trace of the specified channel. The query returns the trace in the form of channel No._S-parameter_trace number as a string.

NameTypeValuesDescription
<Mname>string-
string - Returns the trace in the form of channel No._S-parameter_trace number.
:CALCulate1:PARameter:SELect 1
:CALCulate1:PARameter:SELect? /*The query returns CH1_S11_1.*/

Deletes the specified trace for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
Mnamestring-Name of the trace to delete, using the form CH<n>_S11_<tr>.
:CALCulate1:PARameter:DELete Trace1 /*Deletes Tr 1 of S11 measurement for CH1.*/

Selects the specified trace of the specified channel. The query returns the selected trace and channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Trace number to select; it must be an existing trace.
integer - Returns the number of traces created for the specified channel.
:CALCulate1:PARameter:MNUMber 5 /*Selects Trace 5 for CH1.*/
:CALCulate1:PARameter:MNUMber? /*The query returns 5.*/

Sets the S-parameter measurement for the specified trace. The query returns the S-parameter measurement for the specified trace.

NameTypeValuesDescription
<string>string-S-parameter measurement definition.
string - Returns the S-parameter measurement for the specified trace.

Configures the S parameter for the specified trace, or queries the S parameter for the specified trace.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Trace number; must already exist.
stringstring-Measurement parameter to be created; can be S11, S12, S21, S22, or balance S-parameters such as Sdd11 and Sds21 (case-sensitive).
string - Returns the S-parameters as strings.
:CALCulate1:PARameter1:DEFine S21 /*Sets the S-parameter of Trace 1 for CH1 to S21.*/
:CALCulate1:PARameter1:DEFine? /*The query returns S21.*/

Sets the parameter conversion type for the specified measurement trace. Queries the parameter conversion type for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeenumOFF | ZREFlection | ZTRansmit | ZTSHunt | YREFlection | YTRansmit | YTSHunt | INVersion | CONJugation
enum - Returns the parameter conversion type for the specified measurement trace.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeenumMLOGarithmic | MLINear | PHASe | UPHase | IMAGinary | REAL | POLar | SMITh | SADMittance | SWR | GDELay | PPHaseSets the measurement trace format type.

Sets the format type of the selected trace for the specified channel. Queries the format type of the selected trace for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
typeenumMLOGarithmic | MLINear | PHASe | UPHase | IMAGinary | REAL | POLar | SMITh | SADMittance | SWR | GDELay | PPHase
:CALCulate1:MEASure1:FORMat MLINear /*Sets the data format of measurement trace 1 to MLINear.*/
:CALCulate1:MEASure1:FORMat? /*The query returns MLIN.*/

Enables or disables the limit test for the specified channel. The query returns the on/off status of the limit test for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolenum1 | ON | 0 | OFFEnables or disables the limit test.
:CALCulate1:LIMit:STATe ON /*Enables the limit test for Channel 1.*/
:CALCulate1:LIMit? /*The query returns 1.*/

Disables all the markers on the trace of the specified channel.

NameTypeValuesDescription
cninteger1 - 500Specified channel number.

Enables or disables the state of the specified marker on the selected trace for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
mkinteger1 - 16
boolboolean1 | ON | 0 | OFF

Sets the Marker X value of the specified marker on the trace of the specified channel. Queries the Marker X value of the specified marker on the trace of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
mkinteger1 - 16
valuereal-Any X-axis position within the marker measurement span; its unit is related to the sweep type.
real - Returns the Marker X value of the specified marker on the trace of the specified channel.
:CALCulate1:MARKer1 ON /*Enables Marker 1 on the trace of Channel
1.*/

Queries the Y-axis value of the specified marker on the selected trace of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
mkinteger1 - 16
numeric - Returns two numbers: for Smith and Polar format, and for linear phase and log phase, the query returns in (real, imaginary) format; for other formats, it returns in (return value, 0) format.

Queries the formatted measurement data of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
string - Returns the formatted measurement data; the read data are corrected if correction is enabled, otherwise uncorrected. The data format follows the trace format, with two numbers per point for Polar and Smith Chart formats and one number per point for all other formats.

Queries the raw measurement data of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
string - The query returns the raw measurement data of the specified measurement trace in strings, separated by commas.
:CALCulate1:MEASure1:DATA: SDATA?

Queries the X-axis stimulus value of the specified measurement trace.

string - The X-axis stimulus value of the specified measurement trace, returned as comma-separated strings.
:CALCulate1:MEASure1:DATA:X?

Sets the trace hold type of the specified measurement trace. The query form returns the trace hold type of the specified measurement trace.

NameTypeValuesDescription
typeenum-Trace hold type.
returns - Returns the trace hold type of the specified measurement trace.

Restarts the trace hold function for the specified measurement trace, then launches the measurement using the currently selected trace hold type.

NameTypeValuesDescription
cninteger1 - 500Calculation trace number.
mninteger1 - 50000Measurement trace number.

Stores the measurement data of the specified measurement trace into memory.

NameTypeValuesDescription
cninteger1 - 500Measurement trace number.
mninteger1 - 50000Measurement number.

Queries the status of the memory trace of the specified trace for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
enum - Returns 0 for not stored or 1 for have been stored.
:CALCulate1:MEASure1:MATH:MEMory:STATe? /*The query returns 1.*/

Performs a math operation on the specified trace using trace data and data in memory. The query returns the current math operation type.

NameTypeValuesDescription
cninteger1 - 500Channel number for the specified trace.
mninteger1 - 50000Measurement number for the specified trace.
typeenumNORMal | ADD | SUBTract | MULTiply | DIVideMath operation to apply to the data.
enum - Returns the current math operation type as NORM, ADD, SUBT, MULT, or DIV.
:CALCulate1:MEASure1:MATH:FUNCtion ADD /*Adds data of measurement trace 1 and the data in the memory.*/
:CALCulate1:MEASure1:MATH:FUNCtion? /*The query returns ADD.*/

Sets or queries the percent of span for the specified measurement trace. The setting is valid only when the measurement trace format is group delay.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real0% - 100%
real (%) - Returns the percent of span in scientific notation.
:CALCulate1:MEASure1:GDELay:PERCent 25 /*Sets the percent of span
to 25%.*/
:CALCulate1:MEASure1:GDELay:PERCent? /*The query returns 2.50e+01.*/

Sets or queries the aperture points for the specified measurement trace. With sweep frequency range and sweep points unchanged, changing this value affects the percent of span and aperture frequency parameters.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real-
:CALCulate1:MEASure1:GDELay:POINts <value>
:CALCulate1:MEASure1:GDELay:POINts?

Sets the group delay frequency for the specified measurement trace. The query returns the group delay frequency for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
freqinteger2 - 100001
integer - The query returns the group delay frequency for the specified measurement trace.

Turns statistics for the measurement trace function on or off. The command syntax accepts a boolean value and the query form returns the current state.

NameTypeValuesDescription
boolboolean-Enables or disables statistics for the measurement trace function.
boolean - Returns the current statistics state for the measurement trace function.
:CALCulate1:MEASure1:FUNCtion:STATistics ON
:CALCulate1:MEASure1:FUNCtion:STATistics?

Sets the trace statistics data type of the specified measurement trace. Queries the trace statistics data type of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Specified measurement trace number.
mninteger1 - 50000Specified measurement trace number.
typeenumPTPeak | STDEV | MEAN | MIN | MAXTrace statistics data type.
enum - Returns the trace statistics data type of the specified measurement trace.
:CALCulate1:MEASure1:FUNCtion:TYPE PTPeak
:CALCulate1:MEASure1:FUNCtion:TYPE?

Queries statistics data of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
numeric - Returns the statistics data of the specified measurement trace in scientific notation.

Sets or queries the user domain of the specified measurement trace. For the query, the return is the search domain as an integer.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
useridinteger0 - 16
integer - The query returns the search domain in integer.
:CALCulate1:MEASure1:FUNCtion:DOMain:USER 2 /*Sets the user domain of the measurement trace1 to User 2.*/
:CALCulate1:MEASure1:FUNCtion:DOMain:USER? /*The query returns 2.*/

Sets the domain start frequency of the user-defined search domain for the specified measurement trace. The query returns the domain start frequency in scientific notation, using the same unit as the X-axis.

NameTypeValuesDescription
rangeinteger0 - 16Selects the search domain range; 0 indicates the full span, and 1 to 16 select User 1 through User 16.
startreal-Sets the domain start frequency for the selected user-defined search domain.
real - Returns the domain start frequency of the user-defined search domain in scientific notation. The unit is the same as that of the X-axis.

Sets or queries the domain stop frequency of the user-defined search domain for the specified measurement trace. The query returns the domain stop frequency in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
rangeinteger0 - 16
stopreal-Domain stop frequency for the user-defined search domain.
real - Returns the domain stop frequency of the user-defined search domain in scientific notation.
:CALCulate1:MEASure1:FUNCtion:DOMain:USER:STOP 1,2000 /*Sets the
domain stop frequency of the user-defined search domain 1 to 2
kHz.*/

Enables or disables the specified marker. The query returns the on/off status of the specified marker.

NameTypeValuesDescription
boolboolean-Boolean state to enable or disable the specified marker.
enum - On/off status of the specified marker.

Enables or disables the coupled markers for the specified measurement trace. The query returns the on/off status of the coupled markers for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
boolenum1 | ON | 0 | OFF
enum - Returns 1 or 0.
:CALCulate1:MEASure1:MARKer1 ON /*Enables Marker1.*/
:CALCulate1:MEASure1:MARKer1? /*The query returns 1.*/

Sets or queries the scope of the coupled markers for the specified measurement trace. The setting is only valid when :CALCulate<cn>:MEASure<mn>:MARKer<mk>:COUPling[:STATe] is ON.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumALL | CHANnelSelects whether coupling is limited to traces in the same channel or across all channels.
enum - Returns the current coupled-marker scope as 1 or 0.

Specifies whether the specified marker is relative to the Reference marker or absolute. The query reports whether the specified marker is a Delta marker or an Absolute marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
boolenum1 | ON | 0 | OFFON (or 1) makes the specified marker a Delta marker; OFF (or 0) makes it an Absolute marker.
enum - The query returns 1 or 0, indicating whether the specified marker is Delta or Absolute.
:CALCulate1:MEASure1:MARKer1:DELTa ON /*Sets Marker1 to Delta marker.*/
:CALCulate1:MEASure1:MARKer1:DELTa? /*The query returns 1.*/

Sets the specified marker to display either interpolated data between data points or the actual discrete data points. The query returns 1 or 0.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<bool>enum1 | ON | 0 | OFF1|ON sets the specified marker to display the actual data points; 0|OFF sets it to display calculated values between the actual data points.
enum - Returns 1 for actual data points (discrete data) or 0 for calculated values between data points (interpolated data).
:CALCulate1:MEASure1:MARKer1:DISCrete ON
:CALCulate1:MEASure1:MARKer1:DISCrete? /*The query returns 1.*/

Sets the data format type of the specified marker of the specified channel. Queries the data format type of the specified marker of the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<type>enumDEFault | MLINear | MLOGarithmic | PHASe | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | POLar | IMPedance | ADMittanceSelects the marker data format type.
enum - Returns the marker data format type using the abbreviated keyword form.

Sets the type of the specified marker and queries the type of the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumNORMal | FIXed
enum - The query returns NORM or FIX.
:CALCulate1:MEASure1:MARKer1:TYPE FIXed /*Sets Marker1 to FIXed type.*/
:CALCulate1:MEASure1:MARKer1:TYPE? /*The query returns 1.*/

Sets the X-axis value of the specified marker, or queries the X-axis value of the specified marker. The X-axis can represent frequency or power, and the value is relative to the reference marker when the marker is a delta marker.

NameTypeValuesDescription
cninteger1 - 500Measurement channel number.
mninteger1 - 50000Measurement number.
mkinteger1 - 16Marker number.
valuereal-X-axis position within the measurement span of the marker.
real (Hz or dBm) - The X-axis value of the specified marker in scientific notation.
:CALCulate1:MEASure1:MARKer1:X -10 /*Sets the X-axis value for Marker1 to -10 dBm.*/
:CALCulate1:MEASure1:MARKer1:X? /*The query returns -1.00e+01.*/

Executes the marker function for the specified measurement marker. The page slice only shows the syntax and does not document the effect or return value.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
mkinteger1 - 16Marker number.
type--
:CALCulate1:MEASure1:MARKer1:Y? /*The query returns -6.28006525289E
+0.00000000000E+00.*/

Sets or queries the search function that the specified marker will perform. The function can be one of several search modes such as maximum, minimum, peak, or target.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
mkinteger1 - 16Marker number.
typeenumMAXimum | MINimum | RPEak | LPEak | NPEak | TARGet | LTARget | RTARget | PEAKSearch function to select for the marker.
enum - The query returns the selected search function as one of MAX, MIN, RPE, LPE, NPE, TARG, LTAR, RTAR, or PEAK.

Enables or disables the search tracking function of the specified marker. The query returns the on/off state of the search tracking function of the specified marker.

NameTypeValuesDescription
cninteger1 - 500Calculation trace number.
mninteger1 - 50000Measurement number.
mkinteger1 - 16Marker number.
boolenum1 | ON | 0 | OFFTurns search tracking on or off.
enum - Returns 1 or 0.
:CALCulate1:MEASure1:MARKer1:FUNCtion:TRACking ON /*Enables the search tracking of Marker 1.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion:TRACking? /*The query returns 1.*/

Assigns the specified marker to a specified range number. The query returns the range number assigned to the specified marker.

NameTypeValuesDescription
<userid>integer0 - 16Range number assigned to the specified marker.
integer - The search domain in integer.
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER 2 /*Assigns the search range number for Marker1 to 2.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER? /*The query returns 2.*/

Sets the start point of the X-axis of the user domain for the specified marker. The query returns the start point of the X-axis of the user domain for the specified marker in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-Start point value for the X-axis of the user domain; the unit depends on sweep type.
real - Start point of the X-axis of the user domain for the specified marker, returned in scientific notation.
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STARt 10 /*Sets the start point of the X-axis of the user domain to 10 Hz.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STARt?
*The query returns 1.00e+01.*/

Sets the stop value of the frequency sweep or the stop point of the X-axis of the user domain for the specified marker. The query returns that stop value in scientific notation.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<value>real-Stop value of the frequency sweep or stop point of the X-axis of the user domain.
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STOP 2000 /*Sets the stop frequency of the X-axis of the user domain for Marker1 to 2 kHz.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STOP? /*The query returns 2.00e+03.*/

Sets the peak excursion used in marker peak search. The query returns the current peak excursion in scientific notation, with units matching the trace Y-axis format.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<value>real0 - 500
real - The peak excursion in scientific notation, with the same unit as the Y-axis.

Sets or queries the peak polarity in the peak search of the specified marker.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
typeenumNEGative | POSitive | BOTHSelects whether negative peaks, positive peaks, or both are considered valid peaks.
enum - Returns the current peak polarity as NEG, POS, or BOTH.
:CALCulate1:MEASure1:MARKer1:FUNCtion:PEAK:POLarity BOTH /*Sets the peak polarity to BOTH.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion:PEAK:POLarity? /*The query returns BOTH.*/

Sets the peak threshold in the peak search for the specified marker. The query returns the peak threshold for the specified marker in scientific notation, with the same unit as the Y-axis.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
mkinteger1 - 16Marker number.
valuereal-500 - 500Peak threshold value.
real (same as Y-axis) - The peak threshold in scientific notation. Its unit is the same as that of the Y-axis.
:CALCulate1:MEASure1:MARKer1:FUNCtion:PEAK:THReshold 10 /*Sets the
:CALCulate1:MEASure1:MARKer1:FUNCtion:PEAK:THReshold? /

Sets or queries the target value used in target search for the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-1E15 - 1E15Target value for the target search.
real - Returns the target value for target search in scientific notation; the unit is the same as that of the Y-axis.
:CALCulate1:MEASure1:MARKer1:FUNCtion:TARGet -10dB
:CALCulate1:MEASure1:MARKer1:FUNCtion:TARGet?

Sets the target transition type in the target search of the specified marker. Queries the target transition type in the target search of the specified marker.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<type>enumNEGative | POSitive | BOTHTarget transition type used for target search.
enum - Returns the target transition type as NEG, POS, or BOTH.
:CALCulate1:MEASure1:MARKer1:FUNCtion:TARGet:TRANsition BOTH
:CALCulate1:MEASure1:MARKer1:FUNCtion:TARGet:TRANsition?

Sets the multi peak excursion in the multi peak search of the specified marker. Queries the multi peak excursion in the multi peak search of the specified marker.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<value>real0 - 500Multi peak excursion value; unit varies with the current trace data format.

Sets or queries the multi peak polarity used in the multi peak search of the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumNEGative | POSitive | BOTHSelects which peak polarities are considered valid peaks.
enum - The query returns the current polarity setting.
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:PEAK:POLarity BOTH /
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:PEAK:POLarity? /*The query returns BOTH.*/

Sets the multi peak threshold value in multi peak search for the specified marker. The query returns the multi peak threshold in scientific notation, using the same unit as the Y-axis.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-Multi peak threshold value; refer to Remarks for polarity-related validity.
\:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:PEAK:THReshold 10
\:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:PEAK:THReshold?

Sets or queries the multi target value in the multi peak and target search for the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-1E15 - 1E15
real - The query returns the multi target value for the multi peak and target search in scientific notation.

Sets or queries the multi target transition type used by the specified marker during multi target search.

NameTypeValuesDescription
cninteger1 - 500Calculation index.
mninteger1 - 50000Measurement index.
mkinteger1 - 16Marker index.
typeenumNEGative | POSitive | BOTHTransition type for the multi target search.
enum - The query returns NEG, POS, or BOTH.
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:TARGet:TRANsition BOTH
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:TARGet:TRANsition?

Turns multi tracking on or off for the specified measurement trace.

NameTypeValuesDescription
boolboolean-Enables or disables multi tracking.
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:TRACking <bool>
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:TRACking?

Sets the selected instrument setting to assume the value of the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumCENTer | SPAN | STARt | STOP | RLEVel | DELay | CWFReqSelects which instrument setting is set to the marker value.
:CALCulate1:MEASure1:MARKer1:SET CENT /*Sets the center frequency
of the sweep to the value of the marker (current marker position).*/

Enables or disables the limit test for the specified measurement trace. The query returns the on/off status of the limit test for that trace.

NameTypeValuesDescription
<bool>boolean1 | ON | 0 | OFFEnables or disables the limit test.
enum - Returns the limit test status as 1 or 0.
:CALCulate1:MEASure1:LIMit ON /*Enables the limit test for the measurement trace 1.*/
:CALCulate1:MEASure1:LIMit? /*The query returns 1.*/

Enables or disables the beeper when the limit test is found to be failed. Queries whether the beeper sounds when the limit test is found to be failed.

NameTypeValuesDescription
<bool>boolean-Boolean to enable or disable the beeper on limit-test failure.

Enables or disables the display of the limit line for the specified measurement trace. The query returns 1 or 0.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
boolenum1 | ON | 0 | OFF
integer - Returns 1 or 0 indicating whether the limit line display is enabled.
:CALCulate1:MEASure1:LIMit:SOUNd ON /*Enables the beeper to sound
:CALCulate1:MEASure1:LIMit:SOUNd? /*The query returns 1.*/

Sets or queries the judge rule of the limit test for the specified limit line of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Measurement trace number.
mninteger1 - 50000Measurement number.
sgninteger1 - 32Segment number.
typeenumOFF | LMAX | LMINJudge rule for the limit test.
enum - The query returns OFF, LMAX, or LMIN.
:CALCulate1:MEASure1:LIMit:SEGMent1:TYPE LMIN /*Sets the judge rule of Limit1 of measurement trace 1 to LMIN.*/
:CALCulate1:MEASure1:LIMit:SEGMent1:TYPE? /*The query returns LMIN.*/

Sets the X-axis begin stimulus value of the specified limit line of the specified measurement trace. The query returns the current X-axis begin stimulus value in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
sgninteger1 - 32
valuereal-X-axis begin stimulus value; must be within the X-axis range for the specified measurement trace.
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STARt 10000000
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STARt?

Sets the X-axis end stimulus value of the specified limit line of the specified measurement trace. The query returns the X-axis end stimulus value in scientific notation.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<sgn>integer1 - 32
<value>real-X-axis end stimulus value to set for the specified limit line.
real - Returns the X-axis end stimulus value in scientific notation.
*

Sets the Y-axis begin response value of the specified limit line of the specified measurement trace. Queries the Y-axis begin response value of the specified limit line of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
sgninteger1 - 32
valuereal-Y-axis begin response value; must be within the Y-axis range for the specified measurement trace.
real - Returns the Y-axis begin response value in scientific notation.
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STARt 100
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STARt?

Sets the Y-axis end response value of the specified limit line for the specified measurement trace. The query returns the Y-axis end response value in scientific notation.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<sgn>integer1 - 32
<value>real-Y-axis end response value; must be within the Y-axis range for the specified measurement trace.
real - Y-axis end response value in scientific notation.
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STOP 100
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STOP?

Enables or disables the delay test for the specified trace. Queries the on/off status of the delay test for the specified trace.

NameTypeValuesDescription
<cn>integer1 - 500Measurement trace number.
enum - Returns the on/off status of the delay test for the specified trace.

Sets the delay threshold for the specified trace. Queries the delay threshold for the specified trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
freqreal10 - 90
real - The delay threshold for the specified trace.

Queries the delay results for the specified trace. The query returns the delay measurement results in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
string - The delay measurement results in scientific notation.
:CALCulate1:MEASure1:DELay:DATA? /*The query returns 1.00e-02.*/

Sets the skew test-related state for the specified trace measurement.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<bool>boolean-

Sets the skew threshold for the specified trace. Queries the skew threshold for the specified trace.

NameTypeValuesDescription
cninteger-Channel number.
mninteger-Measurement number.
freqreal-Skew threshold value.
real - Returns the skew threshold for the specified trace.

Sets the reference trace of the skew measurement for the specified trace. Queries the reference trace of the skew measurement for the specified trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
rmninteger1 - 50000
integer - Returns the reference trace of the skew measurement for the specified trace.

Queries the skew test result for the specified trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
string - Returns the skew test results as comma-separated strings.
:CALCulate1:MEASure1:DTIMe:DATA? /*The query returns
0.001,0.002,0.001,0.002.*/

Enables or disables the skew check for the specified trace. The query reports the on/off status of the skew check for the specified trace.

NameTypeValuesDescription
boolboolean-Boolean value to enable or disable the skew check.

Sets the skew limit for the specified trace. The query returns the skew limit in scientific notation, in seconds.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
freqreal-10e+15 s - 1.0e+15 sSkew limit value.

Queries the pass/fail state based on the skew limit set for the specified trace. Returns 1 if any measurement response data point exceeds the skew limit, and 0 if all data points meet the limit.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
integer - 1 indicates failure when any measurement response data point exceeds the skew limit; 0 indicates all measurement response data points meet the skew limit.

Sets the smoothing function state for the specified calculation measurement. The syntax shows a boolean value parameter.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
boolboolean-Boolean value to enable or disable smoothing state.

Sets the smoothing aperture of the specified measurement trace. Queries the smoothing aperture of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500

Sets the number of smoothing points for the specified measurement trace. Queries the number of smoothing points for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
numinteger1 - 25001Number of adjacent points to average. It can only be an odd number; the maximum value is 25% of the number of channel data points.
integer - The query returns the number of smoothing points for the specified measurement trace.
:CALCulate1:MEASure1:SMOothing:POINts 3
:CALCulate1:MEASure1:SMOothing:POINts?

Sets the distance unit of the electrical delay for the specified measurement trace. Queries the distance unit of electrical delay for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeenumMETer | FEET | INCHSets the distance unit for electrical delay.
enum - Returns the distance unit of electrical delay for the specified measurement trace.

Sets or queries the electrical delay distance for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Calculation trace number.
mninteger1 - 50000Measurement trace number.
valuereal-Electrical delay distance to set.
real - Returns the electrical delay distance in scientific notation.
:CALCulate1:MEASure1:CORRection:EDELay:DISTance 2 /*Sets the electrical delay distance for the measurement trace 1 to 2 m.*/
:CALCulate1:MEASure1:CORRection:EDELay:DISTance? /*The query returns 2.00e+00.*/

Sets the electrical delay time for the specified measurement trace. Queries the electrical delay time for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-10 - 10
real (s) - The query returns the electrical delay time in scientific notation.
:CALCulate1:MEASure1:CORRection:EDELay 0.5e-12 /*Sets the electrical delay time to 0.5 ps.*/
:CALCulate1:MEASure1:CORRection:EDELay? /*The query returns +5.00E-13.*/

Sets the magnitude offset parameter for the specified measurement trace. The query returns the current magnitude offset.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real-

Sets the magnitude offset slope for the specified measurement trace. Queries the magnitude offset slope for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
real (dB) - The query returns the magnitude offset slope in scientific notation.
:CALCulate1:MEASure1:OFFSet:MAGNitude:SLOPe 2000000
:CALCulate1:MEASure1:OFFSet:MAGNitude:SLOPe?

Sets the phase offset for the specified measurement trace. Queries the phase offset for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-1E15 - 1E15
real (degree) - The query returns the phase offset in scientific notation. Its unit is degree (°).
:CALCulate1:MEASure1:OFFSet:PHASe 1 /*Sets the phase offset to 1°.*/
:CALCulate1:MEASure1:OFFSet:PHASe? /*The query returns 1.00e+00.*/

Enables or disables the time domain transform for the specified measurement trace. Queries the on/off status of the time domain transform for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<bool>enum1 | ON | 0 | OFFEnables or disables the time domain transform state.
integer - Returns 1 or 0 indicating the on/off status of the time domain transform.
:CALCulate1:MEASure1:TRANsform:TIME:STATe ON
:CALCulate1:MEASure1:TRANsform:TIME:STATe?

Sets the transform start time of time domain analysis for the specified measurement trace. The query returns the transform start time in scientific notation, in seconds.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement trace number.
valuereal-(points - 1) / frequency span - (points - 1) / frequency spanTransform start time to set.
real (s) - Transform start time of time domain analysis for the specified measurement trace.
:CALCulate1:MEASure1:TRANsform:TIME:STARt 1e-8
:CALCulate1:MEASure1:TRANsform:TIME:STARt? /*The query returns 1.00e-08.*/

Sets the transform stop time of time domain analysis for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real-Sets the transform stop time.

Sets the transform center time of time domain analysis for the specified measurement trace. Queries the transform center time of time domain analysis for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuerealRefer to Remarks - Refer to RemarksTransform center time value for the measurement trace.
:CALCulate1:MEASure1:TRANsform:TIME:CENTer 1e-8
:CALCulate1:MEASure1:TRANsform:TIME:CENTer?

Sets the span time in time domain measurement for the specified measurement trace. Queries the span time in time domain measurement for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-
real (s) - The query returns the span time in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:SPAN 1e-8
:CALCulate1:MEASure1:TRANsform:TIME:SPAN?

Sets or queries the transform type of the time domain measurement for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Specifies the calculation number.
mninteger1 - 50000Specifies the measurement number.
typediscreteBPASs | LPSTep | LPIMpulseSets the transform type.
discrete - Returns the transform type of the time domain measurement for the specified measurement trace.

Sets the marker mode for the time transform of the specified measurement trace. The query form returns the current marker mode.

NameTypeValuesDescription
typeenumBPAS | LPST | LPIMMarker mode to set.
enum - Returns the current marker mode.
:CALCulate1:MEASure1:TRANsform:TIME LPSTep /*Sets the transform
:CALCulate1:MEASure1:TRANsform:TIME? /*The query returns LPST.*/

Sets the marker mode in the Time Domain Setup (TDA) for the specified measurement trace. Queries the marker mode in the Time Domain Setup (TDA) for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeenumAUTO | REFLection | TRANsmission
:CALCulate1:MEASure1:TRANsform:TIME:MARKer:MODE REFlection /*Sets the marker mode to REFLection.*/
:CALCulate1:MEASure1:TRANsform:TIME:MARKer:MODE? /*The query returns REFL.*/

Sets the Kaiser Beta parameter in the Time Domain Setup (TDA) for the specified measurement trace. Queries the Kaiser Beta parameter in the Time Domain Setup (TDA) for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
value--

Sets the impulse width in the Time Domain Setup (TDA) for the specified measurement trace. Queries the impulse width in the Time Domain Setup (TDA) for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal0.6/frequency span - 1.39/frequency spanIndicates the impulse width.
real (s) - The query returns the impulse width in the Time Domain Setup (TDA) in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:IMPulse:WIDTh 5
:CALCulate1:MEASure1:TRANsform:TIME:IMPulse:WIDTh?

Sets the window function type of the DTF function for the specified measurement trace, or queries the current window function type. The query returns the abbreviated window type.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeoptdiscreteRECTangular | HANNing | HAMMing | FLATtop | GAUSsianWindow function type for the DTF function.
enum - Returns the abbreviated window function type: RECT, HANN, HAMM, FLAT, or GAU.
:CALCulate1:MEASure1:TRANsform:TIME:WINDow HANNing /*Sets the window function type of the DTF to HANNing.*/

Enables or disables the DTF function for the specified measurement trace. Queries the on/off status of the DTF function for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<bool>enum1 | ON | 0 | OFF
enum - The query returns 1 or 0.
:CALCulate1:MEASure1:TRANsform:DTFault:STATe ON /*Enables the DTF function.*/
:CALCulate1:MEASure1:TRANsform:DTFault:STATe? /*The query returns 1.*/

Sets the DTF stop distance for the specified measurement trace. Queries the DTF stop distance for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-DTF stop distance value; the valid range depends on the sweep frequency range, sweep points, and velocity factor.
real - Returns the DTF stop distance for the specified measurement trace.

Sets or queries the DTF cable loss of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal0 - 1.0e+15
real (dB/m) - The query returns the DTF cable loss in scientific notation.
:CALCulate1:MEASure1:TRANsform:DTFault:LOSS:COAX 0.2
:CALCulate1:MEASure1:TRANsform:DTFault:LOSS:COAX?

Sets the DTF velocity factor for the specified measurement trace, and the query returns the velocity factor in scientific notation. Running the command also modifies the velocity factor in DTF and electrical delay.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real0 - 1Velocity factor to set for the measurement trace.
real - Velocity factor in scientific notation.
:CALCulate1:MEASure1:TRANsform:DTFault:VELocity 0.7 /*Sets the velocity factor to 0.7.*/
:CALCulate1:MEASure1:TRANsform:DTFault:VELocity? /*The query returns 7.00e-01.*/

Sets the time domain transform parameters to be coupled for the specified measurement trace. Queries the time domain transform parameters to be coupled for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<num>integer0 - 63Bit-coded selection of which time domain transform parameters are coupled.
:CALCulate1:MEASure1:TRANsform:COUPle:PARameters 2 /*Sets the transform state parameter to be coupled.*/
:CALCulate1:MEASure1:TRANsform:COUPle:PARameters? /*The query returns 2.*/

Enables or disables the time gating of the specified measurement trace. The query reports the on/off status of time gating for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Calculation channel number.
mninteger1 - 50000Measurement number.
boolenum1 | ON | 0 | OFFTurns time gating on or off.
enum - The query returns 1 or 0.
:CALCulate1:MEASure1:FILTer:GATE:TIME:STATe ON /*Enables the time gating.*/
:CALCulate1:MEASure1:FILTer:GATE:TIME:STATe? /*The query returns
1.*/

Sets the stop time in time domain gating of the specified measurement trace. Queries the stop time in time domain gating of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-Stop gate time.
real (s) - The query returns the stop gate time in scientific notation.
:CALCulate1:MEASure1:FILTer:GATE:TIME:STARt 1e-8 /*Sets the start gate time to 10 ns.*/
:CALCulate1:MEASure1:FILTer:GATE:TIME:STARt? /*The query returns 1.00e-08.*/

Sets the center time in time domain gating of the specified measurement trace. Queries the center time in time domain gating of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-Center time value for the time domain gating, referenced to the start and stop times.
real (s) - Returns the center time of the time domain gating in scientific notation. The unit is s.
:CALCulate1:MEASure1:FILTer:GATE:TIME:CENTer 1e-8 /*Sets the center time to 10 ns.*/
:CALCulate1:MEASure1:FILTer:GATE:TIME:CENTer? /*The query returns 1.00e-08.*/

Sets the span time in time-domain gating of the specified measurement trace. The query returns the span time in scientific notation, in seconds.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real-Span time setting; the manual refers to Remarks for valid range.
real (s) - Returns the span time in scientific notation.
:CALCulate1:MEASure1:FILTer:GATE:TIME:SPAN 1e-8 /*Sets the span time to 10 ns.*/
:CALCulate1:MEASure1:FILTer:GATE:TIME:SPAN? /*The query returns 1.00e-08.*/

Sets the gate shape in time domain gating of the specified measurement trace. Queries the gate shape in time domain gating of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<type>--

Sets the time domain gating parameters to be coupled for the specified measurement trace. Queries the time domain gating parameters to be coupled for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
valueenumMAXimum | WIDE | NORMal | MINimumSelects which gate coupling parameter set to use.
enum - Returns the current gate coupling setting as MAX, WIDE, NORM, or MIN.

Enables or disables de-embedding for all ports on the specified channel. The query reports the on/off status of de-embedding for all ports on the specified port.

NameTypeValuesDescription
boolboolean-Boolean state to enable or disable de-embedding.
boolean - Returns the on/off status of de-embedding for all ports.

Enables or disables extrapolation for the SNP file. The query reports whether extrapolation is on or off for the SNP file.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns SNP file extrapolation on or off.
enum - Returns the on/off status of the SNP file extrapolation as 1 or 0.

Enables or disables the port match function. The query returns the on/off status of the port match.

NameTypeValuesDescription
<cn>integer1 - 500Channel number to specify the measurement channel.
<bool>enum1 | ON | 0 | OFFTurns port match on or off.
enum - Returns 1 or 0 indicating the port match status.
:CALCulate1:FSIMulator1:STATe ON /*Enables port match.*/
:CALCulate1:FSIMulator1:STATe? /*The query returns 1.*/

Sets whether to load a n-port matching circuit model for the specified port. Queries whether to load a n-port matching circuit model for the specified port.

NameTypeValuesDescription
<cn>integer1 - 500Channel number.
<pn>integer-Port number.
type--Whether to load a matching circuit model for the specified port.

Sets the filename of the circuit model to be used for port match. Queries the filename currently configured for port match.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger-Port number; the allowed values depend on the instrument model.
stringstring-Filename to use for the circuit model, including path.
string - Returns the filename of the circuit model to be used for port match.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:USER:FILename /data/UserData/mydata2.s2p /*Sets the filename of the circuit model to be used for port match to /data/UserData/mydata2.s2p.*/
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:USER:FILename? /*The query returns /data/UserData/mydata2.s2p.*/

Sets the value for the C (Capacitance) circuit element for a port matching circuit model to simulate on the specified port. The query returns the current C value.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integer-Port number for the matching circuit model; the valid ports are device-dependent.
<value>real-1E18 - 1E18Capacitance value for the circuit element.
real - Returns the current value for the C (Capacitance) circuit element for a port matching circuit model to simulate on the specified port.

Sets the value for the G (Conductance) circuit element for a port matching circuit model to simulate on the specified port. Queries the value for the same element.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integerRefer to Remarks
<value>real-1E18 - 1E18
real (F) - The query returns the G value in scientific notation.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:C 0.00003
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:C?

Sets the value for the L (Inductance) circuit element for a port matching circuit model to simulate on the specified port. Queries the value for the L element on the specified port.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integer-Port number; refer to Remarks.
<value>real-1E18 - 1E18Inductance value to set for the port matching circuit element.
real - Returns the L value for the selected port matching circuit element.

Sets the value for the R (Resistance) circuit element for a port matching circuit model to simulate on the specified port. Queries the value for the R circuit element for the specified port matching circuit model.

NameTypeValuesDescription
valuerealOhmResistance value to set for the port matching circuit element.
real (Ohm) - Returns the R value in scientific notation.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:R 0.00003
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:R?

Enables or disables the port de-embedding function. The query returns the on/off status of the port de-embedding function.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>boolean1 | ON | 0 | OFFEnables or disables the port de-embedding function.
enum - Returns the on/off status of the port de-embedding function.

Sets whether to load an n-port de-embed circuit model for the specified port. The query reports whether such a model is selected for the specified port.

NameTypeValuesDescription
cninteger1 - 500Calculation channel number.
pninteger1Port number; valid values depend on the instrument model.
typeoptenumNONE | USERSelects the de-embed circuit model type.
enum - Returns whether a de-embed circuit model is loaded for the specified port.

Sets the filename of the circuit model to be used for port de-embedding. The query returns the filename of the circuit model to be used for port de-embedding.

NameTypeValuesDescription
cninteger1 - 500
pninteger-
file_namestring-ASCII string filename for the circuit model.
string - Returns the filename of the circuit model to be used for port de-embedding.
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1:USER:FILename <file_name>
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1:USER:FILename?

Enables or disables reversing adapter ports on an n-port fixture or adapter to be de-embedded. The query asks whether adapter-port reversing is enabled.

NameTypeValuesDescription
cninteger1 - 500Calculation channel number.
pninteger-Port number; allowable values depend on the instrument model.
boolenum1 | ON | 0 | OFFEnables or disables port reversal.
boolean - Returns whether adapter ports are set to be reversed on the n-port fixture or adapter.
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1:SNP:REVerse <bool>
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1:SNP:REVerse?

Enables or disables the port impedance conversion. Queries the on/off status of the port impedance conversion.

NameTypeValuesDescription
<cn>integer1 - 500
<bool>enum1 | ON | 0 | OFF
enum - The query returns 1 or 0.
:CALCulate1:FSIMulator1:STATe ON /*Enables port impedance
conversion.*/
:CALCulate1:FSIMulator1:STATe? /*The query returns 1.*/

Sets the real part of the port impedance conversion for a specified port. The query returns the corresponding real value.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger-Port number.
valuereal-Real part value to set.
real - Returns the real part value of the port impedance conversion.

Sets the imaginary part of the impedance of the specified single-ended port. Queries the imaginary part of the impedance of the specified single-ended port.

NameTypeValuesDescription
cninteger1 - 500
pninteger1Port number; the allowed values depend on the instrument model.
valuereal0 - 1E7Imaginary impedance value to set for the specified port.
real (Ω) - The query returns the imaginary value of the specified single-ended port in scientific notation.
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:IMAG 10
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:IMAG?

Sets the real part of the impedance of the specified single-ended port, and automatically sets the imaginary part to 0. The query returns the real part of the impedance of the specified single-ended port.

NameTypeValuesDescription
cninteger1 - 500
pnintegerRefer to Remarks
valuereal-1E18 - 1E18
real (Ω) - Returns the real part of the impedance of the specified single-ended port.
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:IMAG 10 /*Sets the
Imaginary part of the Port 1 impedance to 10 Ω.*/
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:IMAG? /*The query
returns 1.00e+01.*/

Sets the DUT balanced topology for the specified channel. Queries the DUT balanced topology for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
charenumBALanced | BBALanced | BALSended | SBALanced | SSBalanced | BSSended | CUST

Sets the port to which the BAL topology is mapped. Queries the port to which the BAL topology is mapped.

NameTypeValuesDescription
cninteger1 - 500
p1Posinteger1 - 199
p1Neginteger1 - 199
integer - Returns the port mapping for the BAL topology.
:CALCulate1:FSIMulator:BALun:TOPology:BALanced 1,2
:CALCulate1:FSIMulator:BALun:TOPology:BALanced?

Sets the port mapping to BAL-BAL topology. Queries the port mapping for the BAL-BAL topology.

NameTypeValuesDescription
cninteger1 - 500
p1Posinteger1 - 199
p1Neginteger1 - 199
p2Posinteger1 - 199
p2Neginteger1 - 199
string - The query returns the port number that is connected based on the BAL topology, separated by commas.
:CALCulate1:FSIMulator:BALun:TOPology:BBALanced 1,2, 3,4
:CALCulate1:FSIMulator:BALun:TOPology:BBALanced?

Sets the port to which the BAL-SE topology is mapped. Queries the port mapping for the BAL-SE topology.

NameTypeValuesDescription
cninteger1 - 500
bPosinteger1 - 199Indicates the physical port connected to the balanced logical port via the positive line.
bNeginteger1 - 199Indicates the physical port connected to the balanced logical port via the negative line.
seinteger1 - 199Single-ended port.
string - The query returns the port number that is connected based on the BAL-SE topology, separated by commas.
:CALCulate1:FSIMulator:BALun:TOPology:BSSended 1,2,3 /*Sets the port number to which the BAL-SE topology maps to 1,2,3.*/
:CALCulate1:FSIMulator:BALun:TOPology:BSSended? /*The query returns 1,2,3.*/

Sets the port to which the SE-BAL topology is mapped. Queries the port to which the SE-BAL topology is mapped.

NameTypeValuesDescription
seinteger1 - 500
bPosinteger1 - 500Indicates the physical port connected to the input balanced logical port via the positive line.
bNeginteger1 - 500Indicates the physical port connected to the input balanced logical port via the negative line.
string - Returns the port number that is connected based on the SE-BAL topology, separated by commas.
:CALCulate1:FSIMulator:BALun:TOPology:SBalanced 3,4,1,2 /*Sets the port number to which the BAL-SE-SE topology maps to 3,4,1,2.*/
:CALCulate1:FSIMulator:BALun:TOPology:BSSended? /*The query returns 3,4,1,2.*/

Sets or queries the port mapping for the SE-SE-BAL topology. The setter takes <se1>, <se2>, <bPos>, and <bNeg>; the query returns the mapped port numbers separated by commas.

NameTypeValuesDescription
se1integer1 - 500First single-ended port number.
se2integer1 - 500Second single-ended port number.
bPosinteger1 - 500Physical port connected to the balanced logical port via the positive line.
bNeginteger1 - 500Physical port connected to the balanced logical port via the negative line.
string - The query returns the port numbers mapped by the SE-SE-BAL topology, separated by commas.
:CALCulate1:FSIMulator:BALun:TOPology:SSBalanced 1,2,3,4
:CALCulate1:FSIMulator:BALun:TOPology:SSBalanced?

Sets the port to which the BAL-SE topology is mapped. Queries the port mapping for the BAL-SE topology.

NameTypeValuesDescription
cninteger1 - 500
bPosinteger1 - 199Indicates the physical port connected to the balanced logical port via the positive line.
bNeginteger1 - 199Indicates the physical port connected to the balanced logical port via the negative line.
seinteger1 - 199Single-ended port.
string - The query returns the port number that is connected based on the BAL-SE topology, separated by commas.
:CALCulate1:FSIMulator:BALun:TOPology:BSSended 1,2,3 /*Sets the port number to which the BAL-SE topology maps to 1,2,3.*/
:CALCulate1:FSIMulator:BALun:TOPology:BSSended? /*The query returns 1,2,3.*/

Sets the current measurement to Continuous (ON|1) or Single (OFF|0) measurement. The query reads the current measurement state.

NameTypeValuesDescription
boolenumOFF | ON | 0 | 1Selects Continuous or Single measurement mode.
integer - Returns the current measurement state as 1 or 0.
:INITiate:CONTinuous OFF /*Sets the measurement status to Single.*/
:INITiate:CONTinuous? /*The query returns 0.*/

:LAN:DHCPset / query

Turns on or off the DHCP configuration mode, or queries the on/off status of the current DHCP configuration mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables DHCP configuration mode.
enum - Returns the on/off status of the current DHCP configuration mode.
:LAN:DHCP OFF /*Disables DHCP configuration mode.*/
:LAN:DHCP? /*The query returns 0.*/
:LAN:AUToipset / query

Turns on or off the Auto IP configuration mode, or queries the on/off status of the current Auto IP configuration mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables Auto IP configuration mode.
enum - Returns the current Auto IP configuration mode state as 1 or 0.
:LAN:AUToip OFF /*Disables the Auto IP configuration
mode.*/
:LAN:AUToip? /*The query returns 0.*/
:LAN:MANualset / query

Turns on or off the static IP configuration mode; or queries the on/off status of the static IP configuration mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables static IP configuration mode.
:LAN:MANual <bool>
:LAN:MANual?
:LAN:IPADdressset / query

Sets or queries the instrument IP address. The set form is only valid when the IP configuration mode is Static IP and both DHCP and Auto IP are disabled.

NameTypeValuesDescription
<string>string-IP address in the form nnn.nnn.nnn.nnn.
string - Returns the current IP address as a string.
:LAN:SMASkset / query

Sets or queries the subnet mask.

NameTypeValuesDescription
stringstring0 - 255Subnet mask in the form nnn.nnn.nnn.nnn.
string - The query returns the current subnet mask as a string.
LAN:SMASk 255.255.255.0
LAN:SMASk?

Queries the address of the DHCP server.

string - The address of the DHCP server.
:LAN:GATewayset / query

Sets or queries the default gateway.

NameTypeValuesDescription
stringstring0 - 223Default gateway address in nnn.nnn.nnn.nnn format; the first octet ranges from 0 to 223 except 127, and the other three octets range from 0 to 255.
string - The current gateway in strings.
:LAN:GATeway 192.168.1.1
:LAN:GATeway?
:LAN:DNSset / query

Sets or queries the DNS address. The set form accepts an IPv4 address string in the form nnn.nnn.nnn.nnn.

NameTypeValuesDescription
stringstring-DNS address in IPv4 dotted-decimal form.
string - Returns the current DNS address as a string.
:LAN:DNS 192.168.1.1
:LAN:DNS?

Queries the MAC address of the instrument.

string - Returns the MAC address of the instrument.

Queries the current network configuration status.

enum - Returns the current network configuration status as one of the listed states.

Queries the VISA address of the instrument.

NameTypeValuesDescription
typeenumUSB | LXISelects the address type to query.
string - The query returns the VISA address in strings.
:LAN:MDNSset / query

Enables or disables mDNS; or queries the mDNS status.

NameTypeValuesDescription
boolboolean0|OFF - 1|ONEnables or disables mDNS.
:LAN:APPLyset / query

Applies the network configuration. After setting LAN-related parameters, send this command to make the LAN configuration take effect.

:LAN:HOST:NAMEset / query

Sets or queries the host name.

NameTypeValuesDescription
namestring-The label can contain English letters and numbers, as well as some symbols.
string - Returns the host name.
:LAN:DESCriptionset / query

Sets or queries the LAN description. The description label can contain English letters and numbers, as well as some symbols.

NameTypeValuesDescription
namestring-The label to set as the LAN description.
string - Returns the description in ASCII strings.

Saves the limit test table as a file with the specified filename suffixed with "*.csv" to the default path.

NameTypeValuesDescription
<file_name>string-Name of the file to be saved
:MMEMory:STORe:LIMit mydata.csv /*Saves the limit test table as a
file with the filename "mydata.csv" to the default path.*/

Saves the calibration sets file with the specified filename suffixed with "*.cal" to the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be saved

Saves the current instrument state as a file with the specified filename suffixed with ".sta" to the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be saved
:MMEMory:STORe:STATe mydata.sta /*Saves the current instrument state as a file with the filename "mydata.sta" to the default path.*/

Saves the current instrument state and calibration sets as a file with the specified filename suffixed with ".csa" to the default path.

NameTypeValuesDescription
<file_name>string-Name of the file to be saved.
::MMEMory:STORe:CSARchive mydata.csa

Saves the specified trace data with the specified filename to the default path.

NameTypeValuesDescription
file_namestring-Filename to be saved, including its extension name.
typestring-File type to be saved; it is suffixed with *.csv.
scopestring-Measurement data to be saved.
formatstring-Data format to be saved.
selectorinteger-Selector value: -1 when scope is Displayed; measurement number for all other scopes.
:MMEMory:STORe:DATA <file_name>,<type>,<scope>,<format>,<selector>

Saves the specified measurement trace data as a Touchstone file with the specified filename suffixed with *.snp to the default path.

NameTypeValuesDescription
file_namestring-Filename to be saved; the file suffix must be *.snp.
portsstring-Port number list, with individual ports separated by vertical bar (|).
formatenumRI | DB | MA | AUTOData format to save: Real/Imaginary, Log Mag/Angle, LinMag/Angle, or Auto using the currently selected trace format.
touchstoneversionreal-Touchstone version value.
:MMEMory:STORe:DATA mydata,CSV,Trace,Displayed,1 /*Saves the
Trace1 data as a file named "mydata.csv" to the default path.*/

Loads the specified limit test table file suffixed with "*.csv" from the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be loaded
:MMEMory:LOAD:LIMit mydata.csv /*Loads mydata.csv file from the default path.*/

Loads the specified correction file from the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be loaded.

Loads the specified state file suffixed with "*.sta" from the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be loaded.
:MMEMory:LOAD:STATe <file_name>

Loads the specified state file and calibration sets file suffixed with "*.csa" from the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be loaded.
:MMEMory:LOAD:CSARchive mydata.csa /*Loads the mydata.csa file from
the default path.*/

Loads the specified SNP file suffixed with "*.snp" from the default path.

NameTypeValuesDescription
file_namestring-Name of the file to be loaded
:MMEMory:LOAD:DATA:SNP mydata.snp /*Loads the mydata.snp file from the default path.*/

Queries the calibration file list under the specified path.

NameTypeValuesDescription
pathstring-Path to search for calibration files.
string - A comma-separated list of calibration file names.
:MMEMory:CATalog:CORRection? C:/data/UserData/tmp /*The query returns 2open.cal,2open2.cal,power.cal,NewFile1.cal.*/

Queries the list of instrument state files under the specified path.

NameTypeValuesDescription
<path>string-Path to search for instrument state files.

Queries the list of instrument state files and calibration files under the specified path.

NameTypeValuesDescription
pathstring-Path to search.
string - The list of instrument state files and calibration files, separated by commas.
::MMEMory:CATalog:CSARchive? /data/UserData/ /*The query returns bbb.csa,stablity.csa,test5ch.csa.*/

Queries the list of instrument state files and link to calibration data files (*.cst) under the specified path.

NameTypeValuesDescription
pathstring-Path to search.
string - List of instrument state files and link to calibration data files (*.cst) in strings, separated by commas.
:MMEMory:CATalog:CSTate? /data/UserData/

Queries all the files under the specified path.

NameTypeValuesDescription
pathstring-Path to query.
string - Returns a list of files in strings, separated by commas.
:MMEMory:CATalog? /data/UserData/ /*The query returns RigolVNA6.png,RigolVNA7.png.*/

Clears the disk safely. The command clears the internal memory; perform a data backup before running it.

Create a specified directory.

NameTypeValuesDescription
file_namestring-The complete directory path.

Switches to the default path. The query returns the default path.

NameTypeValuesDescription
<file_name>string-Existing file path and folder name to set as the default path.
string - The default path.
:MMEMory:CDIRectory /data/UserData/logs /*Sets the default path to /
data/UserData/logs.*/
:MMEMory:CDIRectory? /*The query returns /data/UserData/logs.*/

Deletes the specified channel.

NameTypeValuesDescription
cninteger1 - 500
:SYSTem:CHANnels:DELete 1 /*Deletes Channel 1.*/
:SYSTem:BEEPerset / query

Turns on or off the beeper, or queries its on/off status.

NameTypeValuesDescription
boolboolean-Turns the beeper on or off.
enum - Returns the current beeper state.
:SYSTem:DATEset / query

Sets or queries the system date.

NameTypeValuesDescription
yearinteger1900 - 2100
monthinteger1 - 12
dayinteger1 - 31Day of the month; the manual notes valid month-length limits of 28, 29, or 30 days as applicable.
string - The query returns the system date in strings separated by hyphens.
:SYSTem:DATE 2017,10,17 /*Sets the system data to 2017-10-17.*/
:SYSTem:DATE? /*The query returns 2017-10-17.*/
:SYSTem:TIMEset / query

Sets or queries the system time.

NameTypeValuesDescription
hoursinteger0 - 23
minutesinteger0 - 59
secondsinteger0 - 59
:SYSTem:STIMeset / query

Sets or queries whether to display the system time.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFWhether to display the system time.
enum - Returns 0 or 1.
:SYSTem:STIMe ON /*Sets to display the system time.*/
:SYSTem:STIMe? /*The query returns 1.*/
:SYSTem:LANGuageset / query

Sets or queries the system language.

NameTypeValuesDescription
languageenumSCHinese | TCHinese | KORean | JAPanese | ENGLish | GERMan | PORTuguese | POLish | FRENch | RUSSian | SPAN | THAI | INDonesianSystem language to set.
enum - The query returns the current language as an abbreviated keyword.
:SYSTem:LANGuage ENGLish /*Sets the system language to ENGLish.*/
:SYSTem:LANGuage? /*The query returns ENGL.*/
:SYSTem:PSTatusset / query

Sets or queries the power status of the instrument.

NameTypeValuesDescription
satenumDEFault | OPENPower status setting.
:SYSTem:PWRDset / query

Disconnects the instrument from power.

Queries the version number of the SCPI used by the system.

string - The query returns the SCPI version number in strings.
:SYSTem:VERSion? /*The query returns 3.0 */
:SYSTem:LOCKedset / query

Enables or disables the front-panel key operation and touch screen operation; queries whether those operations are locked.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFBoolean state controlling the front-panel key operation and touch screen operation.
:SYSTem:GPIBset / query

Sets or queries the GPIB address.

NameTypeValuesDescription
adrinteger1 - 30
integer - The query returns an integer ranging from 1 to 30.
:SYSTem:GPIB 2
:SYSTem:GPIB?

Installs an option license. The license must have the format "<series>-<opt>@<code>"; supported options include BND, TDA, TDR, and DTF.

NameTypeValuesDescription
licensestring-Option license string to install.

Uninstalls all the official options. After the option has been uninstalled, the instrument must be restarted.

Queries whether an option is activated or not.

NameTypeValuesDescription
typediscreteBND | TDA | TDR | DTFOption type to query.
returns

Queries whether an option is activated or not. This command exists for backwards compatibility; use :SYSTem:OPTion:STATus? instead.

NameTypeValuesDescription
typeenumBND | TDA | TDR | DTFOption to check.
integer - Returns 0 or 1; 0 indicates the option is not installed, and 1 indicates the official option has been installed.
:SYSTem:PRESetset / query

Restores the instrument to the preset state. It has the same function as clicking Preset, recalling the default values or user-preset values related to this key.

Queries the system error.

string - The query returns the system errors in strings.

Copies the specified channel configuration to another channel. <cn> is the original channel ID and <tcn> is the target channel ID.

NameTypeValuesDescription
cninteger1 - 500Original channel ID.
tcninteger1 - 500Target channel ID.
:SYSTem:MACRo:COPY:CHANnel1 2 /*Copies configuration parameters of CH1 to CH2.*/

:TRIGger:DELayset / query

Sets the global trigger delay and queries the global trigger delay.

NameTypeValuesDescription
timereal0 s - 3 sGlobal trigger delay time.
real - The global trigger delay is returned in scientific notation.
:TRIGger:DELay 2
:TRIGger:DELay?

Sets the trigger scope. Queries the trigger scope.

NameTypeValuesDescription
enumenumALL | CURRentTrigger scope selection.
enum - The query returns the trigger scope as a discrete keyword.

Sets the trigger condition. Queries the trigger condition.

NameTypeValuesDescription
enumenumEDGE | LEVelSelects the trigger condition.
enum - The query returns EDGE or LEV.

Sets the polarity expected by the external trigger input circuitry.

NameTypeValuesDescription
enumenum-Polarity setting for the external trigger input circuitry.

Enables or disables outputting the signal from the rear-panel trigger output connector. The query asks whether the trigger output is enabled.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
boolboolean-Enables (1/ON) or disables (0/OFF) the trigger output.
boolean - Returns whether to output the signal from the rear-panel trigger output connector.

Sets or queries the polarity of the signal output from the rear-panel trigger output connector of the VNA.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
typeenumPOSitive | NEGative
enum - The query returns POS or NEG.
:TRIGger:CHANnel1:AUXiliary:OPOLarity POSitive /*Sets the output trigger signal to positive pulse.*/
:TRIGger:CHANnel1:AUXiliary:OPOLarity? /*The query returns
POS.*/

Sets or queries the trigger position of the output signal sent from the rear-panel trigger output connector.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
typeenumBEFore | AFTer
enum - The query returns BEF or AFT.
:TRIGger:CHANnel1:AUXiliary:POSition BEFore
:TRIGger:CHANnel1:AUXiliary:?

Sets the pulse width of the signal output from the rear-panel trigger output connector of the VNA. The query returns the pulse width of the output trigger signal in seconds.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
valuereal1 μs - 1 s
real (s) - The query returns the pulse width of the output trigger signal.
:TRIGger:CHANnel1:AUXiliary:DURation 0.1 /*Sets the pulse width
:TRIGger:CHANnel1:AUXiliary:DURation? /*The query returns

:TAS:STATeset / query

Enables or disables the TAS state; the query checks whether the TAS state is enabled.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the TAS state.
enum - The query returns 1 or 0.
TAS:STATE ON /*Enables the TAS state.*/
:TAS:STATE? /*The query returns 1.*/
:TAS:PATHset / query

Sets or queries the TAS test report path.

NameTypeValuesDescription
stringstring-TAS test report path.
:TAS:DUTset / query

Set or query the TAS test sample name.

NameTypeValuesDescription
stringstring-ASCII string for the TAS test sample name.
string - The query returns the TAS test sample name in strings, separated by commas.
:TAS:DUTConfigset / query

Sets or queries the TAS configuration file.

NameTypeValuesDescription
stringstring-ASCII string specifying the TAS configuration file.
string - The query returns the TAS configuration files in strings, separated by commas.
:TAS:DUTConfig test1 /*Sets the TAS configuration file to test1.*/
:TAS:DUTConfig? /*The query returns test1.*/

Sets or queries the policy used to determine how global pass/fail is computed.

NameTypeValuesDescription
typeenumALLTests | ALLMeasPolicy used to determine how global pass/fail is computed.
enum - Returns the current policy as a short code.
:CONTrol:AUXiliary:PASSfail:POLicy ALLMeas /*Sets the policy used to determine how global pass/fail is computed to ALLMeas.*/
:CONTrol:AUXiliary:PASSfail:POLicy? /*The query returns ALLM.*/

:OUTPut[:STATe]set / query

Sets the output state.

NameTypeValuesDescription
boolboolean-Enables or disables the output.

Sends a manual trigger signal without affecting the current ongoing sweep.

NameTypeValuesDescription
cninteger1 - 500

:ABORtset / query

Aborts all sweeps, then resumes triggering based on the current trigger settings.