Read-only
About Source Power Cal

CalPower Property  Superseded


Description

This command is replaced with chan.TestPortPower.

Returns the RF power level for the channel.

 VB Syntax

value = powerCalibrator.CalPower (chan, sourcePort)

Variable

(Type) - Description

value

(double) - Variable to store the returned Cal power value in dBm.

powerCalibrator

(object) - A SourcePowerCalibrator object

chan

(long integer) - Channel number of the VNA.

sourcePort

(long integer) - Source port number.

Use GetPortNumber to return the port number of a source that only has a string name, such as an External Source.

Return Type

None

Default

Not applicable

Examples

Set powerCalibrator = pna.SourcePowerCalibrator

power = powerCalibrator.CalPower(1,2) 'Read

C++ Syntax

HRESULT get_CalPower(long channel, long sourcePort, double *pVal);

Interface

ISourcePowerCalibrator