Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx default error handling

Hi,
I'm using the USB-6229 BNC for data acquisition using a program written in C++ (Borland 6) using the DAQmx driver. This program has a graphical interface.

The program has its own error handling procedure, using the DAQmxErrChk variable also used in the C++ examples shipped with DAQmx.

Somehow, when a serious error happens, DAQmx uses its own error handling. This consists of an error window opening up that displays the error. After 1 or 2 seconds the window disappears and the whole program crashes.

How can I prevent DAQmx from using this error handling routine and force it to use my own, which includes stopping the data acquisition, displaying the error, writing it to a logfile and let the user decide if the data acquisition is started again?

Thanks in advance,
no21
0 Kudos
Message 1 of 2
(2,809 Views)
Okay, I found the error. It seems to be in my own error handling procedure...

Note to mods: you can delete this thread...

Thanks
no21
0 Kudos
Message 2 of 2
(2,792 Views)