Set Clock Source |
pi620_SetClockSource ViStatus pi620_SetClockSource (ViSession instrumentHandle, ViUInt32 clockSource, ViReal64 externalClockFrequency_MHz, ViUInt32 clockMultiplier); Purpose Select the clock source and configure the external clock frequency. The clock source is fed to all 3 channels. Each channel can multiply the clock frequency with the clock multiplier value. The internal clock frequency (clock frequency * Clock Muliplier) may not exceed 300 MHz. An external clock frequency below 5 MHz is not recommended. Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the pi620_init function. The handle identifies a particular instrument session.
Default Value: None
clockSource Variable Type ViUInt32 Select the clock source:
0 = 10 MHz PXI Clock 1 = External clock source. Fill in the external clock source value. externalClockFrequency_MHz Variable Type ViReal64 The signal frequency of the external clock source (if used). clockMultiplier Variable Type ViUInt32 Each channel can multiply the (common) clock source with the Clock Multiplier. The resulting internal clock is use to generate the update clock. Return Value Refer to Function Return Value page. |
(C) 2009 Pickering Interfaces Ltd |