Using File I/O on a myRIO

Updated Jun 20, 2023

Reported In

Hardware

  • myRIO Student Embedded Device

Issue Details

I am using a MyRIO in my LabVIEW project. I am trying to read or write a file on the myRIO but I am unable to do so. How do I interact with files on the myRIO device?

Solution

The myRIO runs from the Linux operating system. This means that the file paths and directories are formatted differently. Make sure you are aiming in the correct directory.
If you are developing on a Windows system, LabVIEW will automatically correct file paths to the Windows format. Use the 'Build Path' function to create a path suitable for the Linux operating system to create the path for the file.