/

Rigol

/

Rigol DNA5042

SCPI COMMAND REFERENCE

Rigol DNA5042

Rigol DNA5042

The Rigol DNA5042 is Rigol's network analyzer in the DNA5000 Series Vector Network Analyzer family. Its SCPI remote-control interface exposes 285 commands across 15 subsystems - 258 settable and 27 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.

285

Commands

258

Settable

27

Queries

15

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 the error queue.

*ESEset / query

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

NameTypeValuesDescription
maskargumentinteger0 - 255Decimal-weighted sum of the bits set in the standard event register.
integer - Returns the decimal-weighted sum of all the bits set in the register.
*ESE 16
*ESE?
*ESR?query

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

integer - The query returns 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. Previous settings saved with *SAV are overwritten.

*SAVset / query

Saves the current instrument state to the selected register.

NameTypeValuesDescription
valueinteger0 - 49Register number used to store the current instrument state.
*SREset / query

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

NameTypeValuesDescription
<maskargument>integer0 - 255Mask value for the status byte register enable bits.
integer - The query returns the decimal-weighted sum of all bits set in the enable register.
*SRE 16 /*Enables Bit 4 (16 in decimal) in the register.*/
*SRE? /*The query returns the enable value of the register 16.*/
*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 - Returns the status byte register value as an integer; after execution, the register is cleared.
*WAIset / query

Waits for all pending operations to complete before executing any additional commands. This operation command has no function and is provided for compatibility with other devices.

*TST?query

Returns the self-test result as an integer.

integer - The query returns an integer.

: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.

NameTypeValuesDescription
cninteger1 - 500Existing channel number.
pninteger1 - 2Port number parameter; can be set to 1 or 2 and does not have any actual effects.
valuereal-40 - 10Output power value to set.
real (dBm) - Output power for the specified channel, returned in scientific notation.
:SOURce1:POWer1 0.5 /*Sets the output power on the ports for
:SOURce1:POWer1? /*The query returns 5.00e-01.*/

Sets the start power on all the ports used for the specified channel. The query returns the start power of all ports for the specified channel in scientific notation.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger1 - 2Port number; documented as not functioning in this command.
valuereal-40 dBm - +10 dBmStart power value.
real (dBm) - Start power of all ports for the specified channel, returned in scientific notation.
:SOURce1:POWer1:STARt 0.5 /*Sets the start power on the port for Channel 1 to 0.5 dBm.*/
:SOURce1:POWer1:STARt? /*The query returns 5.00e-01.*/

Sets the stop power on all the ports used for the specified channel. The query returns the stop power of all ports for the specified channel in scientific notation, in dBm.

NameTypeValuesDescription
cninteger1 - 500
pninteger-
valuereal-40 dBm - +10 dBm
real (dBm) - The stop power of all ports for the specified channel, returned 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 to create: 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.*/

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

NameTypeValuesDescription
mninteger1 - 50000Trace number.
boolenum1 | ON | 0 | OFFEnables or disables the display state.
enum - Returns 1 or 0.
: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
mninteger1 - 50000Trace number; each trace corresponds to a unique trace number.

Sets the title for the specified measurement trace. Queries the title for the specified measurement trace.

NameTypeValuesDescription
mninteger1 - 50000Trace number to identify the measurement trace.
stringstring-ASCII title text to assign to the measurement trace.
string - Returns the title for the specified 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 - 50000Measurement trace number.
stateenum1 | ON | 0 | OFFEnables or disables the title display.
enum - Returns 1 if the title is displayed and 0 if it is not displayed.
: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 scale of the specified trace.

NameTypeValuesDescription
mninteger1 - 50000Measurement trace number.
valuereal-Y-axis scale division value.

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 data format of the measurement parameters.
real - The query returns the Y-axis reference value of the specified trace in scientific notation.

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
:DISPlay:MEASure1:Y:RPOSition? /*The query returns 5.00e-03.*/

Creates a new display channel. The syntax shows a single numeric argument <num>.

NameTypeValuesDescription
numinteger-Channel number for the new display channel.

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

NameTypeValuesDescription
cninteger1 - 500Channel number to be enabled or disabled.
boolenum1 | ON | 0 | OFFState to set for 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 a 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. The query returns the current grid line type.

NameTypeValuesDescription
enumenumSOLid | DOTTedGrid line type.
enum - Returns the grid line type of the window.
: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.*/

Enables or disables the auto scaling of the specified measurement trace in the specified window.

NameTypeValuesDescription
wninteger1 - 500Window number.
tninteger1 - 50000Trace number.

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

NameTypeValuesDescription
wninteger1 - 500
tninteger1 - 50000
boolenum1 | ON | 0 | OFF
enum - 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 memory display state of the specified measurement trace in the specified window.

NameTypeValuesDescription
wninteger1 - 500
tninteger1 - 50000
boolenum1 | ON | 0 | OFF

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

NameTypeValuesDescription
wninteger1 - 500
boolenum1 | ON | 0 | OFF
enum - The query returns 1 or 0.

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

NameTypeValuesDescription
wninteger1 - 500

Sets the window title text for the specified display window. The query form is documented but its return format is not stated in the slice.

NameTypeValuesDescription
wninteger1 - 500Specifies the display window number.
stringstring-Title text to assign to the window.

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

NameTypeValuesDescription
wninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables title display.
enum - Returns 1 or 0 indicating whether the title of the specified window is displayed.
:DISPlay:WINDow1:TITLe:DATA test1 /*Sets the title of Window1 to
test1.*/
:DISPlay:WINDow1:TITLe:DATA? /*The query returns "test1".*/

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

NameTypeValuesDescription
wninteger1 - 500
typeenumOFF | MARKer | LIMit | SEGMent
enum - Returns the current table type displayed below the specified window.
:DISPlay:WINDow1:TABLe MARKer /*Sets the table type displayed below WINDow1 to MARKer.*/
:DISPlay:WINDow1:TABLe? /*The query returns MARK.*/

Queries the catalog for the specified display window.

NameTypeValuesDescription
wninteger1 - 500Window number.

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

NameTypeValuesDescription
numinteger0 - 2Selects the sheet creation mode: 0 = New Sheet, 1 = New Trace + Sheet, 2 = New Trace + Channel + Sheet.

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

NameTypeValuesDescription
shnuminteger1 - 50000
boolenum1 | ON | 0 | OFFWhen set to ON, the specified sheet becomes the active sheet or is created if it does not exist; when set to OFF, the specified sheet is deleted if it exists, except that the last sheet is not deleted.
enum - The query returns 1 or 0.
*none*

Sets the title data for the specified sheet.

NameTypeValuesDescription
<shnum>integer1 - 50000
<string>string-Title text data.
:DISPlay:FSIGnset / query

Enables or disables the display of the global pass/fail results. The query returns the on/off status of that display as 1 or 0.

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 <bool>
:DISPlay:FSIGn?

Queries the test result of the global pass/fail test.

integer - Returns 0 or 1; 1 indicates failed. If the global pass/fail test (:DISPlay:FSIGn) is disabled, the query always returns 0.

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 when the sweep type is set to LINear or LOGarithmic.

NameTypeValuesDescription
<freq>realHzStart frequency value.
real (Hz) - The query 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. The query returns the stop frequency in scientific notation, in Hz.

NameTypeValuesDescription
cninteger1 - 500
freqrealHzStop frequency.
real (Hz) - The stop frequency in scientific notation.
:SENSe1:FREQuency:STOP 10000000 /*Sets the stop frequency to 10
: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
<cn>integer1 - 500
<freq>real-

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) - Returns the CW frequency in scientific notation.
:SENSe1:FREQuency:CW 50000000 /*Sets the CW frequency to 50 MHz.*/
:SENSe1:FREQuency:CW? /*The query returns 5.00e+07.*/

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

NameTypeValuesDescription
<cn>integer1 - 500
<freq>real-
real (Hz) - The query returns the fixed frequency in scientific notation.

Queries the frequency step of the specified channel. This command is valid when the sweep type (:SENSe<cn>:SWEep:TYPE) is set to Linear.

NameTypeValuesDescription
cninteger1 - 500Channel number.
real - Returns the frequency step of the specified channel.

Sets the number of sweep points for the specified channel. The query returns the number of sweep points for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500Specified channel number.
<num>integer1 - 100001Number of sweep points to set.
integer - Returns the number of sweep points.
:SENSe1:SWEep:POINts 1000 /*Sets the number of sweep points for Channel 1 to 1000.*/
:SENSe1:SWEep:POINts? /*The query returns 1000.*/

Sets the sweep type for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
type--

Sets whether to enable auto sweep time for the specified channel. The query reports whether auto sweep time is enabled.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolboolean1 | ON | 0 | OFFEnables or disables auto sweep time.
enum - Returns 0 or 1 indicating whether auto sweep time is enabled.

Sets the sweep time for the specified channel to complete one sweep. The query returns the sweep time in scientific notation, in seconds.

NameTypeValuesDescription
cninteger1 - 500
valuereal-Sweep time to set; range depends on sweep points, IF bandwidth, and dwell time.
real (s) - Returns the sweep time in scientific notation.

Enables or disables point sweep generation for the specified channel.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolboolean-Boolean to enable or disable point sweep generation.

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 - 500Channel number.
valuereal-Dwell time between each sweep point.
returns
:SENSe1:SWEep:GENeration:POINtsweep ON /*Enables the point sweep sequence.*/
:SENSe1:SWEep:GENeration:POINtsweep? /*The query returns 1.*/

Sets or queries the delay time for the specified channel. The delay configured by this command does not include the dwell time (:SENSe<cn>:SWEep:DWELl).

NameTypeValuesDescription
cninteger1 - 500Channel number to which the delay applies.
valuereal0 - 20Delay time.
real (s) - The delay time in scientific notation.
:SENSe1:SWEep:DWELl:SDELay 0.0001 /*Sets the delay time for Channel
:SENSe1:SWEep:DWELl:SDELay? /*The query returns 1.00e-04.*/

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
numinteger1 - 2000000
integer - The query returns an integer.
:SENSe1:SWEep:GROups:COUNt 10 /*Sets the number of trigger times
for Groups trigger of Channel 1 to 10.*/
:SENSe1:SWEep:GROups:COUNt? /*The query returns 10.*/

Sets the trigger state of the specified channel. Queries the trigger state of the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500Specified channel.

Sets the trigger mode of the specified channel. Queries the trigger mode of the specified channel.

NameTypeValuesDescription
cninteger1 - 500
typeenumCHANnel | SWEep | POINtTrigger mode for the specified channel.
enum - Returns the current trigger mode as HOLD, CONT, GRO, or SING.

Sets or queries the IF bandwidth for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
freqreal1 Hz - 10 MHz
real (Hz) - The IF bandwidth for the specified channel, returned in scientific notation.
:SENSe1:BANDwidth 100 /*Sets the IF bandwidth for Channel 1 to 100 Hz.*/
:SENSe1:BANDwidth? /*The query returns 1.00e+02.*/

Sets the IF bandwidth for the specified channel. The query returns the IF bandwidth for the specified channel in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
freqreal1 Hz - 10 MHz
real (Hz) - Returns the IF bandwidth for the specified channel in scientific notation.
:SENSe1:BWIDth 100 /*Sets the IF bandwidth for Channel 1 to 100 Hz.*/
:SENSe1:BWIDth? /*The query returns 1.00e+02.*/

Deletes all segments from the segment table for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500

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

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | 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. The query asks whether sweep time per segment is enabled.

NameTypeValuesDescription
cninteger1 - 500
boolboolean-Enables or disables sweep time for each sweep segment.
integer - Returns 1 or 0 indicating whether sweep time 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.*/

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

NameTypeValuesDescription
<cn>integer1 - 500
<bool>boolean1 | ON | 0 | OFF
enum - Returns 1 or 0.
:SENSe1:SEGMent:SWEep:DeLay:CONTrol ON /*Enables the delay time for each sweep segment for Channel 1.*/
:SENSe1:SEGMent:SWEep:DeLay:CONTrol? /*The query returns 1.*/

Sets whether IF bandwidth can be set independently for each port in each sweep segment. The query reports whether this per-port control is enabled.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolenum1 | ON | 0 | OFFEnables or disables independent IF bandwidth control for each port.
enum - Returns 1 or 0.
:SENSe1:SEGMent:BWIDth:PORT1:CONTrol ON
:SENSe1:SEGMent:BWIDth:PORT1:CONTrol?

Enables or disables setting power level for each sweep segment.

NameTypeValuesDescription
cninteger1 - 500Channel number.
boolenum1 | ON | 0 | OFFEnables or disables the segment power-level control.
enum - The query returns 1 or 0.

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

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32

Deletes the specified segments from the segment table for the specified channel. After the command completes, the remaining sweep segments are renumbered automatically in sequence, and sweep type is set to LINear.

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Segment number.

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

NameTypeValuesDescription
boolboolean-Boolean state to enable or disable the segment.
boolean - Returns the on/off status of the specified sweep segment.

Sets the start frequency of the specified sweep segment for the specified channel. Queries the start frequency of the specified sweep segment for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
freqrealMHzStart frequency for the sweep segment.

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

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Segment number.
freqrealHzStop frequency of the specified sweep segment.
real (Hz) - The stop frequency of the specified segment in scientific notation.
:SENSe1:SEGMent1:FREQuency:STOP 10000000
:SENSe1:SEGMent1:FREQuency:STOP?

Sets the number of sweep points for the specified sweep segment for the specified channel. The query returns the number of sweep points in integer.

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
numinteger1 - 100001
integer - The number of sweep points.
:SENSe1:SEGMent1:SWEep:POINts 1000 /*Sets the number of sweep points for Segment 1 of Channel 1 to 1000.*/
:SENSe1:SEGMent1:SWEep:POINts? /*The query returns 1000.*/

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

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

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

NameTypeValuesDescription
cninteger1 - 500Channel number.
sgninteger1 - 32Segment number.
valuereal0 s - 20 sDwell time for the specified sweep segment.
real (s) - The query returns the dwell time for the specified sweep segment for the specified channel.
:SENSe1:SEGMent1:SWEep:DWELl 1
:SENSe1:SEGMent1:SWEep:DWELl?

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

NameTypeValuesDescription
cninteger1 - 500
sgninteger1 - 32
valuereal0 - 20
: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. The query returns the IF bandwidth for the specified channel in Hz.

NameTypeValuesDescription
<cn>integer1 - 500Channel number.
<sgn>integer1 - 32Sweep segment number.
<freq>real1 Hz - 10 MHzIF bandwidth.
real (Hz) - The IF bandwidth for the specified channel.
:SENSe1:SEGMent1:BWIDth 100 /*Sets the IF bandwidth of Segment1 for Channel 1 to 100 Hz.*/
:SENSe1:SEGMent1:BWIDth? /*The query returns 1.000000000000000e +02.*/

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 - 500
sgninteger1 - 32
pnoptinteger1 - 2Port number to use for the sweep segment.
valuereal1 Hz - 10 MHzPower value to set.
real (Hz) - Returns the power on the specified port of the specified sweep segment for the specified channel in scientific notation.
: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. Queries the on/off status of correction for the specified channel.

NameTypeValuesDescription
boolboolean-Boolean state to enable or disable correction.
enum - Returns the correction on/off status for the specified channel.

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

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

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

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables interpolation.
enum - The query returns 1 or 0.
:SENSe1:CORRection:INTerpolate ON /*Enables the interpolation for
: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 - 500Channel number to which the command applies.
boolenum1 | ON | 0 | OFFTurns port extension on or off.
enum - Returns the on/off status of port extension for each port of the specified channel.

Sets the delay distance unit for the port extension for the specified channel. Queries the delay distance unit for the port extension for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
enumenumMETer | FEET | INCHSelects the delay distance unit.
enum - Returns the delay distance unit for the specified channel.
:SENSe1:CORRection:EXTension:PORT:UNIT FEET /*Sets the delay
:SENSe1:CORRection:EXTension:PORT:UNIT? /*The query returns FEET.*/

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
pninteger1 - 2Port number; the manual remarks that <pn> can be set to 1 or 2.
valuereal-1 - 1Delay time for the port extension.
real (s) - Returns the delay time in port extension in scientific notation.
:SENSe1:CORRection:EXTension:PORT1 0.01 /*Sets the delay time of Port 1 extension for Channel 1 to 0.01 s.*/
:SENSe1:CORRection:EXTension:PORT1? /*The query returns 1.00e-02.*/

Sets the delay distance for the port extension for the specified channel. Queries the delay distance for the port extension for the specified channel.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integer-Port number; the remarks state it can be set to 1 or 2.
<value>real-

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
pninteger-Port number; the remarks state that <pn> can be set to 1 or 2.
valuereal-90 dB - 90 dB
real (m) - Returns the loss at DC in scientific notation.

Enables or disables the coupling state between the port extension velocity factor and the system velocity factor. The query returns the coupling state.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; can be set to 1 or 2.
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 - 500Channel number.
pninteger-Port number.
valuereal0 - 1Velocity factor for the port extension.
real - Returns the velocity factor for the port extension.

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

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger1 - 2Port number; can be set to 1 or 2.
lossidinteger1 - 2Freq and Loss pair number.
boolenum1 | ON | 0 | OFFEnables or disables the specified pair.
enum - Returns the on/off status of the specified Freq and Loss pair number for the specified port and channel.
:SENSe1:CORRection:EXTension:PORT1:INCLude1 1
:SENSe1:CORRection:EXTension:PORT1:INCLude1?

Sets or queries the frequency value for the specified Freq and Loss pair on a specified port and channel. The command is valid only when port extension is enabled.

NameTypeValuesDescription
cninteger1 - 500Channel number.
pninteger1 - 2Port number.
lossidinteger1 - 2Freq and Loss pair number.
valuereal-Frequency value.
real - Returns the frequency value for the specified Freq and Loss pair on the specified port and channel.

Sets the loss value for the Freq and Loss pair number for the specified port of the specified channel. Queries the loss value for that pair and port.

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; the manual states it can be set to 1 or 2.
lossidinteger1 - 2Freq and Loss pair number; it can be set to 1 or 2.
valuereal-90 - 90Loss value to set.
real - Returns the loss value for the Freq and Loss pair number and the specified port of the specified channel.

Sets the average type for the specified channel.

NameTypeValuesDescription
typeenum-

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

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFSets the Average state to on or off.

Sets the number of sweep averaging times for the specified channel. Queries the number of sweep averaging times for the specified channel.

NameTypeValuesDescription
cninteger1 - 500
countinteger1 - 65535

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 - 500Channel number to which the command applies.
boolboolean1 | ON | 0 | OFFEnables or disables the coupling state.
integer - Returns 1 when coupling is enabled and 0 when coupling is disabled.
: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-Specifies the type of connector.
string - The valid calibration kits that use the specified type of connector, separated by commas.
:SENSe:CORRection:COLLect:GUIDed:CKIT:CATalog? APC 3.5

Deletes the installed calibration kits. <kit> indicates the "Kit Name" specified in the Standard Cal Kits list.

NameTypeValuesDescription
<kit>string-ASCII string identifying the calibration kit to delete.
[?25l

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_name>string-Saved path and filename of the calibration kit file.
: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 identifier.
file_namestring-The path and filename for the exported kit file.
:SENSe:CORRection:CKIT:EXPort <kit>,<file_name>

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

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

Sets the system impedance of the VNA. The query returns the system impedance in scientific notation, in ohms.

NameTypeValuesDescription
<value>real0.001 - 1000System impedance value to set.
real (Ω) - 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.

NameTypeValuesDescription
cninteger1 - 500
typeenumNORMal | DISPlay | DEFineSelects how trace names are returned: NORMal and DISPlay return the trace title if enabled, otherwise the measurement parameter name; DEFine always returns the measurement parameter name.
string - Returns the trace names and parameters of the trace measurement in strings, separated by commas.
:CALCulate1:PARameter:CATalog:EXTended? DISPlay /*The query returns Tr1,S11.*/

Defines an extended parameter for the specified channel using a measurement name and parameter name.

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

Sets the S-Parameter for the specified measurement trace. It also supports querying the S-Parameter for that measurement trace.

NameTypeValuesDescription
cninteger1 - 500
stringstring-
string - Returns the S-Parameter for the specified measurement trace.
:CALCulate1:PARameter:EXTended Tr1,S21 /*Creates Tr1 trace for S21 measurement parameter.*/

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 | PPHase
enum - Returns the format type of the specified measurement trace.
:CALCulate1:MEASure1:PARameter S12 /*Sets the measurement parameter of measurement trace 1 to S12.*/
:CALCulate1:MEASure1:PARameter? /*The query returns S12.*/

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
enum - The query returns the parameter conversion type.

Queries the raw measurement data of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
string - Returns the raw measurement data of the specified measurement trace as strings separated by commas.
:CALCulate1:MEASure1:DATA:SDATA?

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
string - The query returns the X-axis stimulus value of the specified measurement trace in strings, separated by commas.
:CALCulate1:MEASure1:DATA:X?

Sets or queries the trace hold type of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
typeenumOFF | MINimum | MAXimumSelects the trace hold mode: OFF disables trace hold, MINimum stores the lowest measured data points, and MAXimum stores the highest measured data points.
enum - Returns the current trace hold type as OFF, MIN, or MAX.
:CALCulate1:MEASure1:HOLD:TYPE MAXimum
:CALCulate1:MEASure1:HOLD:TYPE?

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

NameTypeValuesDescription
cninteger1 - 500Trace number.
mninteger1 - 50000Memory trace number.
typeenumNORMal | ADD | SUBTract | MULTiply | DIVideMath operation to apply.
enum - Current math operation type.

Sets the percent of span for the specified measurement trace, and queries the percent of span for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
valuereal0% - 100%
:CALCulate1:MEASure1:GDELay:PERCent 5
:CALCulate1:MEASure1:GDELay:PERCent?

Sets the number of adjacent points to average in the group delay for the specified measurement trace. Queries the number of adjacent points to average in the group delay for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valueinteger2 - 100001
integer - Returns the number of adjacent points to average in the group delay for the specified measurement trace.

Sets the group delay frequency for the specified measurement trace. Queries the group delay frequency for the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<freq>real0 Hz - 26.5 GHz
real (Hz) - The query returns the group delay frequency in scientific notation.
:CALCulat1e:MEASure1:GDELay:POINts 20 /*Sets the number of adjacent points to average in the group delay for the measurement trace 1 to 20.*/
:CALCulate1:MEASure1:GDELay:POINts? /*The query returns 20.*/

Enables or disables display of trace statistics for the specified measurement trace. The query reports whether trace statistics are displayed.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
stateoptenum1|ON | 0|OFFEnables or disables trace statistics display.
integer - The query returns 1 or 0.
:CALCulate1:MEASure1:FUNCtion:STATistics ON /*Enables the display
:CALCulate1:MEASure1:FUNCtion:STATistics? /*The query returns 1.*/

Sets the trace statistics data type of the specified measurement trace. The query returns the current statistics data type.

NameTypeValuesDescription
<cn>integer1 - 500Channel index for the specified trace.
<mn>integer1 - 50000Measurement index for the specified trace.
<type>enumPTPeak | STDEV | MEAN | MIN | MAXTrace statistics data type to set.
enum - Returns the trace statistics data type as PTP, STDEV, MEAN, MIN, or MAX.
:CALCulate1:MEASure1:FUNCtion:TYPE MAX
:CALCulate1:MEASure1:FUNCtion:TYPE?

Sets the user domain of the specified measurement trace. The query form returns the user domain of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
useridinteger0 - 16
integer - Returns the user domain of the specified measurement trace.
no example provided for this command in the slice

Sets the domain start frequency of the user-defined search domain for the specified measurement trace. The query returns the domain start frequency for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
rangeinteger0 - 16
startreal-Domain start frequency for the user-defined search domain.
:CALCulate1:MEASure1:FUNCtion:DOMain:USER 2 /*Sets the user domain
:CALCulate1:MEASure1:FUNCtion:DOMain:USER? /*The query returns 2.*/

Sets the domain stop frequency of the user-defined search domain for the specified measurement trace. Queries the domain stop frequency of the user-defined search domain for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
rangeinteger0 - 16
stopreal-Domain stop frequency of the user-defined search domain.
:CALCulate1:MEASure1:FUNCtion:DOMain:USER:STOP 1,2000 /*Sets the domain start frequency of User 1 to 2 kHz.*/
:CALCulate1:MEASure1:FUNCtion:DOMain:USER:STOP 1? /*The query returns 2.00e+03.*/

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

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

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
boolenum1 | ON | 0 | OFFEnables or disables coupled markers.
enum - The query returns 1 or 0.
:CALCulate1:MEASure1:MARKer1:COUPling ON /*Enables coupled markers.*/
:CALCulate1:MEASure1:MARKer1:COUPling? /*The query returns 1.*/

Specifies whether the specified marker is relative to the reference marker or absolute. The query asks whether the specified marker is relative to the reference marker or absolute.

NameTypeValuesDescription
boolboolean-Boolean value selecting relative or absolute marker mode.
enum - Returns whether the specified marker is relative to the reference marker or absolute.

Sets the specified marker to display either a calculated value between data points (interpolated data) or the actual data points (discrete data). Queries the specified marker to report which display mode is active.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
boolenum1 | ON | 0 | OFFSelects whether the marker shows interpolated data between points or discrete actual data points.
enum - Returns 1 or 0 indicating the specified marker's display mode.
:CALCulate1:MEASure1:MARKer1:DELTa ON /*Sets Marker1 to Delta marker.*/
:CALCulate1:MEASure1:MARKer1:DELTa? /*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
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumDEFault | MLINear | MLOGarithmic | PHASe | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | POLar | IMPedance | ADMittance
enum - Returns the data format type of the specified marker of the specified channel.

Sets the type of the specified marker. Queries the type of the specified marker.

NameTypeValuesDescription
typeenumMLINear | MLOGarithmic | PHASe | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | POLar | IMPedance | ADMittanceMarker type to set.
enum - Returns the marker type as one of the abbreviated values DEF, MLIN, MLOG, PHAS, GDEL, REAL, IMAG, SWR, LINP, LOGP, POL, IMP, or ADM.

Sets the X-axis value of the specified marker, or queries the X-axis value of the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-X-axis value of the specified marker.
real - Queries the X-axis value of the specified marker.

Queries the Y-axis value of the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
numeric - The query always returns two numbers. For Smith and Polar format, and for linear phase and log phase, the query returns in (real, imaginary) format.

Sets the specified marker on the specified trace of the specified channel to perform the specified type of search.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumMAXimum | MINimum | RPEak | LPEak | NPEak | TARGet | LTARget | RTARget | PEAK

Sets the search function that the specified marker will perform. Queries the search function that the specified marker will perform.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumMAXimum | MINimum | RPEak | LPEak | NPEak | TARGet | LTARget | RTARget | PEAK
enum - Returns the search function that the specified marker will perform.
:CALCulate1:MEASure1:MARKer1:FUNCtion:EXECute PEAk

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

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<bool>boolean-Enables or disables marker search tracking.
boolean - Returns the on/off state of the search tracking function of the specified marker.
:CALCulate1:MEASure1:MARKer1:FUNCtion MINimum /*Sets the Marker1 to search for the minimum value on the trace.*/
:CALCulate1:MEASure1:MARKer1:FUNCtion? /*The query returns MIN.*/

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

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<mk>integer1 - 16
<userid>integer0 - 16
integer - Returns the range number assigned to the specified marker.

Sets the start point of the X-axis of the user domain for the specified marker. Queries the start point of the X-axis of the user domain for the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-Start point value for the user domain.
real - The start point of the X-axis of the user domain for the specified marker.
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER 2
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER?

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 the stop value of the frequency sweep or the stop point of the X-axis of the user domain for the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-Stop value for the frequency sweep or stop point of the X-axis of the user domain; the unit depends on sweep type.
real - The query returns the stop value of the frequency sweep or the stop point of the X-axis of the user domain for the specified marker, in scientific notation.
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STARt 10
:CALCulate1:MEASure1:MARKer1:FUNCtion:DOMain:USER:STARt?

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal0 - 500
real - Returns the peak excursion in the peak search of the specified marker.

Sets the peak threshold in the peak search for the specified marker. Queries the peak threshold in the peak search for the specified marker.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-500 - 500
real - Returns the peak threshold in the peak search for the specified marker.

Sets the target value in the target search for the specified marker. Queries the target value in the target search for the specified marker.

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

Sets the target transition type used by the marker target search. The target transition can be queried for the specified marker.

NameTypeValuesDescription
typeenumNEGative | POSitive | BOTHTarget transition type for the marker target search.
enum - Returns the target transition type for the specified marker.
:CALCulate1:MEASure1:MARKer1:FUNCtion:TARGet:TRANsition NEGative
: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
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal0 - 500
real - Returns the multi peak excursion in the multi peak search of the specified marker.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumNEGative | POSitive | BOTHSelects whether negative peaks, positive peaks, or both are considered valid peaks.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
valuereal-Threshold value for multi peak search; refers to the Remarks for valid use with peak polarity.
: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 - Returns the multi target value for the multi peak and target search in scientific notation. Its unit is the same as that of the Y-axis.

Sets or queries the multi target transition type in the multi target search of the specified marker.

NameTypeValuesDescription
typeenumNEGative | POSitive | BOTHTransition type used 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?
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:TARGet:TRANsition?

Executes the Multi Peak & Target operation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
mkinteger1 - 16
typeenumOFF | PEAK | TARGetSelects whether multi peak search, multi target search, or disabling of multi peak and target search is performed.
:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:EXECute TARGet /
*:Performs the multi target search.*/
*:CALCulate1:MEASure1:MARKer1:FUNCtion:MULTi:EXECute? /*The query
returns TARG.*/*

Sets multi peak or multi target search tracking for the specified measurement trace. The query form returns the current tracking state.

NameTypeValuesDescription
boolboolean-Enables or disables multi peak or multi target search tracking.
boolean - Returns the current tracking state.

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
<cn>integer1 - 500Calculation trace number.
<mn>integer1 - 50000Measurement trace number.
<bool>boolean1 | ON | 0 | OFFEnables or disables the limit test.
enum - Returns 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>enum1 | ON | 0 | OFFEnables or disables the beeper when the limit test fails.

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
stateenum1 | ON | 0 | OFF
enum - The query returns 1 or 0.
:CALCulate1:MEASure1:LIMit:SOUNd ON /*Enables the beeper to sound when the limit test is found to be failed.*/
:CALCulate1:MEASure1:LIMit:SOUNd? /*The query returns 1.*/

Sets or queries the judge rule of the specified limit-test segment for the specified measurement trace. The query returns the current rule as OFF, LMAX, or LMIN.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
sgninteger1 - 32Segment number.
typeenumOFF | LMAX | LMINJudge rule for the limit test segment.
enum - Returns the current judge rule for the specified limit-test segment.
: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 X-axis begin stimulus value in scientific notation.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<sgn>integer1 - 32
<value>real-X-axis begin stimulus value for the specified limit line; must be within the X-axis range for the specified measurement trace.
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STARt 10000000 /*Sets 1 the X-axis begin stimulus value of Limit1 of measurement trace 1 to 10 MHz.*/
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STARt? /*The query returns 1.00e+07.*/

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 for the specified limit line.
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STOP 10000000 /*Sets
:CALCulate1:MEASure1:LIMit:SEGMent1:STIMulus:STOP? /*The query returns 1.00e+07.*/

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

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.
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STARt 100 /*Sets 1
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STARt? /*The query

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

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 - Returns the Y-axis end response value in scientific notation.
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STOP 100 /*Sets the Y-axis end response value of Limit Line 1 for the measurement trace 1 to 100 dB.*/
:CALCulate1:MEASure1:LIMit:SEGMent1:AMPLitude:STOP? /*The query returns 1.00e+02.*/

Sets whether to enable the smoothing function for the specified measurement trace. The query form reports whether smoothing is enabled.

NameTypeValuesDescription
cninteger1 - 500Measurement trace number.
mninteger1 - 50000Measurement number.
boolboolean-Enables or disables the smoothing function.
boolean - Returns whether the smoothing function is enabled for the specified measurement trace.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal0% - 25%Smoothing aperture as a ratio of the number of data points in the measurement trace.
real (%) - The query returns the smoothing aperture of the specified measurement trace.
:CALCulate1:MEASure1:SMOothing:APERture 1%
:CALCulate1:MEASure1:SMOothing:APERture?

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.
integer - The query returns the number of smoothing points in integer.
:CALCulate1:MEASure1:SMOothing:POINts 100 /*Sets the number of smoothing points to 100.*/
:CALCulate1:MEASure1:SMOothing:POINts? /*The query returns 100.*/

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

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
typeenumMETer | FEET | INCHDistance unit for electrical delay.
enum - The query returns MET, FEET, or INCH.
:CALCulate1:MEASure1:CORRection:EDELay:UNIT FEET /*Sets the
distance unit of the electrical delay for measurement trace 1 to
FEET.*/
:CALCulate1:MEASure1:CORRection:EDELay:UNIT? /*The query returns
FEET.*/

Sets the electrical delay distance for the specified measurement trace. The query returns the electrical delay distance in scientific notation.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-Electrical delay distance value to set for the measurement trace.
real - The electrical delay distance, returned 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 magnitude offset for the specified measurement trace. Queries the magnitude offset for the specified measurement trace.

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

Sets the magnitude offset slope for the specified measurement trace, and the query returns that slope in scientific notation. The unit is dB/GHz.

NameTypeValuesDescription
cninteger1 - 500Channel number for the calculation trace.
mninteger1 - 50000Measurement number for the specified trace.
valuereal-1E15 - 1E15Magnitude offset slope value.
real (dB/GHz) - Returns the magnitude offset slope in scientific notation.

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.
: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. The query returns the on/off status of the time domain transform for that trace.

NameTypeValuesDescription
cninteger1 - 500Channel number for the specified calculation trace.
mninteger1 - 50000Measurement number for the specified measurement trace.
boolenum1 | ON | 0 | OFFEnables or disables the time domain transform state.
enum - Returns the on/off status of the time domain transform as 1 or 0.
:CALCulate1:MEASure1:TRANsform:TIME:STATe ON /*Enables the time domain transform for measurement trace 1.*/
:CALCulate1:MEASure1:TRANsform:TIME:STATe? /*The query returns 1.*/

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

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

Sets or queries the stop time in the time domain measurement of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuerealRefer to Remarks
string (s) - The query returns the stop time in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:STOP 1e-8 /*Sets the stop time to 10 ns.*/
:CALCulate1:MEASure1:TRANsform:TIME:STOP? /*The query returns 1.00e-08.*/

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-Center time of the TDA; the center value between the start time and stop time.
real (s) - The query returns the center time of the TDA in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:CENTer 1e-8
:CALCulate1:MEASure1:TRANsform:TIME:CENTer?

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

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>realsSpan time to set; the manual refers to remarks for allowable values.
real (s) - Returns the span time in the time domain measurement in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:SPAN 1e-8
:CALCulate1:MEASure1:TRANsform:TIME:SPAN? /*The query returns 1.00e-08.*/

Sets the marker mode in the Time Domain Setup (TDA) for the specified measurement trace. The query returns the marker mode for that trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<type>enumAUTO | REFLection | TRANsmission
enum - Returns the marker mode in the Time Domain Setup (TDA) for the specified measurement trace.

Sets or queries the unit in the Time Domain Setup (TDA) for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500Channel number.
mninteger1 - 50000Measurement number.
typediscreteMETRs | FEET | INCHesUnit type.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal0 - 13
real - The query returns the Kaiser Beta in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:KBESsel 5 /*Sets Kaiser Beta to
:CALCulate1:MEASure1:TRANsform:TIME:KBESsel? /*The query
returns 5.00e+00.*/

Sets the impulse width in the Time Domain Setup (TDA) for the specified measurement trace. The query returns the impulse width in scientific notation.

NameTypeValuesDescription
cninteger1 - 500Channel number identifier for the calculation trace.
mninteger1 - 50000Measurement number identifier for the specified measurement trace.
valuereal0.6/frequency span - 1.39/frequency spanImpulse width value to set.
real (s) - Returns the impulse width in the Time Domain Setup (TDA) for the specified measurement trace, in scientific notation.
:CALCulate1:MEASure1:TRANsform:TIME:IMPulse:WIDTh 1e-8 /*Sets the impulse width to 10 ns.*/
:CALCulate1:MEASure1:TRANsform:TIME:IMPulse:WIDTh? /*The query returns 1.00e-08.*/

Sets the DTF distance unit of the specified measurement trace. Queries the DTF distance unit of the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
typeenumMETer | FEET | INCHDistance unit for the DTF measurement trace.
enum - Returns the current DTF distance unit.

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 to set; range is related to the sweep frequency range, sweep points, and velocity factor.
real (m) - The query returns the DTF stop distance for the specified measurement trace.
:CALCulate1:MEASure1:TRANsform:DTFault:STOP 0.002 /*Sets the DTF stop distance for measurement trace 1 to 2mm.*/
:CALCulate1:MEASure1:TRANsform:DTFault:STOP? /*The query returns 2.00e-03.*/

Sets the DTF cable loss of the specified measurement trace. Queries the DTF cable loss of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<value>real0 - 1.0e+15
real (dB/m) - The query returns the DTF cable loss in scientific notation.
:CALCulate1:MEASure1:TRANsform:DTFault:LOSS:COAX 0.2 /*Sets the DTF
:CALCulate1:MEASure1:TRANsform:DTFault:LOSS:COAX? /*The

Sets the DTF velocity factor for the specified measurement trace. Queries the DTF velocity factor for the specified measurement trace.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-
returns

Sets the time domain transform parameters to be coupled for the specified measurement trace. The query returns the coupled parameters as an integer bit value.

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
numinteger0 - 63Specifies which time domain transform parameters are coupled; multiple parameters may be combined by adding their bit values.
integer - Returns the time domain transform parameters in integer form.
:CALCulate1:MEASure1:TRANsform:COUPle:PARameters 2
:CALCulate1:MEASure1:TRANsform:COUPle:PARameters?

Enables or disables the time gating of the specified measurement trace. Queries the on/off status of time gating of the specified measurement trace.

NameTypeValuesDescription
<cn>integer1 - 500
<mn>integer1 - 50000
<bool>boolean1 | ON | 0 | OFF
integer - 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 start time in time domain gating of the specified measurement trace. Queries the start time in time domain gating of the specified measurement trace.

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

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 - 500Channel index.
mninteger1 - 50000Measurement index.
valuereal-Stop time value.
real (s) - Returns the stop gate time in scientific notation.

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

NameTypeValuesDescription
cninteger1 - 500
mninteger1 - 50000
valuereal-Center time value for time domain gating.
real (s) - The query returns the center time of the time domain gating in scientific notation.
: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
cninteger1 - 500
mninteger1 - 50000
valuerealsSpan time to set for time-domain gating.
real (s) - Returns the span time in scientific notation.
:CALCulate1:MEASure1:FILTer:GATE:TIME:SPAN 1e-8
:CALCulate1:MEASure1:FILTer:GATE:TIME:SPAN?

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
mninteger1 - 50000
value--

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

NameTypeValuesDescription
<cn>integer1 - 50000Channel number.
<bool>enumON | OFFTurns the feature on or off.
enum - Returns the on/off status of the de-embedding for all ports on the specified port.
:CALCulate1:MEASure1:FILTer:GATE:COUPle:PARameters 2 /*Sets the time domain gating parameter to be coupled to gating state.*/
:CALCulate1:MEASure1:FILTer:GATE:COUPle:PARameters? /*The query returns 2.*/

Enables or disables extrapolation for the SNP file. Queries the on/off status of the extrapolation for the SNP file.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns extrapolation on or off.
enum - The query returns the extrapolation status as 1 or 0.

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

NameTypeValuesDescription
cninteger1 - 500
boolenum1 | ON | 0 | OFFEnables or disables port match.
enum - Returns the on/off status of the port match as 1 or 0.
:CALCulate1:FSIMulator1:STATe ON /*Enables port match.*/
:CALCulate1:FSIMulator1:STATe? /*The query returns 1.*/

Sets the filename of the circuit model to be used for port matching. The filename is suffixed with *.snp, where n indicates the number of ports; the query returns the filename in use.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integer1 - 2Port number for which the matching circuit model applies.
<string>string-Filename of the circuit model to be used for port match.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT:USER1:USER:FILename myfile
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT:USER1:USER:FILename?

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 same C value.

NameTypeValuesDescription
valuereal-Capacitance value for the circuit element.
real - Returns the value for the C (Capacitance) circuit element for the specified port matching circuit model.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:C 1.0E-12
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:C?

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

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number for the port matching circuit model.
valuereal-1E18 - 1E18Conductance value to set.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:G 0.00003
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:G? /*The query returns 3.00e-05.*/

Sets or queries the L (inductance) value for the port matching circuit model on the specified port. The query returns the L value in scientific notation.

NameTypeValuesDescription
cninteger1 - 500Channel number selecting the calculation context.
pninteger1 - 2Port number for the port matching circuit model.
valuereal-1E18 - 1E18Inductance value to set for the selected port matching circuit element.
real (H) - Returns the L value in scientific notation.
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:L 0.00003
Sets the L value to 0.00003H.*/
:CALCulate1:FSIMulator:SENDed:PMCircuit:PORT1:PARameters:L? /*The query returns 3.00e-05.*/

Sets the value for the R (Resistance) circuit element for a port matching circuit model on the specified port. The query returns the R value in scientific notation, in ohms.

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number for the port matching circuit model; the manual says <pn> can be set to 1 or 2.
valuereal-1E18 - 1E18Resistance value to set for the port matching circuit model.
real (Ω) - Returns the R value in scientific notation.

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

NameTypeValuesDescription
boolboolean-Boolean state to enable or disable port de-embedding.
enum - Returns the on/off status of the port de-embedding function.

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

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; can be set to 1 or 2.
typeoptenumNONE | USERSelects the de-embed circuit model for the specified port.
enum - Returns whether to load a n-port de-embed circuit model for the specified port.

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

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number to reverse; the remarks state that <pn> can be set to 1 or 2.
boolenum1 | ON | 0 | OFFEnables or disables reversing adapter ports.
enum - Returns 1 or 0 to indicate whether reversing adapter ports is enabled or disabled.
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1 /data/UserData/
mydata2.s2p /*Sets the filename of the circuit model to be used for
port de-embedding to /data/UserData/mydata2.s2p.*/
:CALCulate1:FSIMulator:SENDed:DEEMbed:PORT1:USER:FILename?
*The query returns /data/UserData/mydata2.s2p.*/

Queries the port frequency range of the user defined SNP file. The query returns the port frequency range of the user defined SNP file (*.snp) in strings.

NameTypeValuesDescription
<cn>integer1 - 500
<pn>integer1 - 2Port number; the manual remarks that <pn> can be set to 1 or 2.
string - Port frequency range of the user defined SNP file (*.snp).

Enables or disables the port impedance conversion. The query reports the on/off status of the port impedance conversion.

NameTypeValuesDescription
boolboolean-Boolean value that enables or disables port impedance conversion.
enum - Returns the on/off status of the port impedance conversion.

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

NameTypeValuesDescription
cninteger1 - 500
pninteger-Port number; the remarks state that <pn> can be set to 1 or 2.
valuereal0 - 1E7Real part of the impedance to set.
real - Returns the real part of the impedance of the specified single-ended port.

Sets the imaginary part of the impedance of the specified single-ended port. Queries return the imaginary part of the specified port impedance in scientific notation, in ohms.

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number; the manual states <pn> can be set to 1 or 2.
valuereal-1E18 - 1E18Imaginary impedance value to set for the specified port.
real (Ω) - Returns the imaginary part of the impedance 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; the imaginary part is automatically set to 0. The query returns the real part of the specified single-ended port in scientific notation.

NameTypeValuesDescription
<cn>integer1 - 500Channel number.
<pn>integer-Port number; can be set to 1 or 2.
<value>real0 - 1E7Real part of the impedance to set.
real (Ω) - Real part of the specified single-ended port, returned in scientific notation.
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:Z0 10 /*Sets the
:CALCulate1:FSIMulator:SENDed:ZCONversion:PORT1:Z0? /*The query

Sets the velocity factor for the specified port in port extensions. Queries the velocity factor for the specified port in port extensions.

NameTypeValuesDescription
cninteger1 - 500
pninteger1 - 2Port number for the port extension.
valuereal0 - 1Velocity factor to set for the specified port.
real - The query returns the velocity factor for port extension in scientific notation.
:CALCulate1:FSIMulator:DRAFt:EXTension:PORT1:VELocity:FACtor 0.7
:CALCulate1:FSIMulator:DRAFt:EXTension:PORT1:VELocity:FACtor?

:LAN:DHCPset / query

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

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFTurns DHCP configuration mode on or off.
boolean - Returns 1 or 0 to indicate the current DHCP configuration mode status.
: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
boolboolean1 | ON | 0 | OFFSets the Auto IP configuration mode on or off.
enum - Returns the on/off status of the current Auto IP configuration mode 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
boolboolean-Enables or disables static IP configuration mode.
:LAN:IPADdressset / query

Sets or queries the IP address of the instrument. The address format is nnn.nnn.nnn.nnn and it can be set only when IP configuration is Static IP with DHCP and Auto IP disabled.

NameTypeValuesDescription
stringstring-IP address in ASCII string form, formatted as nnn.nnn.nnn.nnn.
string - Returns the current IP address as a string.
:LAN:SMASkset / query

Sets or queries the subnet mask.

NameTypeValuesDescription
stringstring-Subnet mask in the format nnn.nnn.nnn.nnn.
string - The current subnet mask.
:LAN:SMASk 255.255.255.0 /*Sets the subnet mask to 255.255.255.0.*/
:LAN:SMASk? /*The query returns 255.255.255.0.*/

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.0.0.0 - 223.255.255.255Default gateway address in nnn.nnn.nnn.nnn format.
string - Returns the current gateway in strings.
:LAN:GATeway 192.168.1.1 /*Sets the default gateway to
192.168.1.1.*/
:LAN:GATeway? /*The query returns 192.168.1.1.*/
:LAN:DNSset / query

Sets or queries the DNS address.

NameTypeValuesDescription
stringstring-DNS address in the format nnn.nnn.nnn.nnn.
string - The current DNS address.
:LAN:DNS 192.168.1.1
:LAN:DNS?

Queries the MAC address of the instrument.

Queries the current network configuration status.

enum - Returns the network configuration status.

Queries the VISA address of the instrument. By default, it returns the LXI address.

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
boolenum1 | ON | 0 | OFFEnables or disables mDNS.
enum - Returns the mDNS status as 1 or 0.
:LAN:APPLyset / query

Applies the network configuration. After configuring all LAN-related parameters with the :LAN commands, send this command to make the LAN settings take effect.

:LAN:HOST:NAMEset / query

Sets or queries the host name.

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

Sets or queries the description.

NameTypeValuesDescription
namestring-The label can contain English letters and numbers, as well as some symbols.
string - The query 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. If the specified file already exists, it is overwritten.

NameTypeValuesDescription
file_namestring-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_name>string-Name of the file to be saved.
:MMEMory:STORe:CORRection <file_name>

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_namestring-Name of the file to be saved.
:MMEMory:STORe:CSARchive mydata.csa /*Saves the state and calibration sets as a file with the filename "mydata.csa" to the default path.*/

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.
scopeenumTrace | Displayed | Channel | AutoMeasurement data to be saved.
formatenumDisplayed | RI | MA | DBData format to be saved.
selectorinteger-Selects the measurement number, or -1 when scope is "Displayed".

Saves the specified measurement trace data as a Touchstone ".snp" file to the default path. The file name must use the ".snp" suffix, and the data format may be selected from RI, DB, MA, or AUTO.

NameTypeValuesDescription
file_namestring-Filename to be saved.
portsstring-Port numbers separated by vertical bars (|).
formatenumRI | DB | MA | AUTOData format to be saved.
touchstoneversionreal-Touchstone version.
: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_name>string-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.
<not provided>

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

NameTypeValuesDescription
<file_name>string-Name of the file to be loaded

Clears the disk safely. This command will clear the internal memory; perform data backup before running it.

Creates a specified directory.

NameTypeValuesDescription
file_namestring-Name of the directory to create.

Sets the default path. The query queries the default path.

NameTypeValuesDescription
<file_name>string-The existing file path and the folder name.
string - Returns the default path as a string.
: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 - 500Channel number to delete.
YSTEM:CHANnels:DELete 1
:SYSTem:BEEPerset / query

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

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

Sets or queries the system date.

NameTypeValuesDescription
yearinteger1900 - 2100
monthinteger1 - 12
dayinteger1 - 31Day of the month; the manual notes valid month lengths of 28, 29, or 30 days where applicable.
string - Returns the system date as a string with year, month, and day 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
string - The query returns the system time in strings. They are separated by colons.
:SYSTem:TIME 12,34,56 /*Sets the system time to 12:34:56.*/
:SYSTem:TIME? /*The query returns 12:34:56.*/
:SYSTem:STIMeset / query

Sets or queries whether to display the system time.

NameTypeValuesDescription
boolboolean-Enables or disables displaying the system time.
integer - The query returns 0 or 1.
:SYSTem:STIMe ON
:SYSTem:STIMe?
:SYSTem:LANGuageset / query

Sets or queries the system language.

NameTypeValuesDescription
languageenumSCHinese | TCHinese | KORean | JAPanese | ENGLish | GERMan | PORTuguese | POLish | FRENch | RUSSian | SPAN | THAI | INDonesianLanguage selection for the system.
enum - The query returns the current language as SCH, TCH, KOR, JAP, ENGL, GERM, PORT, POL, FREN, RUSS, SPAN, THAI, or IND.
: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 | OPEN
:SYSTem:PWRDset / query

Disconnects the instrument from power.

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

string - The SCPI version number is returned as a string.
:SYSTem:VERSion? /*The query returns 3.0 */
:SYSTem:LOCKedset / query

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

NameTypeValuesDescription
boolboolean{{1|ON}|{0|OFF}}
:SYSTem:GPIBset / query

Sets or queries the GPIB address.

NameTypeValuesDescription
adrinteger1 - 30GPIB address.
integer - The query returns an integer ranging from 1 to 30.
:SYSTem:GPIB 2 /*Sets the GPIB address to 2.*/
:SYSTem:GPIB? /*The query returns 2.*/

Installs an option license on the instrument.

NameTypeValuesDescription
licensestring-Option license in the format "<series>-<opt>@<code>".

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
typeenumBND | TDA | TDR | DTFOption type to query.
boolean - Returns whether the specified option is activated.

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: BND bundle option, TDA time-domain analysis option, TDR time-domain reflection analysis, or DTF distance to fault option.
integer - Returns 0 if the option is not installed, or 1 if the official option has been installed.
:SYSTem:PRESetset / query

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

:TRIGger:DELayset / query

Sets the global trigger delay. Queries the global trigger delay.

NameTypeValuesDescription
timereal0 s - 3 sGlobal trigger delay time.
real - The query returns the global trigger delay in scientific notation.
:TRIGger:DELay 2 /*Enables the global trigger delay to 2 s.*/
:TRIGger:DELay? /*The query returns +2.00E+00.*/

Sets the trigger source. Queries the trigger source.

NameTypeValuesDescription
typeenum-
returns

Sets the trigger scope. Queries the trigger scope.

NameTypeValuesDescription
enumenumALL | CURRentTrigger scope selection.
enum - Returns the trigger scope.

Sets the trigger condition. Queries the trigger condition.

NameTypeValuesDescription
enumenumEDGE | LEVelTrigger condition to set.
enum - Returns the trigger condition.
:TRIGger:TYPE EDGE /*Sets the trigger condition to EDGE.*/
:TRIGger:TYPE? /*The query returns EDGE.*/

Sets the polarity expected by the external trigger input circuitry.

NameTypeValuesDescription
enumenumPOSitive | NEGativePolarity expected by 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
boolboolean1 | ON | 0 | OFFEnables (ON or 1) or disables (OFF or 0) the trigger output.
boolean - Returns whether the trigger output is enabled.

Sets or queries the polarity of the rear-panel trigger output signal. The query returns POS or NEG.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
typeenumPOSitive | NEGativeSets the polarity of the signal output from the rear-panel trigger output connector.
enum - Returns the polarity of the signal output from the rear-panel trigger output connector.
TRIGger:CHANnel1:AUXiliary:OPOLarity POSitive
TRIGger:CHANnel1:AUXiliary:OPOLarity?

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

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
typeenumBEFore | AFTerSelects whether the trigger occurs before data is acquired or after data has been acquired.
enum - The query returns BEF or AFT.
:TRIGger:CHANnel1:AUXiliary:POSition BEFore /*Sets to trigger
before the data is acquired.*/
:TRIGger:CHANnel1:AUXiliary:? /*The query returns BEF.*/

Sets the trigger interval for the auxiliary trigger output on the specified channel and auxiliary trigger output connector. A query form is also documented.

NameTypeValuesDescription
cninteger1 - 500
aninteger1 - 1
type--

Sets the pulse width of the signal output from the rear-panel trigger output connector of the VNA. Queries the pulse width of that trigger output signal.

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
:TRIGger:CHANnel1:AUXiliary:DURation?

Sets the policy used to determine how global pass/fail is computed. The query returns the current policy.

NameTypeValuesDescription
typeenumALLTests | ALLMeasSelects how global pass/fail is computed.
enum - Returns the current global pass/fail policy as ALLT or ALLM.
: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 or queries the output state.

NameTypeValuesDescription
boolenumON | OFFSpecifies whether the output is enabled or disabled.

Sends a manual trigger signal without affecting the current on-going sweep.

NameTypeValuesDescription
cninteger1 - 500Channel number to trigger.
immediateopt--Optional immediate trigger node.

:ABORtset / query

Aborts all sweeps, then resumes trigger-based operation using the current trigger settings.