Write/Read
About PMAR

SensorIndex Property


Description

For dual sensor power meters, sets and returns the power sensor channel (1 or 2) to be used.

 VB Syntax

pwrSensor.SensorIndex = value

Variable

(Type) - Description

pwrSensor

A PowerSensorAsReceiver (Object)

value

(Long) - Power Meter channel. Choose from:

1 - Sensor A

2 - Sensor B

Return Type

Long

Default

1

Examples

pwrSensor.SensorIndex = False 'Write

sensor = pwrSensor.SensorIndex 'Read

C++ Syntax

HRESULT put_SensorIndex(long newVal);

HRESULT get_SensorIndex(long* pVal);

Interface

IPowerSensorAsReceiver