National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference Config_ATrig_Event_Message
NI-DAQ FRM for PC Compatibles 2-68
©
National Instruments Corporation
chanStr is a string description of the trigger analog channel or digital port.
The channel string has one of the following formats:
xn
SCn!MDn!CHn
AMn!n
where
x:
AI
for analog input channel.
n: Analog channel, digital port, SCXI chassis, SCXI module 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:
AI5
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 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
trigLevel is the alarm limit in volts. trigLevel and windowSize determine the trigger
condition.