Write/Read |
About Power Sweep |
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 StartPowerEx. |
VB Syntax |
chan.StopPowerEx (srcPort) = value |
Variable |
(Type) - Description |
chan |
A Channel (object) |
srcPort |
(long integer) – Source port for which to set the Stop 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) - Stop 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 |
0 dBm |
Examples |
Chan.StopPowerEx 1 = -10 'Write |
stopPwr = Chan.StopPowerEx 2 'Read |
|
C++ Syntax |
HRESULT get_StopPowerEx(long port, double *pVal) |
Interface |
IChannel13 |