Admin Production ni-theme
Current Publication

Configure Ref Clock Source

IVI Compliance Package

IviFgen Configure Ref Clock Source

IviFgen Base Capability Group

This VI configures the function generator's reference clock source. The function generator uses the reference clock to derive frequencies and sample rates when generating output.

instrument handle The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

reference clock source (Internal) Pass the reference clock source you want the function generator to use. The driver sets the IviFgen Reference Clock Source property to this value.

The function generator derives the frequencies and sample rates that it uses to generate waveforms from the source you specify. For example, when you set this parameter to IVIFGEN_VAL_REF_CLOCK_EXTERNAL, the function generator uses the signal it receives at its external clock terminal as its reference clock.

Defined Values:

IVIFGEN_VAL_REF_CLOCK_INTERNAL—Internal clock source

IVIFGEN_VAL_REF_CLOCK_EXTERNAL—External clock source

IVIFGEN_VAL_REF_CLOCK_RTSI_CLOCK—RTSI clock source

Default:

IVIFGEN_VAL_REF_CLOCK_INTERNAL—Internal clock source

instrument handle out The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.