Write/Read
About Phase Control

StopPhase Property


Description

Write and read the stop value of phase sweep. Must also send Sweep Type Property to put the analyzer into phase sweep mode.

 VB Syntax

phase.StopPhase(srcPort) = value

Variable

(Type) - Description

phase

A PhaseControl Object

srcPort

(Long Integer) Source port for which to make phase control settings.

Note: If the source 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 PNA-X model, then use chan.getPortNumber to translate the string into a port number. To learn more see Remotely Specifying a Source Port

value

(Double) Stop phase value in degrees. Choose a value between -360 and 360.

Return Type

Double

Default

0 degrees

Examples

phase.StopPhase 1 = 60 ' Write

value = phase.StopPhase 2' Read

C++ Syntax

HRESULT get_StopPhase(long port, double* pVal);

HRESULT put_StopPhase(long port, double newVal);

Interface

IPhaseControl