LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LaunchExecutableEx LE_HIDE make visible

Hello,

i have written a program that starts different exe-files with the
LaunchExecutableEx function. The windowState is set to LE_HIDE.
Sometimes i need to make the window of the exe file visible. How can i make
the runnig program visible from within the program that started the exe
using LaunchExecutableEx , after it startet with the parameter LE_HIDE?

Thanks for any help

Norbert


0 Kudos
Message 1 of 4
(3,207 Views)

Hi Norbert,

 

my understanding of your issue is that you want to control the visibility of a stand-alone LabVIEW application with an external programm.

 

Controlling FP visibility within LabVIEW is fairly easy. Use a property node with FP:Transparency and set it to 100 for invisibility an 0 for full visibility.

 

You can communincate from external programs with your LabVIEW stand-alone application by several means. TCP communication is probably easy to establish. You could also use ActiveX.

 

Regards, Topp

0 Kudos
Message 2 of 4
(3,175 Views)
Thanks Topp,

yes, i want to control the visibility of a stand-alone exe (CVI, not Lab
View) from an external program. I can start the exe with the
LaunchExecutableEx function so that the stand-alone exe is not visible on
startup. But i don't see how its possible to make the stand-alone visible
from within the starter program without any communication between the two
applications....
So i used shared memory to communicate between the two applications because
i don't see that i can show and hide a stand-alone exe from another
application without any communication 😞

Norbert



"Topp" <x@no.email> schrieb im Newsbeitrag
news:1268919626337-1093749@exchange.ni.com...
> Hi Norbert, my understanding of your issue is that you want to control the
> visibility of a stand-alone LabVIEW application with an external programm.
> Controlling FP visibility within LabVIEW is fairly easy. Use a property
> node with FP:Transparency and set it to 100 for invisibility an 0 for full
> visibility. You can communincate from external programs with your LabVIEW
> stand-alone application by several means. TCP communication is probably
> easy to establish. You could also use ActiveX. Regards, Topp


0 Kudos
Message 3 of 4
(3,163 Views)

Hi Norbert,

 

please take a look at the following documents: 

 

Launch CVI-created program minimized from within other CVI program: 

http://forums.ni.com/ni/board/message?board.id=180&message.id=43247&requireLogin=False 

 

How Can I Launch and Control Another Application in LabWindows/CVI? 

http://digital.ni.com/public.nsf/allkb/78B69EED4C66FBAD8625750700408B17?OpenDocument

 

BTW: Functions for controlling the window-behaviour will you find in the Win32-API.

http://msdn.microsoft.com/en-us/library/ms997562.aspx 

 

I hope this will help you out.  

 

With best reagards, 

 

Ralf N. 

0 Kudos
Message 4 of 4
(3,150 Views)