beautypg.com

Measurement Computing ADAC-LVi User Manual

Page 71

background image

Chapter 2 Digital I/O VIs

ADAC LabVIEW VI

65

$'$& &RQILJ FRQW

PM(n) PT(n) PP(n) Pattern Match Bit Definitions
0 0 0 or 1 Bit Masked Off
0 1 0 or 1 Any Transition
1 0 0 ZERO
1 0 1 ONE
1 1 0 ONE to ZERO Transiton
1 1 1 ZERO to ONE Transition

For detailed definitions see the 5600 manuals ADVANCED
PROGRAMMING TECHNIQUES. When the PortResolution=16,
PatternPolarity, PatternTransition and PatternMask are set in WORDs
b(1111111111111111).

Ignore IP Error The Ignore IP Error setting controls the ADAC-LVi
driver pattern match error condition. A setting of TRUE stops the
generation of an error condition when a match condition occurs while
another match is being serviced, indicating match conditions are
occurring faster than they can be serviced.

Time Constant The Time Constant value sets the time required for a
stable input. Use the following equation to determine the value.

TimeConstant = period(usec) / 2(usec)

Were period(usec) is the debounce time required.

For detailed definitions see the 5600 manuals ADVANCED
PROGRAMMING
TECHNIQUES.

Number of Buffers(2) Specifies the number of buffers the VI allocates.Buffers are only
when DIN0 is configured for Interrupt acquisitions.

Buffer Size (100) Buffer Size is the number of data samples you each buffer to holds.
Buffers Size is only set when DIN0 is configured for Interrupt acquisitions.

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 Interrupts, Cycle Mode must be set to
SINGLE_CYCLE. Only single write operations are available and buffers are not used.