niHSDIO Configure Data Position

NI Digital Waveform Generator/Analyzer

niHSDIO Configure Data Position

Configures the various ways the data is clocked relative to the Sample clock.

Refer to the Acquisition and Generation books for your device for timing diagrams that illustrate the effects of data position changes.

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
channel list identifies which channels to apply settings.

Leave channel list blank to apply to all channels.

position specifies which edge of the Sample clock signal is used to time the operation. You can also configure the device to generate data at a configurable delay past each rising edge of the Sample clock.

You can choose Sample Clock Rising Edge, Sample Clock Falling Edge, or Delay from Rising Edge of Sample Clock. If you choose Delay from Rising Edge of Sample Clock, specify the delay using the delay parameter of the Configure Data Position Delay VI.

Notes  The Delay from Sample Clock Rising Edge setting has more jitter than the rising or falling edge values.
Certain devices have sample clock frequency limitations when a custom delay is used. Refer to the device documentation for details.
To configure a delay on NI 656x devices,you must delay all channels on the device. NI-HSDIO returns an error if you apply a delay to only a partial channel list.
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.