beautypg.com

Adac read d(igital) port – Measurement Computing ADAC-LVi User Manual

Page 65

background image

Chapter 2 Digital I/O VIs

ADAC LabVIEW VI

59

ADAC Read D(igital) Port

The ADAC AI Read from Digital Port performs an immediate, untimed acquisition on
the specified Digital port element and returns the data acquired in binary data units.

Board ID (0) Specifies the ADAC-LVi board ID number to be used in this acquisition.
The ID numbers are defined in the configuration file ADAC-LVi.con located in the
Windows main directory.

Element (0) Element is a numeric value that specifies element number of the Subsystem
Type. Elements range from 0-n for all Subsystem Types.

The DIN, DOT typically have multiple elements, the first subsystem element is 0, the
second is 1, and so forth.

The default Element is 0.

Port Resolution (8 BIT:1) Port Resolution is a numeric value that whether the input or
output port is read or written in 4, 8 or 16 bit transfers. The available options are:

0:4 BIT
1:8 BIT
2:16 BIT

The default value is 1:8 BIT

Iteration (init:0) Iteration controls when the ADAC-LVi device subsystem allocation
and device initialization is performed. If iteration is 0, the VI allocates the device and
initializes it with the hardware specifications connected to the VI. The VI then starts the
acquisition and reads the data. If iteration is greater than zero, then VI assumes that the
current configuration is valid and starts the acquisition, then reads the data.