IviPwrMeter_ConfigureRefOscillator

CVI/LabWindows IVI Class Driver

IviPwrMeter_ConfigureRefOscillator

IviPwrMeterReferenceOscillator Capability Group

C Function Prototype

ViStatus IviPwrMeter_ConfigureRefOscillator (ViSession vi, ViReal64 frequency, ViReal64 level);

Purpose

This function sets the frequency and power level of the signal generated by the reference oscillator.

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

frequency ViReal64 The frequency of the reference oscillator. The driver sets the IVIPWRMETER_ATTR_REF_OSCILLATOR_FREQUENCY attribute to this value.


Units: Hertz.

Default Value: 50 MHz

level ViReal64 The power level of the reference oscillator. The driver sets the IVIPWRMETER_ATTR_REF_OSCILLATOR_LEVEL attribute to this value.

Units: dBm.

Default Value: 0 dBm

Return Values