LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

refreshing the monitor screen

Hi all,

I have an application built using
CVI 5.5 where some where
at the middle of the operation the
program will call another program to lauch. After the called program has
exit, my application will continue.

My problem is that when the called program has exit, the whole monitor
screen become white and I can't anything.

Is there some way I can refresh the
screen in CVI ?

Thankz in advance.
MK. Tan
0 Kudos
Message 1 of 2
(2,797 Views)
Hello Tan,
The screen should not turn white when your called application exits. I would be suspicious that the called application is not terminating properly. Check to see if the OS has become unstable or locked up (move the mouse, press ALT-TAB, press Num Lock, press Ctrl-Alt-Del, and see if the system responds). I assume that you are using system() to execute this program synchronously. You could call fprintf() then fflush() directly after system() to write to a file to check if your program continues to run after the called program exits. If you restart and the file does not contain the marker, then you can be sure that the called application is not exiting cleanly. If you can give us more details on the application you are calling and the state of your syste
m after it exits, we might be able to help you further. Also, does this behavior occur when the program is being debugged, a release executable, or both?

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
Message 2 of 2
(2,797 Views)