LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Program pauses at RunUserInterface and ProcessSystemEvents

I have an executable which calls a function in a DLL to load a GUI.  However when I run the executable in the debug mode, the program pauses at RunUserInterface, does anyone have any idea why it stops there? I then need to click continue for the program to go on.  I have cleared all the watch points, breaks ..., but the program still stops there and if it hits the ProcessSystemEvents call first, it will also stop there.  If I don't call the function from the DLL but have it in my executable then it seems to run fine without stopping ... it seems some kind of event from RunUserInterface and ProcessSystemEvents prevents the program from continuing.  Thanks

0 Kudos
Message 1 of 3
(3,005 Views)

It's CVI 2010, I stepped through the code and the program actually executed the RunUserInterface twice, It executed the first time then came back and executed the second time then went to the waiting for the GUI input. This may be a problem with CVI 2010

0 Kudos
Message 2 of 3
(2,990 Views)

Rick,

 

Are you still experiencing this problem? I could not find any other reports of this behavior. Do you have Run>>Break On>>Library Errors enabled? It could be that you are getting an error here. Does this happen in all of your projects, or just one? Do you have a small piece of code that reproduces this that you could send me. I would like to look at your configuration settings and try to reproduce it on my system.

National Instruments
0 Kudos
Message 3 of 3
(2,945 Views)