Queries the ID string of the instrument.
SCPI COMMAND REFERENCE
The Rigol DNA5142 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
Restores the instrument to its factory default settings.
Clears all the event registers and the error queue.
Sets or queries the enable register of the standard event register set.
| Name | Type | Values | Description |
|---|---|---|---|
| maskargument | integer | 0 - 255 | Decimal-weighted sum of the bits set in the standard event register. |
*ESE 16 *ESE?
Queries and clears the event register of the standard event status register.
Sets bit 0 (Operation Complete, OPC) in the standard event register to 1 after the current operation is finished.
Recalls instrument settings from the specified non-volatile memory. Previous settings saved with *SAV are overwritten.
Saves the current instrument state to the selected register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 49 | Register number used to store the current instrument state. |
Sets or queries the enable register of the status byte register set.
| Name | Type | Values | Description |
|---|---|---|---|
| <maskargument> | integer | 0 - 255 | Mask value for the status byte register enable bits. |
*SRE 16 /*Enables Bit 4 (16 in decimal) in the register.*/ *SRE? /*The query returns the enable value of the register 16.*/
Queries the event register for the status byte register. After executing the command, the value in the status byte register is cleared.
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.
Returns the self-test result as an integer.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Existing channel number. |
| pn | integer | 1 - 2 | Port number parameter; can be set to 1 or 2 and does not have any actual effects. |
| value | real | -40 - 10 | Output power value to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| pn | integer | 1 - 2 | Port number; documented as not functioning in this command. |
| value | real | -40 dBm - +10 dBm | Start power value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | |
| value | real | -40 dBm - +10 dBm |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| num | integer | 0 - 3 | Defines 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.*/
Deletes a measurement trace specified by <mn>.
Enables or disables the display of the specified measurement trace. The query returns whether the specified measurement trace is displayed.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | Trace number. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the display state. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | Trace 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.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | Trace number to identify the 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.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | Measurement trace number. |
| state | enum | 1 | ON | 0 | OFF | Enables or disables the title display. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | Measurement trace number. |
| value | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | |
| value | real | - | Y-axis reference value; the value and unit depend on the data format of the measurement parameters. |
Sets the reference position of the specified measurement trace. Queries the reference position of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| mn | integer | 1 - 50000 | |
| value | real | 0 - 10 |
: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>.
| Name | Type | Values | Description |
|---|---|---|---|
| num | integer | - | Channel number for the new display channel. |
Enables or disables the specified channel. The query returns the on/off status of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to be enabled or disabled. |
| bool | enum | 1 | ON | 0 | OFF | State to set for the specified channel. |
Adds a window; adds a channel or a trace in the window.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 2 | Selects 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.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | SOLid | DOTTed | Grid line type. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | Window number. |
| tn | integer | 1 - 50000 | Trace 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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | |
| tn | integer | 1 - 50000 | |
| bool | enum | 1 | ON | 0 | OFF |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | |
| tn | integer | 1 - 50000 | |
| bool | enum | 1 | ON | 0 | OFF |
Enables or disables the display of the specified window. Queries whether the specified window is displayed.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF |
Enables or disables the auto scaling of all the traces in the specified window.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | Specifies the display window number. |
| string | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables title display. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | |
| type | enum | OFF | MARKer | LIMit | SEGMent |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| wn | integer | 1 - 500 | Window number. |
Creates a new sheet, a new trace plus sheet, or a new trace plus channel plus sheet.
| Name | Type | Values | Description |
|---|---|---|---|
| num | integer | 0 - 2 | Selects 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.
| Name | Type | Values | Description |
|---|---|---|---|
| shnum | integer | 1 - 50000 | |
| bool | enum | 1 | ON | 0 | OFF | When 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. |
*none*
Sets the title data for the specified sheet.
| Name | Type | Values | Description |
|---|---|---|---|
| <shnum> | integer | 1 - 50000 | |
| <string> | string | - | Title text data. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the display of the global pass/fail results. |
:DISPlay:FSIGn <bool> :DISPlay:FSIGn?
Queries the test result of the global pass/fail test.
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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <freq> | real | Hz | Start frequency value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| freq | real | Hz | Stop frequency. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <freq> | real | - |
Sets the frequency span of the specified channel. Modifying the frequency span will affect the start frequency and stop frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| span | real | Hz | Frequency span value. |
Sets the CW frequency for the specified channel. Queries the CW frequency for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| freq | real | Hz | CW frequency to set for the specified channel. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <freq> | real | - |
Queries the frequency step of the specified channel. This command is valid when the sweep type (:SENSe<cn>:SWEep:TYPE) is set to Linear.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
Sets the number of sweep points for the specified channel. The query returns the number of sweep points for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Specified channel number. |
| <num> | integer | 1 - 100001 | Number of sweep points to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| type | - | - |
Sets whether to enable auto sweep time for the specified channel. The query reports whether auto sweep time is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables auto sweep time. |
Sets the sweep time for the specified channel to complete one sweep. The query returns the sweep time in scientific notation, in seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| value | real | - | Sweep time to set; range depends on sweep points, IF bandwidth, and dwell time. |
Enables or disables point sweep generation for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| bool | boolean | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| value | real | - | Dwell time between each sweep point. |
: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).
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to which the delay applies. |
| value | real | 0 - 20 | Delay time. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| num | integer | 1 - 2000000 |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Specified channel. |
Sets the trigger mode of the specified channel. Queries the trigger mode of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| type | enum | CHANnel | SWEep | POINt | Trigger mode for the specified channel. |
Sets or queries the IF bandwidth for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| freq | real | 1 Hz - 10 MHz |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| freq | real | 1 Hz - 10 MHz |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 |
Enables or disables the dwell time for each sweep segment. The query checks whether dwell time is enabled for each sweep segment.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables dwell time for each sweep segment. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| bool | boolean | - | Enables or disables sweep time for each sweep segment. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <bool> | boolean | 1 | ON | 0 | OFF |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables independent IF bandwidth control for each port. |
:SENSe1:SEGMent:BWIDth:PORT1:CONTrol ON :SENSe1:SEGMent:BWIDth:PORT1:CONTrol?
Enables or disables setting power level for each sweep segment.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the segment power-level control. |
Adds a segment with the specified ID for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| sgn | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| sgn | integer | 1 - 32 | Segment number. |
Enables or disables the specified sweep segment for the specified channel. The query returns the on/off status of the specified sweep segment.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean state to enable or disable the 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| sgn | integer | 1 - 32 | |
| freq | real | MHz | Start 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| sgn | integer | 1 - 32 | Segment number. |
| freq | real | Hz | Stop frequency of the specified sweep segment. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| sgn | integer | 1 - 32 | |
| num | integer | 1 - 100001 |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <sgn> | integer | 1 - 32 | |
| <value> | - | - |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| sgn | integer | 1 - 32 | Segment number. |
| value | real | 0 s - 20 s | Dwell time for the specified sweep segment. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| sgn | integer | 1 - 32 | |
| value | real | 0 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Channel number. |
| <sgn> | integer | 1 - 32 | Sweep segment number. |
| <freq> | real | 1 Hz - 10 MHz | IF bandwidth. |
: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 IF bandwidth on the specified port of the specified segment for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <sgn> | integer | 1 - 32 | |
| <pn> | - | - | |
| <freq> | real | 1 Hz - 10 MHz |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| sgn | integer | 1 - 32 | |
| pnopt | integer | 1 - 2 | Port number to use for the sweep segment. |
| value | real | 1 Hz - 10 MHz | Power 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. Queries the on/off status of correction for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean state to enable or disable correction. |
Sets the velocity factor for electrical delay. Queries the velocity factor for electrical delay.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| value | real | 0 - 1 |
Enables or disables interpolation for the specified channel. The query returns the on/off status of interpolation for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables interpolation. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to which the command applies. |
| bool | enum | 1 | ON | 0 | OFF | Turns port extension on or off. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| enum | enum | METer | FEET | INCH | Selects the delay distance unit. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number; the manual remarks that <pn> can be set to 1 or 2. |
| value | real | -1 - 1 | Delay time for the port extension. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | Port number; the remarks state that <pn> can be set to 1 or 2. |
| value | real | -90 dB - 90 dB |
Enables or disables the coupling state between the port extension velocity factor and the system velocity factor. The query returns the coupling state.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | Port number; can be set to 1 or 2. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the coupling state. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| pn | integer | - | Port number. |
| value | real | 0 - 1 | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| pn | integer | 1 - 2 | Port number; can be set to 1 or 2. |
| lossid | integer | 1 - 2 | Freq and Loss pair number. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the specified pair. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| pn | integer | 1 - 2 | Port number. |
| lossid | integer | 1 - 2 | Freq and Loss pair number. |
| value | real | - | Frequency value. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | Port number; the manual states it can be set to 1 or 2. |
| lossid | integer | 1 - 2 | Freq and Loss pair number; it can be set to 1 or 2. |
| value | real | -90 - 90 | Loss value to set. |
Saves the calibration results for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
Sets the average type for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | - |
Enables or disables Average state for the specified channel. The query reports the on/off status of the Average state for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF | Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| count | integer | 1 - 65535 |
Clears the measurement data of the specified channel and restarts averaging for a new set of measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to which the command applies. |
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables the coupling state. |
: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 connector types supported for the available calibration kits.
Queries the valid calibration kits that use the specified type of connector.
| Name | Type | Values | Description |
|---|---|---|---|
| <connector> | string | - | Specifies the type of connector. |
:SENSe:CORRection:COLLect:GUIDed:CKIT:CATalog? APC 3.5
Restores all the installed calibration kits to the factory defaults.
Deletes the installed calibration kits. <kit> indicates the "Kit Name" specified in the Standard Cal Kits list.
| Name | Type | Values | Description |
|---|---|---|---|
| <kit> | string | - | ASCII string identifying the calibration kit to delete. |
[?25l
Queries the number of installed calibration kits.
Loads the specified calibration kit (*.xkt file) from the specified path and appends the imported kit to the end of the kits list.
| Name | Type | Values | Description |
|---|---|---|---|
| <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.
| Name | Type | Values | Description |
|---|---|---|---|
| kit | integer | - | The specified calibration kit identifier. |
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <value> | real | 0.001 - 1000 | System impedance value to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| type | enum | NORMal | DISPlay | DEFine | Selects 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. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Existing 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| string | string | - |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| type | enum | MLOGarithmic | MLINear | PHASe | UPHase | IMAGinary | REAL | POLar | SMITh | SADMittance | SWR | GDELay | PPHase |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
Queries the formatted measurement data of the specified measurement trace.
Queries the raw measurement data of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
:CALCulate1:MEASure1:DATA:SDATA?
Queries the X-axis stimulus value of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
:CALCulate1:MEASure1:DATA:X?
Sets or queries the trace hold type of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| type | enum | OFF | MINimum | MAXimum | Selects the trace hold mode: OFF disables trace hold, MINimum stores the lowest measured data points, and MAXimum stores the highest measured data points. |
:CALCulate1:MEASure1:HOLD:TYPE MAXimum :CALCulate1:MEASure1:HOLD:TYPE?
Clears the trace hold function for the specified measurement trace.
Stores the measurement data of the specified measurement trace into memory.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
Performs normalization on the measurement data of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
Queries the status of the memory trace for the specified trace and channel.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 |
Performs a math operation on the specified trace data and trace memory. The query returns the current math operation type.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Trace number. |
| mn | integer | 1 - 50000 | Memory trace number. |
| type | enum | NORMal | ADD | SUBTract | MULTiply | DIVide | Math operation to apply. |
Sets the percent of span for the specified measurement trace, and queries the percent of span for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| value | real | 0% - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | integer | 2 - 100001 |
Sets the group delay frequency for the specified measurement trace. Queries the group delay frequency for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <freq> | real | 0 Hz - 26.5 GHz |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| mn | integer | 1 - 50000 | Measurement number. |
| stateopt | enum | 1|ON | 0|OFF | Enables or disables trace statistics display. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Channel index for the specified trace. |
| <mn> | integer | 1 - 50000 | Measurement index for the specified trace. |
| <type> | enum | PTPeak | STDEV | MEAN | MIN | MAX | Trace statistics data type to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| userid | integer | 0 - 16 |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| range | integer | 0 - 16 | |
| start | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| range | integer | 0 - 16 | |
| stop | real | - | 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.*/
Disables all the markers for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 |
Enables or disables the specified marker. The query returns the on/off status of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| bool | enum | 1 | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables coupled markers. |
:CALCulate1:MEASure1:MARKer1:COUPling ON /*Enables coupled markers.*/ :CALCulate1:MEASure1:MARKer1:COUPling? /*The query returns 1.*/
Sets the scope of the coupled markers for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | - | Scope type for coupled markers. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean value selecting relative or absolute marker mode. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| bool | enum | 1 | ON | 0 | OFF | Selects whether the marker shows interpolated data between points or discrete actual data points. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | DEFault | MLINear | MLOGarithmic | PHASe | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | POLar | IMPedance | ADMittance |
Sets the type of the specified marker. Queries the type of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | MLINear | MLOGarithmic | PHASe | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | POLar | IMPedance | ADMittance | Marker type to set. |
Sets the X-axis value of the specified marker, or queries the X-axis value of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | - | X-axis value of the specified marker. |
Queries the Y-axis value of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 |
Sets the specified marker on the specified trace of the specified channel to perform the specified type of search.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | MAXimum | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | MAXimum | MINimum | RPEak | LPEak | NPEak | TARGet | LTARget | RTARget | PEAK |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <mk> | integer | 1 - 16 | |
| <bool> | boolean | - | Enables or disables marker search tracking. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <mk> | integer | 1 - 16 | |
| <userid> | integer | 0 - 16 |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | - | Start point value for the user domain. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | - | Stop value for the frequency sweep or stop point of the X-axis of the user domain; the unit depends on sweep type. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | 0 - 500 |
Sets the peak polarity in the peak search of the specified marker. Queries the peak polarity 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | -500 - 500 |
Sets the target value in the target search for the specified marker. Queries the target value in the target search for the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | -1E15 - 1E15 | Target value used in the target search for the specified marker. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | NEGative | POSitive | BOTH | Target transition type for the marker target search. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | 0 - 500 |
Sets or queries the multi peak polarity in the multi peak search of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | NEGative | POSitive | BOTH | Selects 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| value | real | -1E15 - 1E15 |
Sets or queries the multi target transition type in the multi target search of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | NEGative | POSitive | BOTH | Transition type used for the multi target search. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | OFF | PEAK | TARGet | Selects 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.*/*
Selects the Multi Peak & Target function type for the specified channel, measurement, and marker.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | OFF | PEAK | TARGet | Selects the multi peak and target mode. |
Sets multi peak or multi target search tracking for the specified measurement trace. The query form returns the current tracking state.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables multi peak or multi target search tracking. |
Sets the selected instrument setting to assume the value of the specified marker.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| mk | integer | 1 - 16 | |
| type | enum | CENTer | SPAN | STARt | STOP | RLEVel | DELay | CWFReq | Selects 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Calculation trace number. |
| <mn> | integer | 1 - 50000 | Measurement trace number. |
| <bool> | boolean | 1 | ON | 0 | OFF | Enables or disables the limit test. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <bool> | enum | 1 | ON | 0 | OFF | Enables 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| state | enum | 1 | ON | 0 | OFF |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| mn | integer | 1 - 50000 | Measurement number. |
| sgn | integer | 1 - 32 | Segment number. |
| type | enum | OFF | LMAX | LMIN | Judge rule for the 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <sgn> | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <sgn> | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| sgn | integer | 1 - 32 | |
| value | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <sgn> | integer | 1 - 32 | |
| <value> | real | - | Y-axis end response value; must be within the Y-axis range for the specified measurement trace. |
: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.*/
Queries the limit fail status for the specified measurement trace.
Sets whether to enable the smoothing function for the specified measurement trace. The query form reports whether smoothing is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Measurement trace number. |
| mn | integer | 1 - 50000 | Measurement number. |
| bool | boolean | - | Enables or disables the smoothing function. |
Sets the smoothing aperture of the specified measurement trace. Queries the smoothing aperture of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | 0% - 25% | Smoothing aperture as a ratio of the number of data points in the 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| num | integer | 1 - 25001 | Number of adjacent points to average. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| type | enum | METer | FEET | INCH | Distance unit for electrical delay. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | - | Electrical delay distance value to set for the measurement trace. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean value that sets the electrical delay time state. |
Sets the magnitude offset for the specified measurement trace. Queries the magnitude offset for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 |
Sets the magnitude offset slope for the specified measurement trace, and the query returns that slope in scientific notation. The unit is dB/GHz.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number for the calculation trace. |
| mn | integer | 1 - 50000 | Measurement number for the specified trace. |
| value | real | -1E15 - 1E15 | Magnitude offset slope value. |
Sets the phase offset for the specified measurement trace. Queries the phase offset for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | -1E15 - 1E15 |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number for the specified calculation trace. |
| mn | integer | 1 - 50000 | Measurement number for the specified measurement trace. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the time domain transform state. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <value> | - | - |
Sets or queries the stop time in the time domain measurement of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | Refer to Remarks |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | - | Center time of the TDA; the center value between the start time and stop time. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <value> | real | s | Span time to set; the manual refers to remarks for allowable values. |
:CALCulate1:MEASure1:TRANsform:TIME:SPAN 1e-8 :CALCulate1:MEASure1:TRANsform:TIME:SPAN? /*The query returns 1.00e-08.*/
Sets the time-domain transform type for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <type> | - | - |
Sets the start frequency to be equal to the frequency span to be applicable to the low pass mode for the specified measurement trace.
Sets the marker mode in the Time Domain Setup (TDA) for the specified measurement trace. The query returns the marker mode for that trace.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <type> | enum | AUTO | REFLection | TRANsmission |
Sets or queries the unit in the Time Domain Setup (TDA) for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number. |
| mn | integer | 1 - 50000 | Measurement number. |
| type | discrete | METRs | FEET | INCHes | Unit 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | 0 - 13 |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number identifier for the calculation trace. |
| mn | integer | 1 - 50000 | Measurement number identifier for the specified measurement trace. |
| value | real | 0.6/frequency span - 1.39/frequency span | Impulse width value to set. |
: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 Time Domain Setup (TDA) window type for the specified measurement trace. Queries the current window type.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <type> | - | - |
Enables or disables the DTF function for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| bool | boolean | - |
Sets the DTF distance unit of the specified measurement trace. Queries the DTF distance unit of the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| type | enum | METer | FEET | INCH | Distance unit for the DTF measurement trace. |
Sets the DTF stop distance for the specified measurement trace. Queries the DTF stop distance for the specified measurement trace.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | - | DTF stop distance to set; range is related to the sweep frequency range, sweep points, and velocity factor. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <value> | real | 0 - 1.0e+15 |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | - |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| num | integer | 0 - 63 | Specifies which time domain transform parameters are coupled; multiple parameters may be combined by adding their bit values. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 50000 | |
| <bool> | boolean | 1 | ON | 0 | OFF |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel index. |
| mn | integer | 1 - 50000 | Measurement index. |
| value | real | - | Stop time value. |
Sets the center time in time domain gating of the specified measurement trace. The query returns the center time in scientific notation, in seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | - | Center time value for time domain gating. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 50000 | |
| value | real | s | Span time to set for time-domain gating. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <mn> | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| mn | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 50000 | Channel number. |
| <bool> | enum | ON | OFF | Turns the feature on or off. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns extrapolation on or off. |
Enables or disables the port match function. The query returns the on/off status of the port match.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables port match. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | |
| typeopt | - | - |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <pn> | integer | 1 - 2 | Port 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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | - | Capacitance value for the circuit element. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number for the port matching circuit model. |
| value | real | -1E18 - 1E18 | Conductance 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number selecting the calculation context. |
| pn | integer | 1 - 2 | Port number for the port matching circuit model. |
| value | real | -1E18 - 1E18 | Inductance value to set for the selected port matching circuit element. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number for the port matching circuit model; the manual says <pn> can be set to 1 or 2. |
| value | real | -1E18 - 1E18 | Resistance value to set for the port matching circuit model. |
Queries the port frequency range of the match SNP file (suffixed with *.snp, n indicates the number of ports).
Enables or disables the port de-embedding function. The query returns the on/off status of the port de-embedding function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean state to enable or disable port de-embedding. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | Port number; can be set to 1 or 2. |
| typeopt | enum | NONE | USER | Selects the de-embed circuit model for the specified port. |
Sets the filename of the user circuit model used for port de-embedding. The filename is suffixed with *.snp when set and queried as *.s2p.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | |
| file_name | string | - |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number to reverse; the remarks state that <pn> can be set to 1 or 2. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables reversing adapter ports. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | |
| <pn> | integer | 1 - 2 | Port number; the manual remarks that <pn> can be set to 1 or 2. |
Enables or disables the port impedance conversion. The query reports the on/off status of the port impedance conversion.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Boolean value that enables or disables 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | - | Port number; the remarks state that <pn> can be set to 1 or 2. |
| value | real | 0 - 1E7 | Real part of the impedance to set. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number; the manual states <pn> can be set to 1 or 2. |
| value | real | -1E18 - 1E18 | Imaginary impedance value to set for the specified port. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| <cn> | integer | 1 - 500 | Channel number. |
| <pn> | integer | - | Port number; can be set to 1 or 2. |
| <value> | real | 0 - 1E7 | Real part of the impedance to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| pn | integer | 1 - 2 | Port number for the port extension. |
| value | real | 0 - 1 | Velocity factor to set for the specified port. |
:CALCulate1:FSIMulator:DRAFt:EXTension:PORT1:VELocity:FACtor 0.7 :CALCulate1:FSIMulator:DRAFt:EXTension:PORT1:VELocity:FACtor?
Turns on or off the DHCP configuration mode, or queries the on/off status of the current DHCP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Turns DHCP configuration mode on or off. |
:LAN:DHCP OFF /*Disables DHCP configuration mode.*/ :LAN:DHCP? /*The query returns 0.*/
Turns on or off the Auto IP configuration mode, or queries the on/off status of the current Auto IP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Sets the Auto IP configuration mode on or off. |
:LAN:AUToip OFF /*Disables the Auto IP configuration mode.*/ :LAN:AUToip? /*The query returns 0.*/
Turns on or off the static IP configuration mode; or queries the on/off status of the static IP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables static IP configuration mode. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | IP address in ASCII string form, formatted as nnn.nnn.nnn.nnn. |
Sets or queries the subnet mask.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | Subnet mask in the format nnn.nnn.nnn.nnn. |
: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.
Sets or queries the default gateway.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | 0.0.0.0 - 223.255.255.255 | Default gateway address in nnn.nnn.nnn.nnn format. |
:LAN:GATeway 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/ :LAN:GATeway? /*The query returns 192.168.1.1.*/
Sets or queries the DNS address.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | DNS address in the format nnn.nnn.nnn.nnn. |
:LAN:DNS 192.168.1.1 :LAN:DNS?
Queries the MAC address of the instrument.
Queries the current network configuration status.
Queries the VISA address of the instrument. By default, it returns the LXI address.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | USB | LXI | Selects the address type to query. |
Enables or disables mDNS, or queries the mDNS status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables mDNS. |
Applies the network configuration. After configuring all LAN-related parameters with the :LAN commands, send this command to make the LAN settings take effect.
Sets or queries the host name.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The host name label; it can contain English letters and numbers, as well as some symbols. |
Sets or queries the description.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The label can contain English letters and numbers, as well as some symbols. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to be saved, including its extension name. |
| type | string | - | File type to be saved; it is suffixed with *.csv. |
| scope | enum | Trace | Displayed | Channel | Auto | Measurement data to be saved. |
| format | enum | Displayed | RI | MA | DB | Data format to be saved. |
| selector | integer | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to be saved. |
| ports | string | - | Port numbers separated by vertical bars (|). |
| format | enum | RI | DB | MA | AUTO | Data format to be saved. |
| touchstoneversion | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <file_name> | string | - | Name of the file to be loaded. |
Loads the specified state file suffixed with "*.sta" from the default path.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Name of the file to be loaded. |
<not provided>
Loads the specified SNP file suffixed with "*.snp" from the default path.
| Name | Type | Values | Description |
|---|---|---|---|
| <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.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Name of the directory to create. |
Sets the default path. The query queries the default path.
| Name | Type | Values | Description |
|---|---|---|---|
| <file_name> | string | - | The existing file path and the folder name. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to delete. |
[SYSTEM:CHANnels:DELete 1
Turns the beeper on or off, or queries the beeper on/off status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Turns the beeper on or off. |
Sets or queries the system date.
| Name | Type | Values | Description |
|---|---|---|---|
| year | integer | 1900 - 2100 | |
| month | integer | 1 - 12 | |
| day | integer | 1 - 31 | Day of the month; the manual notes valid month lengths of 28, 29, or 30 days where applicable. |
:SYSTem:DATE 2017,10,17 /*Sets the system data to 2017-10-17.*/ :SYSTem:DATE? /*The query returns 2017-10-17.*/
Sets or queries the system time.
| Name | Type | Values | Description |
|---|---|---|---|
| hours | integer | 0 - 23 | |
| minutes | integer | 0 - 59 | |
| seconds | integer | 0 - 59 |
:SYSTem:TIME 12,34,56 /*Sets the system time to 12:34:56.*/ :SYSTem:TIME? /*The query returns 12:34:56.*/
Sets or queries whether to display the system time.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables displaying the system time. |
:SYSTem:STIMe ON :SYSTem:STIMe?
Sets or queries the system language.
| Name | Type | Values | Description |
|---|---|---|---|
| language | enum | SCHinese | TCHinese | KORean | JAPanese | ENGLish | GERMan | PORTuguese | POLish | FRENch | RUSSian | SPAN | THAI | INDonesian | Language selection for the system. |
:SYSTem:LANGuage ENGLish /*Sets the system language to ENGLish.*/ :SYSTem:LANGuage? /*The query returns ENGL.*/
Sets or queries the power status of the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| sat | enum | DEFault | OPEN |
Resets the system to power on.
Disconnects the instrument from power.
Queries the version number of the SCPI used by the system.
:SYSTem:VERSion? /*The query returns 3.0 */
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.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | {{1|ON}|{0|OFF}} |
Sets or queries the GPIB address.
| Name | Type | Values | Description |
|---|---|---|---|
| adr | integer | 1 - 30 | GPIB address. |
:SYSTem:GPIB 2 /*Sets the GPIB address to 2.*/ :SYSTem:GPIB? /*The query returns 2.*/
Installs an option license on the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| license | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | BND | TDA | TDR | DTF | Option type to query. |
Queries whether an option is activated or not. This command exists for backwards compatibility; use :SYSTem:OPTion:STATus? instead.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | BND | TDA | TDR | DTF | Option to check: BND bundle option, TDA time-domain analysis option, TDR time-domain reflection analysis, or DTF distance to fault option. |
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.
Sets the global trigger delay. Queries the global trigger delay.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 0 s - 3 s | Global trigger delay time. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | - |
Sets the trigger scope. Queries the trigger scope.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | ALL | CURRent | Trigger scope selection. |
Sets the trigger condition. Queries the trigger condition.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | EDGE | LEVel | Trigger condition to set. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| enum | enum | POSitive | NEGative | Polarity 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| an | integer | 1 - 1 | |
| bool | boolean | 1 | ON | 0 | OFF | Enables (ON or 1) or disables (OFF or 0) the trigger output. |
Sets or queries the polarity of the rear-panel trigger output signal. The query returns POS or NEG.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| an | integer | 1 - 1 | |
| type | enum | POSitive | NEGative | Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| an | integer | 1 - 1 | |
| type | enum | BEFore | AFTer | Selects whether the trigger occurs before data is acquired or after data has been acquired. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| an | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | |
| an | integer | 1 - 1 | |
| value | real | 1 μs - 1 s |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | ALLTests | ALLMeas | Selects how global pass/fail is computed. |
: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.*/
Sets or queries the output state.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | ON | OFF | Specifies whether the output is enabled or disabled. |
Sends a manual trigger signal without affecting the current on-going sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| cn | integer | 1 - 500 | Channel number to trigger. |
| immediateopt | - | - | Optional immediate trigger node. |
Aborts all sweeps, then resumes trigger-based operation using the current trigger settings.