03-08-2011 02:22 PM
It's possible to run an executable in another computer connected to the network using activeX, .NET tools, or the System.exec vi? Note: The executable file is residing in the client computer.
Thanks in advance!
03-09-2011 09:12 AM
Hi every one,
I'm developing a vi using activeX that is supposed to run an executable file remotely. But can any body help me to figure out what I must place in the input arguments for property node and invoke node are needed to accomplish my goal.
Any help?
03-09-2011 09:38 AM
This questions comes up a lot. See here:
http://forums.ni.com/t5/LabVIEW/Run-a-LV-app-on-remote-computer/m-p/1388290
03-09-2011 10:11 AM
I already found this discussion but I want a pure labview solution. Can any body make my vi work ? If I can't found a solution I'll have to use vi server.
Thanks!
03-09-2011 03:45 PM
Hi!
You can also try using a web page to remotely control your executable, explained in this document:
How Can I Use Remote Front Panels With LabVIEW Executables?: http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
While I have not used it, the PsExec mentioned in the forum that was posted previous to yours seems like it would be another good tool for how to remotely run executables.
As far as having a pure LabVIEW solution, you are not able to run executables remotely within LabVIEW. This is due to security reasons since, as I am sure you know, executables can be anything, including viruses.
You can easily control VI's remotely, but executables are a different battle. One great tutorial that shows how this can be achieved is found here:
Developing Remote Front Panel LabVIEW Applications: http://zone.ni.com/devzone/cda/tut/p/id/3277
I hope this helps!
Kim W.