Other, Settings – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 101

Advertising
background image

Desired

Channel

Configuration

Flag1

Flag2

Flag3

Notes

Counter (32-bit-

Low) Local P3

DafCtr32Low DafCtrPulse

DafCtrRisingEdge

(Default)

Configures low word of 32-bit
counter on P3 for pulse counting
on rising edge of signal. Must be
paired with a 32-bit counter high
word

Counter (32-bit-

High) Local P3

DafCtr32High DafCtrPulse

DafCtrRisingEdge

(Default)

Configures high word of 32-bit
counter on P3 for pulse counting
on rising edge of signal. Must be
paired with a 32-bit counter high
word

Counter (32-bit-

Low) Local P3

DafCtr32Low DafCtrTotalize DafCtrFallingEdge

Configures low word of 32-bit
counter on P3 for totalizing on
falling edge of signal. Must be
paired with a 32-bit counter high
word

Counter (32-bit-

High) Local P3

DafCtr32High DafCtrTotalize

DafCtrFallingEdge

Configures high word of 32-bit
counter on P3 for totalizing on
falling edge of signal. Must be
paired with a 32-bit counter high
word

Counter (32-bit-

Low) Local P3

DafCtr32Low DafCtrPulse DafCtrFallingEdge

Configures low word of 32-bit
counter on P3 for pulse counting
on falling edge of signal. Must
be paired with a 32-bit counter
high word

Counter (32-bit-

High) Local P3

DafCtr32High DafCtrPulse

DafCtrFallingEdge

Configures high word of 32-bit
counter on P3 for pulse counting
on falling edge of signal. Must be
paired with a 32-bit high


For digital and counter channel flags definitions, the corresponding element in the gains array will be
ignored. Those flag settings who are marked as default will take on the default value if not explicitly set.

Other

flags

Settings

There are additional flags that can be added to any flags construct for more specific channel configurations:

Desired

Channel

Configuration

Flag

Notes

Unsigned Data
Representation

DafUnsigned

(Default)

Data returned for channel ranges from 0 to 65,535

Signed Data

Representation

DafSigned

Data returned for channel ranges from –32,768 to +32,767

5

µs Sampling

Interval *

DafSettle5us

(Default)

Sets the sampling interval for the channel to 5

µs

10

µs Sampling

Interval *

DafSettle10us

Sets the sampling interval for the channel to 10

µs

1000

µs

(1 ms) Sampling

Interval *

DafSettle1ms

Sets the sampling interval for the channel to 1000

µs, (1 ms)

Ignore least

significant 4-bits

DafIgnoreLSNibble

(Default)

The least significant 4-bits represents a channel tag on a 12 bit device and
should be ignored (DaqBook/DaqBoard/1xx series products only)

Clear least

significant 4-bits

DafClearLSNibble

The least significant 4-bits will be set to 0

Shift least

significant 4-bits

DafShiftLSNibble

The least significant 4-bits will be shifted left by 4 places (making a 12-bit
number into a 16-bit number) (DaqBook/DaqBoard/1xx series products
only)

* Channel configurations for

5

µs, 10 µs and 1000 µs do not apply to DaqBoard/500 Series devices.

Programmer’s Manual

908594

Daq API Command Reference 4.2-45

Advertising