Disabling Unused Extensions

CVI/LabWindows IVI Class Driver

Disabling Unused Extensions

IviPwrMeter Class Driver

When you call the IviPwrMeter_init, the IviPwrMeter_InitWithOptions, or the IviPwrMeter_Reset function, the class driver disables extension capability groups that the program does not use by setting attributes of the unused extension group to values that disable that extension group.

The class driver disables extension capability groups by setting the following attributes to the noted default values:

Unused Extension Group Invoked Attribute Default Value Attribute Set to
IviPwrMeterChannelAcquistion IVIPWRMETER_ATTR_CHANNEL_ENABLED False
IviPwrMeterTriggerSource IVIPWRMETER_ATTR_TRIGGER_SOURCE Immediate
IviPwrMeterDutyCycleCorrection IVIPWRMETER_ATTR_DUTY_CYCLE_CORRECTION_ENABLED False
IviPwrMeterReferenceOscillator IVIPWRMETER_ATTR_REF_OSCILLATOR_ENABLED False
Note  

The following extension groups are not disabled by the IviPwrMeter driver:

  • IviPwrMeterInternalTrigger
  • IviPwrMeterSoftwareTrigger
  • IviPwrMeterManualRange
  • IviPwrMeterAveragingCount
  • IviPwrMeterZeroCorrection
  • IviPwrMeterCalibration