IviDownconverter_ConfigureReferenceOscillator
- Updated2023-02-24
- 1 minute(s) read
ViStatus IviDownconverter_ConfigureReferenceOscillator (ViSession instrumentHandle, ViInt32 referenceOscillatorSource, ViReal64 externalFrequency_Hz);
Purpose
This function configures the reference oscillator.
Parameters
Input | ||
Name | Type | Description |
---|---|---|
instrumentHandle | ViSession | The ViSession handle that you obtain from the IviDownconverter_init or IviDownconverter_InitWithOptions function. The handle identifies a particular instrument session.
Default Value: None |
referenceOscillatorSource | ViInt32 | Specifies the reference oscillator source used to generate the precise IF output frequency. The driver uses this value to set the IVIDOWNCONVERTER_ATTR_REFERENCE_OSCILLATOR_SOURCE attribute.
Valid Values: IVIDOWNCONVERTER_VAL_REFERENCE_OSCILLATOR_SOURCE_INTERNAL - The driver uses the internal reference oscillator. IVIDOWNCONVERTER_VAL_REFERENCE_OSCILLATOR_SOURCE_EXTERNAL - The driver uses an external reference oscillator. Default Value: IVIDOWNCONVERTER_VAL_REFERENCE_OSCILLATOR_SOURCE_INTERNAL |
externalFrequency_Hz | ViReal64 | Specifies the frequency of the external reference oscillator. The driver uses this value to set the IVIDOWNCONVERTER_ATTR_REFERENCE_OSCILLATOR_EXTERNAL_FREQUENCY attribute.
Units: Hertz Default Value: 10.0 MHz Note: This value is valid only when IVIDOWNCONVERTER_ATTR_REFERENCE_OSCILLATOR_SOURCE is IVIDOWNCONVERTER_VAL_REFERENCE_OSCILLATOR_SOURCE_EXTERNAL. |