ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

External program minimized

Solved!
Go to solution

Hello everyone (sorry for my english)..

I have this problem:

 

I need to catch when a windows of external program is minimized. Can LabVIEW knows this? I need to launch an external program (I did it) and then waiting for its minimized to continue.

 

Thanks in advance

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

Hi roby,

 

it's not a problem of "can LabVIEW do this", but of the Windows API you need to access! (I guess you use a Windows computer…)

 

You need to gather information about the program window and its state using the Windows API. There used to be a Windows API function collection on NI website, try to find it. Start here

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,956 Views)
Solution
Accepted by topic author robyf1

Great GerdW!!!!

Smiley Happy

 

Thanks

0 Kudos
Message 3 of 3
(3,943 Views)