03-16-2020 03:51 PM
Hi all,
I currently have a VI working that will acquire data over time and add this to an array. This is currently running on the RT target on a CompactRio 9035 working in hybrid mode.
What I am looking to do is once the program is complete and the array has been filled with all the data, I want the program to log the full array to a file to be used later. I am happy for this to be on the C drive or using an external U drive. However, I cannot seem to get the file to write to the CompactRio.
Is there any tutorials/white papers that describe the file I/O for a CompactRio?
FYI - the array is a 1D array of dbl data type.
Thanks,
Scot07
03-17-2020 04:52 AM
Your file path is wrong. You have ''\'' instead of ''/''
E.g: c/ni-rt/startup/Test1.csv
Also don't forget your delimiter.
03-17-2020
08:15 PM
- last edited on
01-09-2025
03:43 PM
by
Content Cleaner
03-18-2020 04:15 AM
I've managed to get the program to log to the c drive on the CompactRio but not to an external disk. I suspect that it is not using the default U drive.
hafiz.sallim - the CompactRio 9035 is an NI Linux Real-Time device, not VxWorks.
Thanks anyway
Scot07
03-18-2020 07:27 PM
You are right about that, the cRIO-9035 is based on Linux-RT. Here are some other things that I found:
1. This link on using USB drives on Linux RT
2. I'm not sure if the file system of the USB drives makes a difference, you might have more luck formatting to FAT32
-Hafiz