Measurement Computing ADAC-LVi User Manual
Page 73

Chapter 2 Digital I/O VIs
ADAC LabVIEW VI
67
$'$& ',2 &RQILJ FRQ¶W
If the error in cluster contains an error from a previous VI call this VI does nothing and
returns the error in cluster unmodified in the error out. In the event of a previous error the
Device Handle is set to -1.
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.
Device Type (2:DIN) Subsystem Type is a numeric value that specifies the board
subsystem to be allocated. The available options are:
2:DIN Digital Input
3:DOT Digital Output
The default Subsystem Type is 2:DIN
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.
Cycle Mode (Single:0) Cycle Mode is a numeric value that sets the software cycle
operation mode. Data can be collected in a single scan (SINGLE_CYCLE) filling buffer
0-n and then stopping acquisition or collected continuously (CONTINUOUS_CYCLE)
filling buffers 0-n repeatedly.
For DIO ports that do not support DMA or Interrupts Cycle Mode must be set to
SINGLE_CYCLE. Only single read operations are available. The available options are:
0:SINGLE_CYCLE Complete acquisition scan of 0-n buffers and stop. Supported by all
DIO's.
1:CONTINUOUS_CYCLE Restart acquisition, repeatedly loop on 0-n buffers.
Supported by DIO's with DMA, Interrupt or FIFO capabilities.
The default Cycle Mode is 0:SINGLE_CYCLE.