beautypg.com

Measurement Computing ADAC-LVi User Manual

Page 152

background image

Chapter 2 Digital I/O Library

ADAC LabVIEW VI

146

$'$& *HW 3RUW 6WUXFW FRQW

resolution DIN1 is not available. The DIO ports DOT0 and DOT2 can be either
8 or 16 bit ports and DOT1 and DOT3 can only be an 8 bit port. When DOT0 or
DOT2 is set for 16 bit resolution DOT1 or DOT 3 is not available respectively.

Port Mask Port Mask is a binary value that indicates which bits are to be read
during interrupt transfers. If the associated bit in the Port Mask control is set
="1" the bit is read, unactive bits will return "0".

A5600PORT

Debounce Debounce is a numeric value that indicates if the device's
debounce circuitry is enabled or disabled. When Enabled the Time
Constant value sets the time required for a stable input.

0:DISABLED

1:ENABLED

The default value is 1:ENABLED

Port Mode Specification Port Mode Specification defines the pattern
match condition.

0:DISABLED Pattern match is disabled.

1:AND All unmasked bit conditions must occur.

2:OR Any unmasked bit conditions must occur.

The default Port Mode Specification is 2:OR

Pattern Latch Pattern Latch controls the Latch On Pattern ability. If
the Pattern Latch is enabled, the state of the input port will be latched
when a match condition occurs. The data will be held until the port is
read within its interrupt handler. If a subsequent match occurs (port
goes from match condition to non-match condition to a new match
condition) before the port is read within its interrupt handler, an IP
error condition will occur stopping the acquisition. The Ignore IP Error
control can be set to TRUE to disable the IP error checking in the
driver, but data may be lost when match conditions are occurring faster
than they can be serviced.