Discussion:
DAQmx default error handling
(too old to reply)
no21
2008-07-16 08:10:08 UTC
Permalink
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
no21
2008-07-17 10:10:11 UTC
Permalink
Okay, I found the error. It seems to be in my own error handling procedure... Note to mods: you can delete this thread...Thanksno21
Loading...