Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

reading file over network from RT system

Hai

Am using datasocket communication to send commands to a RT system, one of the commands need the RT application to read a file on the server and process it. Can i just give the path of the file on the network to "read file.vi" and do it?, I just tried using this but i keep getting file not found error.

Thanx for any reply
Arun
0 Kudos
Message 1 of 3
(2,997 Views)
Arun,

LabVIEW RT can not access files on the network. You need to download the file to the RT system and access it locally. The easiest method for downloading the file is to use an FTP client. This can also be automated from a host application. Alternatively you can use TCP/IP from your host application to transfer the file/data to your LV RT application.
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 3
(2,984 Views)
Hello

Thanx for your reply. My host computer will be running a CVI application, which will need to download a file to RT system. Can this be achieved in CVI? I need to programetically download the file, such that when user clicks "download" the file should get placed at a fixed location in the RT PXI.

Thanx for the reply

Arun
0 Kudos
Message 3 of 3
(2,977 Views)