LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to remotely start an exectutable/application on Real-Time target?

Solved!
Go to solution

Hi All,

 

Apologies if this is an obvious question - I could not get an applicable answer using any search terms I could think of - and I am quite new to Real-Time programming.

 

Is it possible to launch a headless real-time .exe (or uncompiled application saved on the RT machine) using an input from a remote VI - an .exe running on a Windows based laptop for example. I am currently building an application where my Windows based GUI communicates with the RT machine using shared variables. However I would soon like to hand my code over to a colleague who is going to test the application.I seem to recall that a .exe can be saved in a specific folder on the RT machine such that it will launch on start-up. However I would prefer to store multiple .exe's on the machine and allow my colleague to choose which one to launch.

 

My first thought is to write a wrapper .exe (which will autolaunch) which can then launch any other .exe saved on the machine using the wrapper. However I would much prefer to launch the .exes directly and one at a time if possible - it seems a more elegant solution.

 

Kind regards and thanks,

Dave

 

0 Kudos
Message 1 of 3
(2,781 Views)
Solution
Accepted by topic author DeltaJ

Well there is certainly a way to do it but NI does not expose that method.  You can however programmatically reboot a RT target and also you can use the FTP vi's to rename the 'startup.rtexe' file that will autorun on reboot.  Good Luck!

Message 2 of 3
(2,769 Views)

Many thanks,

Regards,

David

 

 

 

0 Kudos
Message 3 of 3
(2,757 Views)