06-29-2015 12:18 PM
Hello All,
Here is the situation:
I have one main executable VI that calls on several other VIs which are all in exe form. Sometimes when these other .exe's are called upon, they open minimized like they are supposed to, but they do not start the desired process because they become non responsive.
I am basically wondering if there is a way to check if a window is responding or not. I am using LabVIEW 2010 on a computer with Windows 7. All subVIs called by this VI have this problem but to different degrees.
I was thinking I might be able to do this through an application reference and somehow search the window title for "(not responding)" but I have not found a way to implement this.
Thank you,
-M
Solved! Go to Solution.
06-29-2015 12:55 PM
I sometimes use a 3rd-party library called AutoIT to do things like moving windows around and checking names of window titles. The linked download installs an ActiveX control that you can use to do this.
See here for a list of functions that the control supports. Look at the end (all the functions starting with "Win").
06-29-2015 01:23 PM
Thanks for that Kyle.
I think I am going to go ahead and use some kind of feedback from sub .exe's when they start in case there is something funky about (not responding) maybe not being an official part of the title. I think I might go with some TCP communications to work between the various VI's.
-M