LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read a text file from a remote network computer.

How do I read a text file that is located on a remote network computer without installing any Labview functions on that computer. I need to read an error log file from several remote controller PCs located on the local network running Windows NT. I am not allowed to install any additional software on those computers. The file name is c:\errorlog.txt.
0 Kudos
Message 1 of 4
(4,000 Views)
You can use a UNC path (\\MachineNetworkName\C\errorlog.txt)and the stndard File I-O VIs to specify the machine where you want to read from. Most likely you will have to set up file sharing and create a share for the NT machine with the root drive (C) as the share name.
Greg Sussman
Sr Business Manager A/D/G BU
Message 2 of 4
(4,000 Views)
Thank You!!
0 Kudos
Message 4 of 4
(4,000 Views)
Select one of the file functions from the file I/O palette and enter the path to the remote network computer file in the following format: \\host name\filename e.g. \\rsvn1y03\errorlog.txt

note: datasocket or TCPIP not required.
0 Kudos
Message 3 of 4
(4,000 Views)