PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically send a VI from a host computer to a remote computer.

I want to programmatically send a VI or executable from a host computer to a remote computer over a LAN and then have that VI or executable loaded in to memory on the remote computer so that I can run the VI from the host computer.

I have a PXI system at a remote location and I want to be able to send labview programs to it and then run them from the host. I understand how to run VI's that are already in memory on the PXI system remotely using a call by reference node but how do I upload labview programs from the host and put them into memory on the PXI system?
0 Kudos
Message 1 of 2
(3,064 Views)
Okay, I'll answer the "put them into memory" question first. You can use VI server to load VIs from disk the same way as you load them from memory.

Now for uploading the programs to the host. There are a number of ways to do this. My personal favorite, if you are on a LAN is not to upload them at all, but rather to just store them on a single computer, and then have the other computer open them up over a network share.

Another option when using a network share is to just use the Copy VI in the advanced file palette to copy the files to the host computer over a network share.

Network shares are definitely easy, but if you don't want to use them, there are FTP VIs in the LabVIEW Internet Toolkit. You could use these to either upload the file to a third mac
hine acting as an ftp server and then download them from the host, or you could just install an ftp server on the host and put them on there directly.

There might be other ways as well, but those are the ones that come to mind.

Regards,
Ryan K.
0 Kudos
Message 2 of 2
(3,064 Views)