Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

What effects (if any) do os signals (eg. SIGABRT, SIGBREAK, SIGFPE, etc) have on nidaq functions?

I am attempting to catch and handle any break or terminate signals, so that I can properly clean up before exitting. The signal handling itself works - that is I hit ctrl-c during the program, and the signal function begins to execute, but the program dies as soon as I call the first cleanup function (DAQ_Clear()). I have no idea why DAQ_Clear dies at this point. It works ok otherwise.

Windows 2000 Pro
Celeron 600
128Mb RAM
nidaq 6.9
0 Kudos
Message 1 of 3
(3,728 Views)
You will most likely get a better response to this question in the Multifunction DAQ section of Developer's Exchange since it deals solely with the NI-DAQ driver software.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 3
(3,728 Views)
I have not programmed such error handling for DAQ operations before, but this is something I'd like to research a bit.

Can you tell me what you mean by "the program dies"? Does it freeze, return some error code, or crash with a fatal error?

Raecine Meza
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 3 of 3
(3,728 Views)