LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activating a vi on a remote computer (and transferring the data back) via a TCP/IP connection

Hi all,
I need some help in creating a vi that can be activated remotely using a TCP/IP connection. Can this be done. If it can, I have a vi (that would be on the remote computer) that manipulates the data as required and saves the data file. While the connection is open, I need to retrieve the data file from the remote computer. Can anybody help, I am running labview 6.
Thanks
Ridge
0 Kudos
Message 1 of 5
(3,078 Views)
Ridge,

This is what the "i" in LabVIEW 6i stands for. Internet applications (collection of data through IP) was a basis for the release of 6i. This is not only a capability, but is built in as easy to do.

Unfortunately, I have little experience in this arena. I have built TCP/IP client server relationships, but never remotely controlled a VI over IP, so I can't advise you.

I would suggest the following:

Look up remote VIs on NI's website, specifically in Application Notes, and examples/downloads.

Check the examples that ship with LabVIEW.

Look for other documentation within LabVIEW (search through help).

Contact your local sales rep for some assistance.


I do remember seeing some kind of demo about this a long time ago, and remember
it being extremely easy. However; I never had use for it, so I never did anything with it.

You should have the ability to get started very quickly.

Good luck, and let us know how you do.
0 Kudos
Message 2 of 5
(3,078 Views)
You may want to take a look at this Knowledge Base. It talks about using VI Server to control VIs remotely. This was one of the main features added to LabVIEW 6i. Also, check out the "Dynamic Load" vi example that comes with LabVIEW. This may help to get you started also.
J.R. Allen
0 Kudos
Message 3 of 5
(3,078 Views)
Hi,
Thanks for the guidance. The knowledge base example only gives reference to lv 5.0, but i think that the vi i have created will do what it is supposed to do, but i will only get to test it tomorrow-- hopefully. The dynamic load example went straight over my head as i have only been introduced to labview recently. Do you know if the version of labview on both computers has to be the same. If the vi does work and it activates the remote vi, how then can i get this file onto the local computer. I looked at the copy function but am unsure. Any suggestions.
Thanks
0 Kudos
Message 4 of 5
(3,078 Views)
Hello Ridge,

Have you managed to get your application runing?
I would be interested because I would like to do exactly the same thing (remotely run a VI via a TCP/IP link and be able to retrieve data from the remote machine onto the local one).
Thanks!
Fran
0 Kudos
Message 5 of 5
(3,077 Views)