Write/Read
About Phase Control

StartPhase Property


Description

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

 VB Syntax

phase.StartPhase(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) Start phase value in degrees. Choose a value between -360 and 360.

Return Type

Double

Default

0 degrees

Examples

phase.StartPhase 1 = 60 ' Write

value = phase.StartPhase 2' Read

C++ Syntax

HRESULT get_StartPhase(long port, double* pVal);

HRESULT put_StartPhase(long port, double newVal);

Interface

IPhaseControl


Last Modified:

8-Dec-2010

MX New topic