Write/Read
About Phase Control

RatioedPowerCorrectionData Property


Description

Write and read an array of ratioed power offsets.  This allows the setting of arbitrary impedance, which is used for active load applications. The number of offset values must be the same as the number of data points. Use RatioedPowerCorrectionEnabled to use the offset values.

 VB Syntax

phase.RatioedPowerCorrectionData(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 values) Ratioed amplitude offset data array.

Return Type

Long data array

Default

Not Applicable

Examples

phase.RatioedPowerCorrectionData 1 = .1,.2,.3 ' Write 3 power offset values

value = phase.RatioedPowerCorrectionData 2' Read

C++ Syntax

HRESULT get_RatioedPowerCorrectionData(long port, long* pVals);

HRESULT put_RatioedPowerCorrectionData(long port, long newVals);

Interface

IPhaseControl