05-25-2004 10:38 AM
05-26-2004 03:40 PM
05-27-2004 11:42 AM
05-27-2004
06:45 PM
- last edited on
11-24-2025
06:06 PM
by
Content Cleaner
Here is some code that will transfer files. I tired to write it so that you can put the same code on two different computers running LabVIEW and it will work. There is a VI that I used in the beginning that I took out of an example program for launching the datasocket server. You can remove it if it causes problems. You can find the examples by going to help >> examples >> communication >> datasocket .
There are a bunch of resoures on NI's site. For a general overview, go to the advanced search and look for datasocket in just the tutorals. I did not find anything that discusses datasocket from the beginning, but there is a lot of intermediate to advanced
level stuff.
I want to remind you that datasocket server by default is set to not allow remote computers to write to it. This way you do not have to worry about researchers in Antartica using your computer for their applications. This means that the writer can only write to the localhost aka 127.0.0.1 aka the computer infront of you. Reading on the otherhand is open wide. Anybody can read data items off your server if they know the data item's name.
Look for
Configuring a DataSocket Server for info on changing your computer to allow remote computers to write to the server. It is going to require a lot of trial and error before everything becomes clear.
05-28-2004 02:15 AM
05-28-2004 10:41 AM