IviRFSigGen_ConfigureReferenceOscillator
IviRFSigGenReferenceOscillator Capability Group
C Function Prototype
ViStatus IviRFSigGen_ConfigureReferenceOscillator (ViSession vi, ViInt32 source, ViReal64 frequency);
Purpose
This function configures the signal generator's reference oscillator.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
source | ViInt32 | Specifies the reference frequency source used to generate the exact RF output frequency. The driver uses this value to set the IVIRFSIGGEN_ATTR_REFERENCE_OSCILLATOR_SOURCE attribute. Defined Values: IVIRFSIGGEN_VAL_REFERENCE_OSCILLATOR_SOURCE_INTERNAL - The internal reference oscillator is used. IVIRFSIGGEN_VAL_REFERENCE_OSCILLATOR_SOURCE_EXTERNAL - An external reference oscillator is used. Default Value: IVIRFSIGGEN_VAL_REFERENCE_OSCILLATOR_SOURCE_INTERNAL |
frequency | ViReal64 | Specifies the frequency of the external signal, which is used as reference for internal RF frequency generation. The driver uses this value to set the IVIRFSIGGEN_ATTR_REFERENCE_OSCILLATOR_EXTERNAL_FREQUENCY attribute. Units: Hertz Default Value: 10.0E6 Note: This value is used only if the IVIRFSIGGEN_ATTR_REFERENCE_OSCILLATOR_SOURCE attribute is set to External. |