Write/Read
About Power Sweep

StartPowerEx Property


Description

Sets and reads the power sweep start power value for a specific port. This allows uncoupled forward and reverse power sweep ranges. Must also set SweepType = naPowerSweep,  Coupled = False (Off), and StopPowerEx.

 VB Syntax

chan.StartPowerEx (srcPort) = value

Variable

(Type) - Description

chan

A Channel (object)

srcPort

(long integer) – Source port for which to set the Start power value.

Note: If the port is defined by a string name, such as an external source, a balanced port, or one of the Source 2 outputs on the 2-port 2-source VNA-x model, then you must use chan.getPortNumber to translate the string into a port number. To learn more see Remotely Specifying a Source Port.

value

(double) - Start Power in dBm.

Note: The range of settable power values depends on the VNA model and if source attenuators are installed. To determine the range of values, use cap.MaximumSourceALCPower and cap.MinimumSourceALCPower

Auto attenuation is not allowed in Power Sweep.

Return Type

Double

Default

-10 dBm

Examples

Chan.StartPowerEx 1 = -10 'Write

strtpwr = Chan.StartPowerEx 2 'Read

C++ Syntax

HRESULT get_StartPowerEx(long port, double *pVal)
HRESULT put_StartPowerEx(long port, double newVal)

Interface

IChannel13