LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows crashes when i press the stop button to Debug the code

"I use Labwindows/CVI 6.0 under Win2K.
In debug mode, when a run-time fault occurs, I have to stop the program in order to leave the debugger.
To do that, I have the "Terminate execution" command or the "Stop" button.
Either with the command or the button, the system reboots immediately."
0 Kudos
Message 1 of 2
(2,583 Views)
This can happen if your program is in the middle of a hardware operation and an operation in the driver is unexpectedly aborted. When it comes to reboots as the one you mention here, it must be caused by the driver (at the kernel level) and not by a software application such as CVI.
If this is the case, I'd suggest you make sure the hardware operation has completely stopped (make sure you are calling the corresponding Stop function for your driver) and then stop the debugging process.
0 Kudos
Message 2 of 2
(2,583 Views)