I Want to Log Data Acquisition Files in my CompactRIO Internal Storage

Updated Apr 5, 2019

Reported In

Hardware

  • cRIO-9073

Software

  • LabVIEW

Operating System

  • NI Linux Real-Time
  • VxWorks

Issue Details

I have a CompactRIO 9073 and I want to log files in its internal memory. However, after I execute my real-time application, I can see using the explorer that the file has not been created. How can I code the path for file logging on my CompactRIO?

Solution

Depending on whether you are using a VxWorks or a Linux RT CompactRIO, the paths for logging your files are different.

For a VxWorks target similar to the cRIO-9073, the path for logging data should be similar to the following example:
c:\ni-rt\my_folder\data_acquisition.tdms

For a Linux Real-Time target similar to the cRIO-9030, the path for logging data should be in the home directory:
/home/lvuser/natinst/LabVIEW Data

You can also use file I/O constants to build a directory that will log your files to the Application Directory or the Default Data Directory.

WAS THIS ARTICLE HELPFUL?

Not Helpful