Configuring a Reference Clock

You can specify the source for the Reference clock that will be used in a phase-locked loop to tune the Sample clock timebase to the frequency stability of the Reference clock.

LabVIEW Example

Call the niFgen Configure Reference Clock VI with Source set to the Reference clock source. For example, set Source to "ClkIn" to obtain the Reference clock signal from the Clk In front panel connector. Set Reference Clock Frequency to the frequency of the Reference clock.

C Example

Call the niFgen_configureReferenceClock function with the referenceClockSource parameter set to the Reference clock source. For example, set the referenceClockSource parameter to "ClkIn" to obtain the Reference clock signal from the Clk In front panel connector. Set referenceClockFrequency to the frequency of the Reference clock.