LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket to read file

hi,

does anyone know how to read a text file using datasocket? The text file is located in PC # 1 and I am running datasocket in PC #2. PC # 1 does not have LabView installed. I would like to read the text file (that is updated at every run of the experiment) using datasocket to PC #2. Thanks in Advance.
0 Kudos
Message 1 of 4
(3,062 Views)
Hi kmoorthy,

No, no-one knows how to use datasokets to read text files. I do not believe datasockets can do that without some code to help.

Have you concidered mapping the drive of PC#1 to PC#2 and just opening the file directly?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(3,062 Views)
Hi kmoorthy,

I think that is impossible for reading a text file by using datasocket. If you want to transfer file. FTP is a good choice.

Bill.
0 Kudos
Message 3 of 4
(3,062 Views)
Actually, it is possible to use Datasockets to read a text file. See the following webpage:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0caee043d3e294a4862567240063bb3f?OpenDocument
http://www.medicollector.com
0 Kudos
Message 4 of 4
(3,062 Views)