LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

closing a windows app from labview

I need to run a windows application from labview and display an image. Starting
the program is easy with EXEC, but how do I close it? I have seen suggestions
of using kill.exe, but that is only for NT.
0 Kudos
Message 1 of 2
(2,237 Views)
You can use the window utilities for labview to close a window (thereby closing the application that you are running). Basically its WINAPI call that first gets the handle to the window based on the title of the window and the next call closes that window. You can download that utility at

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&74DDE683A1AFF6988625683A000C0D73&cat=034E59A8530E09DF862568900018707A

Abdullah
0 Kudos
Message 2 of 2
(2,237 Views)