From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access to text file by host and CompactRIO at the same time

Hello,

 

While I was developing my program, all my VI's were under "My Computer" root in Projecte Explorer. I could access to .txt files using Application Directory constant and all works fine.

 

Now, I want to create the Real-Time Application and EXE application putting the corresponding VI's under CompactRIO root in Project Explorer, but I don't know where I can put the .txt files and how to access it because CompactRIO reads the .txt files and host writes at the same .txt files.

 

Which is the best place to put the .txt files: in host or in CompactRIO? And how can I access to .txt files from host if I put .txt files in CompactRIO or vice versa (Application Directory constant doesn't work now)?

 

Thank you!!!

0 Kudos
Message 1 of 2
(1,955 Views)

You could store the text file on the RIO and retrieve them on your host PC using FTP.

 

It's not going to be as simple as you want though. 

 

What are you trying ot do?

0 Kudos
Message 2 of 2
(1,933 Views)