National Instruments 321645c-01 用户手册
Chapter 2
Function Reference — Config_Alarm_Deadband
NI-DAQ FRM for PC Compatibles
2-66
©
National Instruments Corporation
Figure 2-2. Low Alarm Deadband
Config_Alarm_Deadband
is a high-level function for NI-DAQ event messaging. Because
this function uses the current inputRange and polarity settings to translate triglevel and
deadbandWidth from volts to binary, you should not call
deadbandWidth from volts to binary, you should not call
AI_Configure
and change these
settings after you have called
Config_Alarm_Deadband
. For more information on NI-DAQ
event messaging, see the low-level function
Config_DAQ_Event_Message
. When you are
using this function, the analog input data acquisition must be run with interrupts only
(programmed I/O mode). You cannot use DMA. See
(programmed I/O mode). You cannot use DMA. See
Set_DAQ_Device_Info
for how to
change modes.
trigLevel +
deadbandWidth/2
trigLevel -
deadbandWidth/2
trigLevel
On: low alarm on
Off: low alarm off
Off: low alarm off
on
off
Time