LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

labwindows suspended execution bug

Whenever I compile and run the debuggable executable labwindows will suspend execution after running for a short period of time. The wierd part is that this only happens on certain computers and when it suspends execution it goes to the same part of my code evertime. It does not give me any errors or user dialogues. After I press 'GO' twice my program goes back to where it left off with no problems.
0 Kudos
Message 1 of 3
(3,071 Views)
Hello

Have you opened up the "Debug Output" window to see of there is any message there. You would have the window open whiel running the code.

In CVI 6.0, this is under the Window option. It would usually list something in there if there was a problem.
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,071 Views)
Some windows SDK functions send breakpoint exceptions when
called with invalid parameters. For example, the underlying
Windows SDK function used in CA_FreeMemory suspends
execution when debugging an executable if you're trying to
free memory not allocated by the automation server, or if
you've already freed the memory. This only happens (AFAIK)
on WinNT/2000 but not on Win98/ME.

-- Peter Ilberg
0 Kudos
Message 3 of 3
(3,071 Views)