beautypg.com

Adac digital i/o library, Adac digital input – Measurement Computing ADAC-LVi User Manual

Page 143

background image

Chapter 2 Digital I/O Library

ADAC LabVIEW VI

137

ADAC Digital I/O Library

ADAC Digital Input

ADAC Digital Output

ADAC Digital Bits Test

ADAC Set Port Res

ADAC Set Port Mask

ADAC Set 5600 Port Struct

ADAC Get 5600 Port Struct

ADAC Digital Input

This VI immediately retrieves the 4, 8 or 16 bit input status of a digital input port.

Device Handle (0) Device Handle is a numeric value that is used to identify the device
subsystem. The default Device Handle is 0.

MaskBits (b11111111) MaskBits is a binary value that selects the operation bits. All bits
set to one (1) in the MaskBits will return their current state in the Status output.
Unselected MaskBits will be set to zero (0). The default value is binary 11111111.

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.

Status Status is a binary value that contains the current port data.

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.