NI-HSDIO LabVIEW VIs

niHSDIO Assign Static Channels VI

  • Updated2023-02-21
  • 4 minute(s) read
Installed With: NI-HSDIO

Configures DIO and PFI channels for static acquisition (if instrument handle is an acquisition session) or for static generation (if instrument handle is a generation session).

A channel cannot simultaneously be assigned to static generation and dynamic generation.

Refer to Static Acquisition and Static Generation for more information about static operations.

Related Topics

niHSDIO Assign Static Channels

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.

cstr.gif

channel list specifies which DIO or PFI channels are configured as static.

Examples of valid syntax for this control are 0:31 or 0-15,16-31. Leave channel list blank to specify all channels. Use NONE to unassign all channels. On supported devices, you can select the following clocks using these strings: STROBE and DDC_CLKOUT. On supported devices, you also can select all supported PFI channels using strings such as PFI1, PFI26, and so on. The clock and PFI strings are not case sensitive and can be grouped with the standard input strings separated by commas. The following are examples of valid string syntax: 0, 4, 6, PFI1, 7 or 0-12, STROBE, DDC_CLKOUT.

Note  NI-HSDIO returns an error if an event is already routed to a PFI channel and you try to reserve that same channel for static use with this VI.
cerrcodeclst.gif

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

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.

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.

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.

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.

ierrcodeclst.gif

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

ibool.gif

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

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.

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.