IVIPWRMETER_ATTR_OFFSET

CVI/LabWindows IVI Class Driver

IVIPWRMETER_ATTR_OFFSET

IviPwrMeterBase Attribute

Data
type
Access Applies to Coercion High Level Functions
ViReal64 R/W Channels None IviPwrMeter_ConfigureOffset

Description

This channel-based attribute specifies an offset to be added to the measured value on a channel in units of dB. This attribute can be used to compensate for system losses or gains between the unit under test and the sensor of the power meter.

A positive value is used for loss compensation. A negative value is used for gain compensation. For example, a cable loss of 2 dB could be compensated for by setting this attribute to +2. Similarly, a gain stage of 10 dB could be accounted for by setting the value of this attribute to -10. In both cases, the reading from the power meter will indicate the power at the unit under test rather than power at the power meter's sensor.