LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handle a Popup form another Application with Labview?

I don't now how to handle a popup, who is generated form an other programm.

Exactly: I start a Downloadprogram by running a .bat-File who calls the expected Program.

After the start of this Downloadprogramm a Message-Popups form this programm appears and I've to reset a CPU on my Testboard by a DAQ.

So I've to handle this Message-popup, but I don't now exactly how to do?

 

Has someone a good Idea?

 

0 Kudos
Message 1 of 3
(2,659 Views)

You can use the "FindWindowA" Function in the User32 DLL which returns 0 if there is no Window with the specified name. So you just need to poll for the name and if its there you get an ID which is not 0.

 

 

Hope this helps

0 Kudos
Message 2 of 3
(2,642 Views)
See attached example
0 Kudos
Message 3 of 3
(2,640 Views)