National Instruments 321645c-01 用户手册
C
h
ap
te
r
2
Funct
io
n
R
eferen
ce
—
—
C
o
nfi
g
g
_
D
A
Q
_
E
vent
_
Message
©
N
at
iona
l I
l I
n
st
ru
m
ent
s Co
rpor
rpor
at
ion
2-7
9
9
N
I-
D
A
Q
F
R
M
f
o
r P
C
C
o
m
p
at
ib
le
s
Table 2-19. Usable Parameters for Different DAQ Events Codes
Parameter
DAQEvent
0
1
2
3
4
5
6
7
8
9
chanStr (where n
and m are
numbers)
and m are
numbers)
AIn, DIn,
DOn, SCn!...,
AMn!m,AOn
DOn, SCn!...,
AMn!m,AOn
AIn, DIn,
DOn, SCn!...,
AMn!m,
AOn
DOn, SCn!...,
AMn!m,
AOn
AIn, AOn,
DIn, DOn,
SCn!...,
AMn!m
DIn, DOn,
SCn!...,
AMn!m
AIn, SCn!...,
AMn!m
AMn!m
AIn, SCn!...,
AMn!m
AMn!m
AIn, SCn!...,
AMn!m
AMn!m
AIn, SCn!...,
AMn!m
AMn!m
DIn, DOn
DIn, DOn
CTRn, EXT1
DAQTrigVal0
no. of scans,
must be
greater than 0
must be
greater than 0
no. of scans,
must be
greater than 0
(see note
below)
must be
greater than 0
(see note
below)
ignored
upper bound
for analog
alarm region
(binary), must
be greater than
or equal to
DAQTrigVal1
for analog
alarm region
(binary), must
be greater than
or equal to
DAQTrigVal1
upper bound
for analog
alarm region
(binary), must
be greater than
or equal to
DAQTrigVal1
for analog
alarm region
(binary), must
be greater than
or equal to
DAQTrigVal1
upper bound for
hysteresis
window
(binary), must
be greater than
or equal to
DAQTrigVal1
hysteresis
window
(binary), must
be greater than
or equal to
DAQTrigVal1
upper bound for
hysteresis
window
(binary), must
be greater than
or equal to
DAQTrigVal1
hysteresis
window
(binary), must
be greater than
or equal to
DAQTrigVal1
digital
pattern
mask
(decimal)
pattern
mask
(decimal)
digital
pattern
mask
(decimal)
pattern
mask
(decimal)
EXTIRQ no.
(1 or 2) if
chanStr =
EXTn for the
PC-TIO-10,
otherwise
ignored
(1 or 2) if
chanStr =
EXTn for the
PC-TIO-10,
otherwise
ignored
DAQTrigVal1
ignored
ignored
ignored
lower bound
for analog
alarm region
(binary)
for analog
alarm region
(binary)
lower bound
for analog
alarm region
(binary)
for analog
alarm region
(binary)
lower bound for
hysteresis
window
(binary)
hysteresis
window
(binary)
lower bound for
hysteresis
window
(binary)
hysteresis
window
(binary)
digital
pattern not
to match
(decimal)
pattern not
to match
(decimal)
digital
pattern to
match
(decimal)
pattern to
match
(decimal)
ignored
trigSkipCount
ignored
ignored
ignored
ignored
ignored
no. of triggers
to skip
to skip
no. of triggers
to skip
to skip
ignored
ignored
ignored
preTrigScans
ignored
ignored
ignored
ignored
ignored
no. of scans
before trigger
condition is met
before trigger
condition is met
no. of scans
before trigger
condition is met
before trigger
condition is met
ignored
ignored
ignored
postTrigScans
ignored
ignored
ignored
ignored
ignored
no. of scans
after trigger
condition is met
after trigger
condition is met
no. of scans
after trigger
condition is met
after trigger
condition is met
ignored
ignored
ignored