NIFGEN_ATTR_REFERENCE_CLOCK_SOURCE

NI-FGEN C Function

NIFGEN_ATTR_REFERENCE_CLOCK_SOURCE

Specific Attribute

Data
type
Access Applies to Coercion High Level Functions
ViString R/W N/A None None

Description

Specifies the reference clock source used by the signal generator. For example, when you set this attribute to "ClkIn", the signal generator uses the signal it receives at the Clk In front panel connector as its reference clock.

The reference clock at the specified source phase-locks with the signal generator's sample clock timebase to allow the frequency stability and accuracy of the sample clock timebase to match that of the reference clock.

Notes  The signal generator must not be in the Generating state when you change this attribute. To change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.
The following defined values are examples of possible reference clock sources. For a complete list of the reference clock sources available on your device, refer to the Device Routes tab in MAX.

Defined Values

"None"No Reference clock
"PXI_Clk10"PXI Clock 10 line
"ClkIn"Front panel connector
"OnboardRefClk" Onboard reference clock
"RTSI7"RTSI line 7
"RefIn"Ref In

Default Value: "None"