11-13-2006 04:34 AM
11-14-2006 07:57 AM
You can use the function DAQmxRegisterSignalEvent() to Register a Callback, that is called when a specific Event occurs at the DAQ-Card. To react to a change of a digitla line, you have to use the Constant "DAQmx_Val_ChangeDetectionEvent" for the second parameter (SIgnal ID). See the help for more details.
Hope this helps!
André
11-14-2006 01:54 PM
11-16-2006 02:43 AM
You can install the DAQmx Driver in parallel to traditional DAQ, so there shouldn´t be any comatibility issues.
If you want to use traditional daq, there is also a way to use events, via the function Config_DAQ_Event_Message(), but I would recommend using DAQmx.