LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching LabVIEW remotely

Trying to run a VI on a remote machine using VI server.

 

It all works as long as LabVIEW is already running on the remote machine.

Open Application Reference returns an error if LabVIEW is not already running.

 

When we deploy, the remote machine will only have a run time engine along with the needed VIs. This is used in a manufacturing process where the remote machine will be powered down for each UUT.

 

Will this work with only the LabVIEW run time engine?

How can we get the run time engine to launch the VI when we call it remotely if LabVIEW is not already running?

Do I need some dummy VI running at start-up?

 

Thanks

Jim D.

0 Kudos
Message 1 of 2
(2,311 Views)
Hi there,

I've done this in the past (think it was with LV 6.x), but I don't have examples at hand..

What you should do is to make sure you have at least some stub exe that has the ActiveX server in the build and make sure the exe is registered with Windows. You could than remotely launch the exe by opening a ActiveX reference to the build App. Effectively this gets you the LV runtime in memory and the VIServer at your disposal.

Ofcourse the easier way would indeed be to always start your application at system starup.

Regards, Jeffrey
0 Kudos
Message 2 of 2
(2,304 Views)