Справочник Пользователя для National Instruments Welding System 321645c-01

Скачать
Страница из 554
Chapter 2
Function Reference — Config_DAQ_Event_Message
©
 National Instruments Corporation
2-73
NI-DAQ FRM for PC Compatibles
The following string specifies SCXI channel 1 in SCXI module 2 of SCXI chassis 4 as the 
trigger channel:
SC4!MD2!CH1
The following specifies AMUX channel 34 on the AMUX-64T device 1 as the trigger 
channel:
AM1!34
You can specify only one AMUX channel in the chanStr parameter.
You also can specify more than one channel as the trigger channel by listing all the channels 
when specifying channel number. For example, the following string specifies onboard analog 
input channel 2, 4, 6, and 8 as the trigger channels:
AI2,AI4,AI6,AI8
Also, if your channel numbers are consecutive, you can use the following shortcut to specify 
onboard analog input channels 2 through 8 as trigger channels:
AI2:8
DAQEvent indicates the event criteria for user notification. The following table describes the 
different types of messages available in NI-DAQ. A scan is defined as one pass through all 
the analog input or output channels or digital ports that are part of your asynchronous DAQ 
operation.
Note
If you are using a DAQ device in a remote SCXI configuration for digital I/O 
operations, DAQ events are not supported.
Note
To use a DIO device with this function, your device must be in handshaking 
mode. Otherwise, NI-DAQ will not be able to search for the trigger condition 
for your DIO device.