LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Launch application on remote PC by CVI

Solved!
Go to solution

How to launch application on remote PC?

0 Kudos
Message 1 of 3
(3,227 Views)

Hi,

 

Unfortunately, CVI doesn't have any built-in features that allow for remote executable launch from one PC to another. Therefore, your best options will be looking into whether or not Windows can do this. After doing a quick Google search, it seems that one way is to create a "Program Launch" Windows Service that runs in the background on the slave machine. It will accept TCP connections and expects a string that contains the executable name and arguments.

Here is a link you may be interested in: http://www.codeproject.com/KB/system/remoteexec.aspx

One advantage of this solution is that it will be very flexible in that it is not limited to CVI programs. At the end of the day, CVI is not running a server in the background for this explicit purpose.  However, CVI does support remote debugging, which you could possibly use to do something similar to what you are attempting to do.  An article on how to use the remote debugger can be found here:

 

http://zone.ni.com/devzone/cda/tut/p/id/3384

 

I hope this helps clarify things!

Shelby S
National Instruments
Applications Engineer
Message 2 of 3
(3,203 Views)
Solution
Accepted by topic author dtadenev

I’ve solved the problem using telnet.

Thank you very much,

dtadenev

0 Kudos
Message 3 of 3
(3,198 Views)