10-06-2010 12:46 PM
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
Solved! Go to Solution.
10-06-2010 04:32 PM
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!
10-07-2010 02:49 AM
Many thanks,
Regards,
David