11-18-2015 03:47 AM
Iam new to LabVIEW and need help. How can I communicate from one PC to another PC using LabVIEW. i.e how to connect to another PC's IP address using LabVIEW. Thanking You.
Solved! Go to Solution.
11-18-2015 03:56 AM
There are quite a few methods of network communications in LabVIEW.
Here are some of them, in no particular order:
- Network Shared Variables
- Network Streams
- HTTP Client VIs and Web Services
- TCP
- UDP
(There are also pre-written messaging libraries that are based on UDP/TCP)
The decision of which one to go for depends on many factors (e.g. do you need to read the latest value of variables, stream data losslessly, broadcast data or send messages/packets of data etc.). I suggest you have a look at some of the examples in the example finder (Help -> Find Examples...). If you are really new to LabVIEW, I suggest you take some some of the free LabVIEW tutorials - take a look at the links near the bottom of the first post in this thread.
11-23-2015 02:49 AM - edited 11-23-2015 02:50 AM
Iam the same person who put the above question. Actually I want to connect a pc to network attached storage device to copy data from the pc into the network attached storage device, as a means of backing up my data. I am struggling to find out how. I have been going through examples and videos but couldnt find out how. Could you please help me. Thanking vou.
11-23-2015 04:23 AM
If it is a network attached storage device, it will just appear as a drive or network folder location on the PC. You can use the File I/O functions to read/write the files with the appropriate path (either a network drive letter or a UNC network path e.g. \\server\folder). The OS handles all of the networking for you, in this case.