Adac ai read – Measurement Computing ADAC-LVi User Manual
Page 33

Chapter 2 Intermediate Analog Input VIs
ADAC LabVIEW VI
27
$, 6WDUW 'HYLFH FRQ¶W
Device Handle (0) Device Handle is a numeric value that identifies the board's A/D
subsystem to be acted upon. The default Device Handle is 0.
error in (no error) Error in describes error conditions occurring before this VI executes.
This cluster defaults to no error.
Device Handle out Device Handle out contains the value of Device Handle in.
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 Read
This VI reads data from a queued A/D buffer and converts the data to voltage upon
request in a two dimensional array. This VI typically acquires voltage readings on
multiple channels, but may be used to collect single channel points into its two
dimensional array.
The BUFFER STATUS cluster is useful in determining the current status of the
acquisition by presenting the Buffer DoneFlag, StatusFlag and ErrorFlag conditions as
described below. The BUFFER STATUS is especially useful in multi-
buffered/continuous acquisition where no interaction takes place except from incoming
buffers.
Before reading any data, AI Read checks to see if the input cluster error in indicates that
an error has already occurred. If so, this VI does not read any data, but passes the error
information unmodified through error out.
Device Handle (0) Device Handle is a numeric value that identifies the board's A/D
subsystem to be acted upon. The default Device Handle is 0.