IviPwrMeter_ConfigureUnits
IviPwrMeterBase Capability Group
C Function Prototype
ViStatus IviPwrMeter_ConfigureUnits (ViSession vi, ViInt32 measurementUnits);
Purpose
This function configures the unit to which the RF power is converted after measurement.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from the IviPwrMeter_init or IviPwrMeter_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
measurementUnits | ViInt32 | Specifies the units at the input terminals of the power meter. The driver sets the IVIPWRMETER_ATTR_UNITS attribute to this value. Defined Values: IVIPWRMETER_VAL_DBM (dBm ) IVIPWRMETER_VAL_DBMV (dBmV) IVIPWRMETER_VAL_DBUV (dBuV) IVIPWRMETER_VAL_WATTS (Watts) Default Value: IVIPWRMETER_VAL_WATTS (Watts) |