Adac write to d(igital) line – Measurement Computing ADAC-LVi User Manual
Page 78

Chapter 2 Digital I/O VIs
ADAC LabVIEW VI
72
ADAC Write to D(igital) Line
The ADAC Write To Digital Line performs an immediate, untimed acquisition on the
specified digital port bit and returns the bit state acquired in a true(set) / false(clear)
boolean value.
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.
Line (0) Line specifies the individual port bit or line to be used for I/O.
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.
Clear Acquisition (true) Clear acquisition determines whether the VI releases the device
after reading the specified number of samples. The VI should pass a TRUE to this
parameter when reading the last set of samples for a given acquisition. The default is
TRUE, which means that the VI reads data only once if this input remains unwired. You
typically wire this input to the terminating condition of a loop, so that when the loop
finishes the device is released.