niHSDIO Configure Sample Clock

NI Digital Waveform Generator/Analyzer

niHSDIO Configure Sample Clock

Configures the Sample clock. This VI allows you to specify the clock source and rate for the Sample clock.

If clock source is set to On Board Clock, NI-HSDIO coerces the rate to a value that is supported by the hardware. Select Timing»Sample Clock»Rate from the property node to get the coerced value of the Sample clock rate. clock source can be set to STROBE only for acquisition sessions.

Refer to Clocks for Digital Waveform Generator/Analyzers for more information about the Sample clock sources. Refer to the Clocking book for your device for a block diagram of the clocking circuitry.

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
clock source specifies the Sample clock source. You can select On Board Clock, ClkIn, PXI STAR Line, or Strobe as the value for this control.
clock rate specifies the Sample clock rate, expressed in Hz.

You must set this property even when you supply an external clock because NI-HSDIO uses this property for a number of reasons, including optimal error checking and certain pulse width selections.
error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.