LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Non-LabVIEW Application Execution on the Remote Machine

Based on my research this question gets asked every once in a while.  But unfortunately, none of the responses are applicable, so I figured I'd ask it again.

 

I need to run an executable remotely on the remote machine.  The application is not LabVIEW and there is no LabVIEW related items on the remote machine.  I can access the machine and use system exec to run the executable remotely, but this causes the application to run on my local machine and not the remote.

 

I've seen some suggestions regarding getting other programs and what not and this is not an option.  And from what I can tell ActiveX requires the target have LV RTE or something.

 

Is there not a simple CMD command that allows me to call an executable remotely?  All in the same line?

0 Kudos
Message 1 of 7
(1,620 Views)

@DailyDose 

 

Is there not a simple CMD command that allows me to call an executable remotely?  All in the same line?


I sure hope not!

Think that through 1 more time.  Then go ahead and reconnect the network cable you ripped out in a blind panic when you realized what you asked to be able to do.  If you DO find a way to just hijack some other machine.  Please don't do it.


"Should be" isn't "Is" -Jay
Message 2 of 7
(1,581 Views)

Install SSH on your LabVIEW machine, install and set up a SSH server on the remote machine. Open the channel, send the ssh command to the remote.

 

I did this 5 or 6 years ago on a Windows 7 setup. At that time I need a bit more functionality so I installed Cygwin on the remote to have a bash-like shell to work with. With Windows 10- pro you might get the same with the Linux subsystem.

 

Dirk

0 Kudos
Message 3 of 7
(1,556 Views)

@JÞB wrote:

 

Think that through 1 more time.  Then go ahead and reconnect the network cable you ripped out in a blind panic when you realized what you asked to be able to do.


 

Okay, I thought it through... and my question remains.  If Windows has given you the option to open up or close your machine to share files, videos, pictures, music, anything sensitive... then Windows would give you the option to open up your machine to allow remote application execution. And I'm not even talking about one guy in California to Florida remote.  I mean direct LAN connection.  I imagine a username and password would be required.

0 Kudos
Message 4 of 7
(1,530 Views)

I keep seeing this PSEXEC.  I guess that's the route to go.

0 Kudos
Message 6 of 7
(1,513 Views)

I don't know if that is the way to go for sure.  I do know remotely starting software on other PC's is not a LabVIEW question, but at a much higher level of networking and administrator controls for a PC.  I know it can be done because IT will force the execution of programs on my PC from time to time.  They have one or more tools at their disposal to do that.  One I know they use is LANDesk.  I don't know what else they might use.

0 Kudos
Message 7 of 7
(1,500 Views)