10-26-2010 05:07 PM
I build an executable appliction of a LabVIEW VI, tried to call it from TestStand, and I setup the Initial Window State as "Show minimized, Activated", but when I run the sequence, the application still pops up. I tried with other windows application, they are fine. Anyone know what the problem is? Cheers.
10-27-2010 05:08 PM
Hi - what versions of TestStand and LabVIEW are you using? Also, what operating system are you working with?
Thanks,
John M
10-27-2010 09:23 PM
LabVIEW 8.5
TestStand 4.0
OS: Windows XP SP3
10-28-2010 03:54 PM
I got the same behavior when I wrote an LV executable and called it from TS 4.0. None of the settings for Initial Window State seemed to change anything... I finally had to modify the properties of the actual VI being called by TestStand.
Add a property node to your main VI.
VI: FP.State ( set this to Minimized ) as the first operation in the VI. Rebuild into executable.
The call from TestStand to the executable will popup the window for a split second and then minimize it. That is the best I can do right now!
Thanks,
PH
10-28-2010 04:34 PM
Hi - I just tried this as well, and with the default settings, I agree that the Window State selection in TestStand is not affecting the LabVIEW executable. I will look into this a bit further, but in the meantime Teds suggestion is certainly a good workaround.
John M
10-28-2010 04:41 PM
Yes, this is how I solved the problem for now, I have to add the window state in LabVIEW level instead of TestStand level. Thanks.