niHSDIO Configure Data Position Delay VI

NI Digital Waveform Generator/Analyzer Help

Edition Date: June 2013

Part Number: 370520P-01

»View Product Info
Download Help (Windows Only)
Installed With: NI-HSDIO

Configures the data position delay with respect to the Sample clock.

This VI is only valid when the position parameter of the niHSDIO Configure Data Position VI is set to Delay From Sample Clock Rising Edge for these channels.

Note  On NI 6555/6556 devices, you can configure data position delay on a per channel basis.
Note  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.

The NI 6547/6548 supports multibank data delay. All channels with the position parameter of the niHSDIO Configure Data Position VI set to Delay From Sample Clock Rising Edge and assigned to the same data delay bank must share a data delay value, even if the position of other channels on that bank are configured to Sample Clock Rising Edge or Sample Clock Falling Edge. NI-HSDIO returns an error if you set different delay values for two channels within the same bank.

The following table shows which channels belong to each bank.

Channels 0-3 4-7 8-11 12-15 16-19 20-23 24-27 28-31 PFI 0-3
Bank # 0 1 2 2 0 1 2 0 0
Note  DDR and extended data states do not change the bank assignments.

Related Topics

niHSDIO Configure Data Position Delay

/images/reference/en-XX/help/370520P-01/civrn.gif

instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI.

/images/reference/en-XX/help/370520P-01/cstr.gif

channel list specifies which channels to apply settings to.

Leave channel list blank to apply to all channels.

/images/reference/en-XX/help/370520P-01/cdbl.gif

delay specifies the delay after the Sample clock rising edge when the device generates or acquires a new data sample. Data delay is expressed as a fraction of the clock period.

All the channels in the session that use the Delay From Sample Clock Rising Edge data position must have the same delay value.

/images/reference/en-XX/help/370520P-01/cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

/images/reference/en-XX/help/370520P-01/cbool.gif

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.

/images/reference/en-XX/help/370520P-01/ci32.gif

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.

/images/reference/en-XX/help/370520P-01/cstr.gif

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.

/images/reference/en-XX/help/370520P-01/iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

/images/reference/en-XX/help/370520P-01/ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

/images/reference/en-XX/help/370520P-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370520P-01/ii32.gif

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.

/images/reference/en-XX/help/370520P-01/istr.gif

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful