User manual

Chapter 3 Software Overview
© National Instruments Corporation 3-61 NI-DAQ User Manual for PC Compatibles
Digital Change Detection Applications
with 653X Devices
For change detection on the 653X,seethe
DIG_Block_PG_Config
function in the function reference. For message generation on the 653X and
many other devices, see the
Config_DAQ_Event_Message
function in
the function reference.
Figure 3-18. Basic Digital Change Notification
To configure change notification, call
DIG_Change_Message_Config
.
With
DIG_Change_Message_Config
, you can configure individual
digital lines for rising, falling, or rising and falling edge detection. Call
DIG_Filter_Config
to enable filtering on some or all of the lines.
The next step is to start change detection messaging by calling the
DIG_Change_Message_Control
function with the start control code.
To stop change notification, call
DIG_Change_Message_Control
with
the stop control code. These steps form the basis of a basic digital change
notification application.
Enable filtering?
Yes
No
Configure Change Notification
Stop?
DIG_Change_Message_Control
DIG_Change_Message_Control
DIG_Change_Message_Config
DIG_Filter_Config
Stop Change Notification
Start Change Notification