National Instruments Welding System 321645c-01 Manual De Usuario

Descargar
Página de 554
Chapter 2
Function Reference — Configure_HW_Analog_Trigger
©
 National Instruments Corporation
2-89
NI-DAQ FRM for PC Compatibles
If you apply any of the formulas and get a value equal to 256, use the value 255 instead; if you 
get 4,096 with the 16-bit boards, use 4,095 instead.
You can use the following programming sequence to set up an acquisition to be triggered 
using the hardware analog trigger, where the trigger source is the PFI0/TRIG1 pin:
status = 
Configure_HW_Analog_Trigger
 (deviceNumber, 
ND_ON
, lowValue, 
highValue, mode, 
ND_PFI_0
)
status 
Select_Signal
 (deviceNumber, 
ND_IN_START_TRIGGER
ND_PFI_0
ND_LOW_TO_HIGH
)