Справочник Пользователя для National Instruments 321645c-01
Chapter 2
Function Reference — Config_DAQ_Event_Message
NI-DAQ FRM for PC Compatibles
2-72
©
National Instruments Corporation
Parameter Discussion
mode indicates whether to add a new message, remove an old message, or clear all messages
associated with the given device.
associated with the given device.
0:
Clear all messages associated with the device including messages
configured with
configured with
Config_Alarm_Deadband
and
Config_ATrig_Event_Message
.
1: Add
a
new
message.
2:
Remove an existing message.
chanStr is a string description of the trigger analog channel(s) or digital port(s).
The channel string has one of the following formats:
xn
SCn!MDn!CHn
AMn!n
where
x
:
AI
for analog input channel.
AO
for analog output channel.
DI
for digital input channel.
DO
for digital output channel.
CTR
for counter.
EXT
for external timing input.
n
:
Analog channel, digital port, counter, SCXI chassis, SCXI module number,
or AMUX-64T device number
or AMUX-64T device number
SC
:
Keyword stands for SCXI chassis.
MD
:
Keyword stands for SCXI module.
CH
:
Keyword stands for SCXI channel.
AM
:
Keyword stands for AMUX-64T device.
!
:
Delimiter.
For example, the following string specifies an onboard analog input channel 5 as the trigger
channel:
channel:
AI5
When using messaging with an SCXI module in Parallel mode, you must refer to the channels
by their onboard channel numbers, not their SCXI channel numbers.
by their onboard channel numbers, not their SCXI channel numbers.
message
i16
user-defined message
callbackAddr
u32
user callback function address
Name
Type
Description