Configuring an External Sample Clock

Some NI signal generators can accept an external clock to directly drive the Sample clock. When using an external Sample clock, the frequency stability and accuracy of the Sample clock is determined by the external Sample clock provided.

LabVIEW Example

  1. Call the niFgen Configure Sample Clock Source VI with the Source set to an external location.

Perform the following step if your application is configured for Arbitrary Waveform, Arbitrary Sequence, or Script output mode:

  1. Call the niFgen Set Sample Rate VI with the Sample Rate set to the frequency of the external device you are using as a clock source.

C Example

  1. Call the niFgen_ConfigureSampleClockSource function with the sampleClockSource parameter set to an external location.

Perform the following step if your application is configured for Arbitrary Waveform, Arbitrary Sequence, or Script output mode:

  1. Call the niFgen_ConfigureSampleRate function with the sampleRate parameter set to the frequency of the external device you are using as a clock source.