Adac ai sample channels – Measurement Computing ADAC-LVi User Manual
Page 24

Chapter 2 Easy Analog Input VIs
ADAC LabVIEW VI
18
$'$& $, 6DPSOH &KDQQHO FRQ¶W
Channel (0 (1)) Channel is a string that specifies the analog input channel number to
acquire data from.
For boards that support input gain the channel string also specifies a separate. Gains are
specified in parentheses after the channel number. For example, "0(1)" is interpreted as
channel 0 at a gain of 1.
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.
error in (no error) error in describes error conditions occurring before this VI executes.
This cluster defaults to no error.
Sample Sample contains the acquired channel data in volts.
error out error out contains error information. If the error in cluster indicated an error,
the error out cluster contains the same information. Otherwise, error out describes the
error status of this VI.
ADAC AI Sample Channels
The ADAC AI Sample Channels VI performs an immediate, untimed acquisition on the
specified channel(s) and returns all the data acquired in scaled data units (volts) in a one
dimensional array.