Write/Read |
About Phase Control |
Description |
Sets and returns the reference port for the Phase Control measurement. |
VB Syntax |
phase.PhaseReferencePort(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 |
(Long Integer) Reference port number. ONLY specific ports are available to be a reference for each source port. Learn more. |
Return Type |
Long Integer |
Default |
Depends on the controlled port. |
Examples |
phase.PhaseReferencePort 1 = 3 ' Write |
value = phase.PhaseReferencePort 2' Read |
|
C++ Syntax |
HRESULT get_PhaseReferencePort(long port, long* pVal); HRESULT put_PhaseReferencePort(long port, long newVal); |
Interface |
IPhaseControl |