
Typical flags Settings
Although the flags parameter may be constructed using any of the defined flags values, the following
table illustrates how specific channel configurations are typically defined:
Desired
Channel
Configuration
Flag1 Flag2 Flag3 Notes
Analog, Bipolar, SE
DafAnalog
(Default)
DafBipolar DafSingleEnded
(Default)
Configures P1 local and
expansion analog input channel
as bipolar, single ended
Analog, Bipolar,
DE
DafAnalog
(Default)
DafBipolar DafDifferential
Configures P1 local and
expansion analog input channel
as bipolar, differential
Analog, Unipolar,
SE
DafAnalog
(Default)
DafUnipolar
(Default)
DafSingleEnded
(Default)
Configures P1 local and
expansion analog input channel
as unipolar, single ended
Analog, Unipolar,
DE
DafAnalog
(Default)
DafUnipolar
(Default)
DafDifferential
Configures P1 local and
expansion analog input channel
as unipolar, differential
Digital (8 bit),
Local P2
DafP2Local8
N/A N/A Configures P2 local (8255)
digital input channel bank (8-bit)
Digital (8-bit),
Expansion P2
DafP2Exp8
N/A N/A Configures P2 expansion (8255)
digital input channel bank (8-bit)
Digital (16-bit),
Local P3
DafP3Local16
N/A N/A Configures P3 local (HS Digital)
digital input channel bank (16-
bit)
Counter (16-bit),
Local P3
DafCtr16 DafCtrPulse DafCtrRisingEdge
(Default)
Configures 16-bit P3 counter
channel for pulse counting on
rising edge of signal
Counter (16-bit),
Local P3
DafCtr16 DafCtrTotalize DafCtrRisingEdge
(Default)
Configures 16-bit P3 counter
channel for totalize counting on
rising edge of signal
Counter (16-bit),
Local P3
DafCtr16 DafCtrPulse DafCtrFallingEdge
Configures 16-bit P3 counter
channel for pulse counting on
falling edge of signal
Counter (16-bit),
Local P3
DafCtr16 DafCtrTotalize DafCtrFallingEdge
Configures 16-bit P3 counter
channel for totalize counting on
falling edge of signal
Counter (32-bit-
Low) Local P3
DafCtr32Low DafCtrTotalize DafCtrRisingEdge
(Default)
Configures low word of 32-bit
counter on P3 for totalizing on
rising edge of signal. Must be
paired with a 32-bit counter high
word
Counter (32-bit-
High) Local P3
DafCtr32High DafCtrTotalize DafCtrRisingEdge
(Default)
Configures high word of 32-bit
counter on P3 for totalizing on
rising edge of signal. Must be
paired with a 32-bit counter low
word
4.2-44 Daq API Command Reference 988594 Programmer’s Manual
Commentaires sur ces manuels