IviFgen_ConfigureRefClockSource
IviFgen Base Capability Group
C Function Prototype
ViStatus IviFgen_ConfigureRefClockSource (ViSession vi, ViInt32 referenceClockSource);
Purpose
This function configures the function generator's reference clock source. The function generator uses the reference clock to derive frequencies and sample rates when generating output.
Note The function generator must be in the Configuration state when you call this function. |
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviFgen_init or IviFgen_InitWithOptions functions. The handle identifies a particular IVI session. |
referenceClock Source |
ViInt32 | Pass the reference clock source you want the function generator to use. The driver sets the IVIFGEN_ATTR_REF_CLOCK_SOURCE attribute to this value.
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 |