VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : SCPI Commands : :SOURce{1-16}:POWer Subsystem
 
:SOURce{1-16}:POWer Subsystem
The :SOURce{1-16}:POWer subsystem commands are used configure and control port power types, attenuation types and levels, power coupling, calibration, and correction data for the indicated channel and port.
Power Configuration Subsystems
Related power configuration and control systems are:
:SOURce{1-16}:EFFective Subsystem
:SOURce{1-16}:POWer Subsystem (this subsystem)
:SOURce{1-16}:POWer:AINPut <char>
:SOURce{1-16}:POWer:AINPut?
Description
The command sets the configuration of the ALC input for the given channel.
The query outputs the configuration of the ALC input for the given channel.
Command definitions:
INT = INTernal
EXT = EXTernal
Use of this command requires installation of Option 53 or any of Option 8x.
Cmd Parameters
<char> INT | EXT
Query Parameters
NA
Query Output
<char> INT | EXT
Range
NA
Default Value
INT
Syntax Example
SOUR1:POW:AINP INT
SOUR1:POW:AINP?
:SOURce{1-16}:POWer:COMBiner[:STATe] <char>
:SOURce{1-16}:POWer:COMBiner[:STATe]?
Description
The command enables or disables the RF combiner switch (Option 32) on the indicated channel.
The query outputs the state of the RF combiner switch on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:COMB:STAT ON
:SOUR1:POW:COMB:STAT?
:SOURce{1-16}:POWer:CALibration:PULSed:GATe[:STATe] <char>
:SOURce{1-16}:POWer:CALibration:PULSed:GATe[:STATe]?
Description
The command enables\disables the gated pulsed power calibration for the indicated channel. The query returns the state of gated pulsed power calibration for the indicated channel. This command requires PulseView™ option (Option 42) to be installed.
Cmd Parameters
<char> ON | OFF | 1 | 0
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:CAL:PULS:GAT 0
:SOUR1:POW:CAL:PULS:GAT?
:SOURce{1-16}:POWer:CALibration:PULSed:GATe:STARt <NRf>
:SOURce{1-16}:POWer:CALibration:PULSed:GATe:STARt?
Description
The command sets the start gate to use during the pulsed power cal for the indicated channel. The query returns the start gate to be used during the pulsed power cal for the indicated channel. This command requires PulseView™ option (Option 42) to be installed.
Cmd Parameters
<NRf> The input parameter is in seconds.
Query Parameters
NA
Query Output
<NRf> The output parameter is in seconds.
Range
<NR3> Start < Stop, Start is in the Range [0, Stop)
Default Value
0
Syntax Example
:SOUR1:POW:CAL:PULS:GAT:STAR 0
:SOUR1:POW:CAL:PULS:GAT:STAR?
:SOURce{1-16}:POWer:CALibration:PULSed:GATe:STOP <NRf>
:SOURce{1-16}:POWer:CALibration:PULSed:GATe:STOP?
Description
The command sets the stop gate to use during the pulsed power cal for the indicated channel. The query returns the stop gate to be used during the pulsed power cal for the indicated channel. This command requires PulseView™ option (Option 42) to be installed.
Cmd Parameters
<NRf> The input parameter is in seconds.
Query Parameters
NA
Query Output
<NRf> The output parameter is in seconds.
Range
<NR3> Stop > Start, Stop is in the Range (Start, 2*PRI]
where PRI is the pulse repetition interval set in the Pulse Configuration or from
:CALCulate{1-16}:PULSe:PRI
Default Value
5.5E-008
Syntax Example
:SOUR1:POW:CAL:PULS:GAT:STOP 1.9945000000E-005
:SOUR1:POW:CAL:PULS:GAT:STOP?
:SOURce{1-16}:POWer:FUNDamental:CORRection[:STATe] <char>
:SOURce{1-16}:POWer:FUNDamental:CORRection[:STATe]?
Description
The command turns On/Off the Use Fundamental Power Correction switch state on the indicated channel for Flatness Power Cal.
The query outputs the On/Off state of the Use Fundamental Power Correction switch on the indicated channel for Flatness Power Cal.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:FUND:CORR ON
:SOUR1:POW:FUND:CORR?
:SOURce{1-16}:POWer:LINear:FUNDamental:CORRection[:STATe] <char>
:SOURce{1-16}:POWer:LINear:FUNDamental:CORRection[:STATe]?
Description
The command turns On/Off Use Fundamental power correction switch state for the indicated channel for Linear power cal.
The query outputs the state of the On/Off Use Fundamental power correction switch for the indicated channel for Linear power cal.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:LIN:FUND:CORR ON
:SOUR1:POW:LIN:FUND:CORR?
:SOURce{1-16}:POWer:LINear:USBSensor[:STATe] <char>
:SOURce{1-16}:POWer:LINear:USBSensor[:STATe]?
Description
The command turns on/off “Use USB power sensor” state of the linear power cal for the indicated channel.
The query outputs the “Use USB power sensor” state of the linear power cal for the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:LIN:USBS 1
:SOUR1:POW:LIN:USBS?
:SOURce{1-16}:POWer:LINear:USBSensor:NAMe <string>
:SOURce{1-16}:POWer:LINear:USBSensor:NAMe?
Description
The command sets the active USB sensor model and serial number of the linear power cal on the indicated channel.
The query outputs the active USB sensor model and serial number of the linear power cal on the indicated channel.
The name should have the following format:
“Model_serialNumber”
Cmd Parameters
<string> “Model_serialNumber”
See definition of <string>.
Query Parameters
NA
Query Output
<char> Model_serialNumber
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:LIN:USBS:NAM “MA24507A_1234567”
:SOUR1:POW:LIN:USBS:NAM?
:SOURce{1-16}:POWer:PORT:COUPle <char>
:SOURce{1-16}:POWer:PORT:COUPle?
Description
Turns port power coupling on/off on the indicated channel.
Outputs the port power coupling on/off state on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
1
Syntax Example
:SOUR1:POW:PORT:COUP ON
:SOUR1:POW:PORT:COUP?
:SOURce{1-16}:POWer:PORT{1-7}:CORRection:COLLect
Description
Performs a flat power correction calibration for the indicated channel and port, and returns the calibration result. No query. The command returns status where:
0 = Calibration Passed
1 = Calibration Failed
2 = Calibration Aborted
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NR1> 0 | 1 | 2
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:CORR:COLL
:SOURce{1-16}:POWer:PORT{1-7}:CORRection:DATA <block>
:SOURce{1-16}:POWer:PORT{1-7}:CORRection:DATA?
Description
Inputs the flat power correction data for the indicated channel and port. Outputs the flat power correction data of the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<block> data formatted as XML. See definition of <block> or <arbitrary block>.
Query Parameters
NA
Query Output
<block> data formatted as XML. See definition of <block> or <arbitrary block>.
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:CORR:DATA <block>
:SOUR1:POW:PORT1:CORR:DATA?
:SOURce{1-16}:POWer:PORT{1-7}:CORRection:TARGet <NRf>
:SOURce{1-16}:POWer:PORT{1-7}:CORRection:TARGet?
Description
Sets the power level target for the flat power correction calibration on the indicated channel and port. Outputs the power level target for the flat power correction calibration on the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
NA
Query Output
<NR3> The output parameter is in dB.
Range
MPNF
Default Value
0.000000E+000
Syntax Example
:SOUR1:POW:PORT1:CORR:TARG 3.0
:SOUR1:POW:PORT1:CORR:TARG?
:SOURce{1-16}:POWer:PORT{1-7}:CORRection[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-7}:CORRection[:STATe]?
Description
Turn on/off flat power correction for the indicated channel and port. Outputs the on/off status of flat power correction for the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:CORR ON
:SOUR1:POW:PORT1:CORR?
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:COLLect
Description
Performs a power linearity correction calibration for the indicated channel and port, and returns the calibration result. The command returns the calibration completion status where:
0 = Calibration Passed
1 = Calibration Failed
2 = Calibration Aborted
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NR1> 0 | 1 | 2
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:LIN:CORR:COLL
Port Number Definitions
Port Number
Definition
1
Port1 (2- and 4-port system)
2
Port2 (2- and 4-port system)
3
Src2 out Port1 (2-port system with option 32), (or Port3 on a 4-port system)
4
Port4 (4-port system)
5
Src2 out Port1 (4-port system)
6
Src2 out Port2 (4-port system)
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:DATA <block>
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:DATA?
Description
Inputs the power sweep linearity calibration data for the indicated channel. Outputs the power sweep linearity calibration data of the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<block> data formatted as XML. See definition of <block> or <arbitrary block>.
Query Parameters
<block> data formatted as XML. See definition of <block> or <arbitrary block>.
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:LIN:CORR:DATA <block>
:SOUR1:POW:PORT1:LIN:CORR:DATA?
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:POWer:STARt <NRf>
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:POWer:STARt?
Description
Sets the power sweep start power target for the linear power calibration on the indicated channel and port. Outputs the power sweep start power target for the linear power calibration on the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NRf> The input parameter is in dBm.
Query Parameters
<NR3> The output parameter is in dBm.
Range
MPNF
Default Value
-2.000000E+001 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:CORR:POW:STAR 2.3E1
:SOUR1:POW:PORT1:LIN:CORR:POW:STAR?
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:POWer:STOP <NRf>
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection:POWer:STOP?
Description
Sets the power sweep stop power target for the linear power calibration on the indicated channel and port. Outputs the power sweep stop power target for the linear power calibration on the indicated channel and port.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NRf> The input parameter is in dBm.
Query Parameters
NA
Query Output
<NR3> The query output is in dBm.
Range
MPNF
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:CORR:POW:STOP 2.3E1
:SOUR1:POW:PORT1:LIN:CORR:POW:STOP?
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-6}:LINear:CORRection[:STATe]?
Description
The command turns on/off the power sweep linear calibration for the indicated channel and port. Outputs the on/off status of the power sweep linear calibrations for the indicated channel and port.
For port definitions, see Table: Port Number Definitions
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:LIN:CORR 1
:SOUR1:POW:PORT1:LIN:CORR?
:SOURce{1-16}:POWer:PORT{1-4}:ATTenuation <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:ATTenuation?
Description
Sets the attenuation value of the indicated port on the indicated channel. Outputs the attenuation value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
0 to 60 dB in 10 dB increments
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:ATT 2E1
:SOUR1:POW:PORT1:ATT?
 
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:EFFective:STOP?
Description
Query only. Outputs the power sweep effective (>54G) stop power of the indicated port on the indicated channel.
Cmd Parameters
NA
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:POW:EFF:STOP?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:STARt <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:STARt?
Description
The command sets the power sweep start power for frequencies greater than 54 GHz (>54G) on the indicated port on the indicated channel. The query outputs the power sweep (>54G) start power of the indicated port on the indicated channel.
Cmd Parameters
<NRf>
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:POW:STAR <NRf>
:SOUR1:POW:PORT1:LIN:MODBB:POW:STAR?
 
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:STEP?
Description
Query only. The query outputs the power sweep (>54G) step size of the indicated port on the indicated channel for frequencies greater than 54 GHz.
Cmd Parameters
NA
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:POW:STEP?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:STOP <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:POWer:STOP?
Description
The command sets the power sweep (>54G) stop power on the indicated port on the indicated channel for frequencies greater than 54 GHz. The query outputs the power sweep (>54G) stop power of the indicated port on the indicated channel for frequencies greater than 54 GHz.
Cmd Parameters
<NRf>
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:POW:STOP <NRf>
:SOUR1:POW:PORT1:LIN:MODBB:POW:STOP?
 
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:SINGle:POWer:EFFective:VALue?
Description
Query only. The query outputs the power sweep effective (>54G) single power value of the indicated port on the indicated channel for frequencies greater than 54 GHz.
Cmd Parameters
NA
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:SING:POW:EFF:VAL?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:SINGle:POWer:VALue <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:MODBB:SINGle:POWer:VALue?
Description
Sets the power sweep (>54G) single power value on the indicated port on the indicated channel for frequencies greater than 54 GHz. The query outputs the power sweep (>54G) single power value of the indicated port on the indicated channel for frequencies greater than 54 GHz.
Cmd Parameters
<NRf>
Query Parameters
NA
Output
<NR3>
Syntax Example
:SOUR1:POW:PORT1:LIN:MODBB:SING:POW:VAL <NRf>
:SOUR1:POW:PORT1:LIN:MODBB:SING:POW:VAL?
 
:SOURce{1-16}:POWer:PORT{1-6}:LINear:POWer:EFFective:STARt?
Description
Query only. Outputs the power sweep effective start power of the indicated port on the indicated channel.
For port definitions, see Table: Port Number Definitions.
Query Parameters
<NR3> The output parameter is in dBm.
Range
MPNF
Default Value
The default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:EFF:STAR?
 
:SOURce{1-16}:POWer:PORT{1-6}:LINear:POWer:EFFective:STOP?
Description
Query only. Outputs the power sweep effective stop power of the indicated port on the indicated channel.
For port definitions, see Table: Port Number Definitions.
Query Parameters
<NR3> The output parameter is in dBm.
Range
MPNF
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:EFF:STOP?
:SOURce{1-16}:POWer:PORT{1-6}:LINear:POWer:OFFSet <NRf>
:SOURce{1-16}:POWer:PORT{1-6}:LINear:POWer:OFFSet?
Description
Sets the power sweep offset power on the indicated port on the indicated channel. Outputs the power sweep offset power of the indicated port on the indicated channel.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
–1E2 to 1E2 dB
Default Value
0.000000E+000
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:OFFS 1.2E1
:SOUR1:POW:PORT1:LIN:POW:OFFS?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:POINt <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:POINt?
Description
Sets the power sweep number of points on the indicated port on the indicated channel. Outputs the power sweep number of points of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is a unitless number.
Query Parameters
<NR1> The output parameter is an integer.
Range
0 to 60
Default Value
50
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:POIN 10E0
:SOUR1:POW:PORT1:LIN:POW:POIN?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:STARt <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:STARt?
Description
Sets the power sweep start power on the indicated port on the indicated channel. Outputs the power sweep start power of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dBm.
Query Parameters
<NR3> The output parameter is in dBm.
Range
–3E1 to 2.99E1 dBm
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:STAR 2.10E1
:SOUR1:POW:PORT1:LIN:POW:STAR?
 
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:STEP?
Description
Query only. Outputs the power sweep step size of the indicated port on the indicated channel.
Query Parameters
<NR3> The output parameter is in dB.
Range
Power step is a calculated value based on the start and stop power levels divided by the number of points in the active channel.
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:STEP?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:STOP <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:POWer:STOP?
Description
Sets the power sweep stop power on the indicated port on the indicated channel. Outputs the power sweep stop power of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dBm.
Query Parameters
<NR3> The output parameter is in dBm.
Range
-2.99E1 to 3E1 dBm
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:POW:STOP 2.5E1
:SOUR1:POW:PORT1:LIN:POW:STOP?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:REFerence:ATTenuation <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:REFerence:ATTenuation?
Description
Sets the power sweep reference attenuation value of the indicated port on the indicated channel. Outputs the power sweep reference attenuation value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
0 to 60 dB in 10 dB increments
Default Value
0 dB
Syntax Example
:SOUR1:POW:PORT1:LIN:REF:ATT 10E0
:SOUR1:POW:PORT1:LIN:REF:ATT?
 
:SOURce{1-16}:POWer:PORT{1-4}:LINear:SINGle:POWer:EFFective:VALue?
Description
Query only. Outputs the power sweep effective single power value of the indicated port on the indicated channel.
Query Parameters
<NR3> The output parameter is in dBm.
Range
–20 dBm to +5 dBm
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:LIN:SING:POW:EFF:VAL?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:SINGle:POWer:VALue <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:SINGle:POWer:VALue?
Description
Sets the power sweep single power value on the indicated port on the indicated channel. Outputs the power sweep single power value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dBm.
Query Parameters
<NR3> The output parameter is in dBm.
Range
–3E1 to 3E1
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1:LIN:SING:POW:VAL 1.0E1
:SOUR1:POW:PORT1:LIN:SING:POW:VAL?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:SINGle:POWer[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:SINGle:POWer[:STATe]?
Description
Turns on/off the power sweep single power mode on the indicated port on the indicated channel. Outputs on/off state of the power sweep single power mode of the indicated port on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:LIN:SING:POW 1
:SOUR1:POW:PORT1:LIN:SING:POW?
:SOURce{1-16}:POWer:PORT{1-4}:LINear:TEST:ATTenuation <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:LINear:TEST:ATTenuation?
Description
Sets the power sweep test attenuation value of the indicated port on the indicated channel. Outputs the power sweep test attenuation value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
0 to 60 dB in 10 dB increments
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:LIN:TEST:ATT 10E0
:SOUR1:POW:PORT1:LIN:TEST:ATT?
:SOURce{1-16}:POWer:PORT{1-4}:REFerence:ATTenuation <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:REFerence:ATTenuation?
Description
Sets the reference attenuation value of the indicated port on the indicated channel. Outputs the reference attenuation value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
0 to 60 dB in 10 dB increments
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:ATT 2.0E1
:SOUR1:POW:PORT1:REF:ATT?
:SOURce{1-16}:POWer:PORT{1-4}:SLOPe <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:SLOPe?
Description
Sets the power slope value of the indicated port on the indicated channel. Outputs the power slope value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is a unitless number.
Query Parameters
<NR3> The output parameter is a unitless number.
Range
–1E3 to 1E3
Default Value
0.000000E+000
Syntax Example
:SOUR1:POW:PORT1:SLOP 3.0E0
:SOUR1:POW:PORT1:SLOP?
:SOURce{1-16}:POWer:PORT{1-4}:TEST:ATTenuation <NRf>
:SOURce{1-16}:POWer:PORT{1-4}:TEST:ATTenuation?
Description
Sets the test attenuation value of the indicated port on the indicated channel. Outputs the test attenuation value of the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR1> The output parameter is in dB.
Range
0 to 60 dB in 10 dB increments
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:TEST:ATT 10E0
:SOUR1:POW:PORT1:TEST:ATT?
:SOURce{1-16}:POWer:PORT{1-7}[:LEVel][:IMMediate][:AMPlitude] <NRf>
:SOURce{1-16}:POWer:PORT{1-7}[:LEVel][:IMMediate][:AMPlitude]?
Description
Sets the power level of the indicated port on the indicated channel. Outputs the power level of the indicated port on the indicated channel.
For port definitions, see Table: Port Number Definitions.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NR3> The output parameter is in dB.
Range
–3E1 to 3E1
Default Value
Default value depends on model and installed options:
MS4645B or MS4647B with Options 51 or 6x = –10 dBm
All other MS4645Bs and MS4647Bs = –3 dBm
MS4642B and MS4644B = +5 dBm
Syntax Example
:SOUR1:POW:PORT1 3.0E0
:SOUR1:POW:PORT1?
:SOURce{1-16}:POWer:PULSe:LEVeling:MODE <char>
:SOURce{1-16}:POWer:PULSe:LEVeling:MODE?
Description
Sets and gets the leveling mode used for pulse application for indicated channel. The available leveling modes are:
RTCW = Real-time CW
POINt = Per point
SWEep = Per sweep
Cmd Parameters
<char> RTCW | POINt | SWEep
Query Parameters
<char> RTCW | POINt | SWEep
Range
NA
Default Value
RTCW
Syntax Example
:SOUR1:POW:PULS:LEV:MODE RTCW
:SOUR1:POW:PULS:LEV:MODE?
:SOURce{1-16}:POWer:PULSe:LEVeling:POINt:TOLerance <NRf>
:SOURce{1-16}:POWer:PULSe:LEVeling:POINt:TOLerance?
Description
Sets the tolerance (leveling convergence accuracy) for per point pulse leveling for the indicated channel.
The query outputs the tolerance (leveling convergence accuracy) for per point pulse leveling for the indicated channel.
Cmd Parameters
<NRf> The input parameter is in dB.
Query Parameters
<NRf> The output is in dB.
Range
.05 to 10dB
Default Value
1
Syntax Example
:SOUR1:POW:PULS:LEV:POIN:TOL 2
:SOUR1:POW:PULS:LEV:POIN:TOL?
:SOURce{1-16}:POWer:PULSe:LEVeling:REFResh
Description
Refreshes the stored reference target value for pulse leveling per point or per sweep modes for the indicated channel. No query.
Cmd Parameters
NA
Query Parameters
NA
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PULS:LEV:REFR
:SOURce{1-16}:POWer:SLOPe[:STATe] <char>
:SOURce{1-16}:POWer:SLOPe[:STATe]?
Description
Turns on/off the power slope mode on the indicated channel. Outputs on/off state of the power slope mode on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:SLOP ON
:SOUR1:POW:SLOP?
:SOURce{1-16}:POWer:USBSensor[:STATe] <char>
:SOURce{1-16}:POWer:USBSensor[:STATe]?
Description
The command turns on/off the “Use USB power sensor” state of the flatness power cal for the indicated channel.
The query outputs the state of “Use USB power sensor” of the flatness power cal for the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:USBS 1
:SOUR1:POW:USBS?
:SOURce{1-16}:POWer:USBSensor:NAMe <string>
:SOURce{1-16}:POWer:USBSensor:NAMe?
Description
The command sets the active USB sensor model and serial number of the flatness power cal on the indicated channel.
The query outputs the active USB sensor model and serial number of the flatness power cal on the indicated channel.
The name should have the following format:
“Model_serialNumber”
Cmd Parameters
<string> “Model_serialNumber”
See definition of <string>.
Query Parameters
NA
Query Output
<char> Model_serialNumber
Range
NA
Default Value
Active sensor is not set yet
Syntax Example
:SOUR1:POW:USBS:NAM “MA24507A_1234567”
:SOUR1:POW:USBS:NAM?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:DEEMbed[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:DEEMbed[:STATe]?
Description
Turns on/off the power cal de-embedding operation using the S2P characterization data on the indicated channel. Outputs the on/off state of the power cal de-embedding operation using the S2P characterization data on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:NWE:FREQ:DEEM 1
:SOUR1:POW:PORT1:NWE:FREQ:DEEM?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:DEEMbed:FILe <string>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:DEEMbed:FILe?
Description
Sets the S2P characterization filename for performing power cal de-embedding operation on the indicated channel. Outputs the S2P characterization filename for performing power cal de-embedding operation on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.s2p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Query Parameters
NA
Query Output
<char> Filename and path in the form: x:\directory\filename.s2p
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:NWE:FREQ:DEEM:FIL 'C:\filename.s2p'
:SOUR1:POW:PORT1:NWE:FREQ:DEEM:FIL?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:EMBed[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:EMBed[:STATe]?
Description
Turns on/off the power cal embedding operation using the S2P characterization data on the indicated channel. Outputs the on/off state of the power cal embedding operation using the S2P characterization data on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:NWE:FREQ:EMB 1
:SOUR1:POW:PORT1:NWE:FREQ:EMB?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:EMBed:FILe <string>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:FREQuency:EMBed:FILe?
Description
Sets the S2P characterization filename for performing power cal embedding operation on the indicated channel. Outputs the S2P characterization filename for performing power cal embedding operation on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.s2p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Query Parameters
NA
Query Output
<char> Filename and path in the form: x:\directory\filename.s2p.
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:NWE:FREQ:EMB:FIL 'C:\filename.s2p'
:SOUR1:POW:PORT1:NWE:FREQ:EMB:FIL?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:DEEMbed[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:DEEMbed[:STATe]?
Description
Turns on/off the power cal de-embedding operation using the S2P characterization data on the indicated channel. Outputs the on/off state of the power cal de-embedding operation using the S2P characterization data on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:NWE:POW:DEEM 1
:SOUR1:POW:PORT1:NWE:POW:DEEM?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:DEEMbed:FILe <string>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:DEEMbed:FILe?
Description
Sets the S2P characterization filename for performing power cal de-embedding operation on the indicated channel. Outputs the S2P characterization filename for performing power cal de-embedding operation on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.s2p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Query Parameters
NA
Query Output
<char> Filename and path in the form: x:\directory\filename.s2p
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:NWE:POW:DEEM:FIL 'C:\filename.s2p'
:SOUR1:POW:PORT1:NWE:POW:DEEM:FIL?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:EMBed[:STATe] <char>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:EMBed[:STATe]?
Description
Turns on/off the power cal embedding operation using the S2P characterization data on the indicated channel. Outputs the on/off state of the power cal embedding operation using the S2P characterization data on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SOUR1:POW:PORT1:NWE:POW:EMB 1
:SOUR1:POW:PORT1:NWE:POW:EMB?
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:EMBed:FILe <string>
:SOURce{1-16}:POWer:PORT{1-4}:NWExtract:POWer:EMBed:FILe?
Description
Sets the S2P characterization filename for performing power cal embedding operation on the indicated channel. Outputs the S2P characterization filename for performing power cal embedding operation on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: 'x:\directory\filename.s2p', where
x:\directory must exist. See Programming the VectorStar Series VNA, Notational Conventions for more information.
Query Parameters
NA
Query Output
<char> Filename and path in the form: x:\directory\filename.s2p.
Range
NA
Default Value
NA
Syntax Example
:SOUR1:POW:PORT1:NWE:POW:EMB:FIL 'C:\filename.s2p'
:SOUR1:POW:PORT1:NWE:POW:EMB:FIL?