Module I/O Variables

To use I/O from this module in a VI, drag and drop I/O variables from the Project Explorer window to the block diagram of the VI.
  • The I/O variables for the AI channels return floating-point data in volts.
  • The I/O variables for the AO channels write floating-point data in volts.
  • The I/O variables for the DIO channels read and write Boolean values.

Module Channels

The NI 9381 has the following channels.

Table 378. Module Channels
Channel Description
AIx Analog input channel x, where x is the number of the channel. For the NI 9381, x is 0 to 7.
AOx Analog output channel x, where x is the number of the channel. For the NI 9381, x is 0 to 7.
DIOx Digital input/output channel x, where x is the number of the channel. For the NI 9381, x is 0 to 3.

C Series Module Properties Dialog Box

Use this dialog box to configure the NI 9381. Right-click the NI 9381 in the Project Explorer window and select Properties to display this dialog box. You can configure the following options.

  • Name—Specifies the name of the C Series module, which appears in the Project Explorer window. LabVIEW assigns a default name to the module based on the slot number. You can use this field to give the module a descriptive name.
  • Type—Specifies the type of C Series module. You cannot change this value.
  • Location—Specifies a slot in the chassis for the C Series module.
  • Channels—Specifies the channel(s) for which you want to configure settings.
  • Direction—Specifies the initial line direction of the selected channel(s) as input or output.
Note If you are using direct access to read from or write to AI or AO channels of the NI 9381, the conversion time is somewhat longer than 50 µs.