Handling Permission Problems with My SD Card in My sbRIO

Updated May 3, 2018

Reported In

Hardware

  • sbRIO-9627

Issue Details

I've tried programmatically writing to my SD card in my sbRIO and I am getting errors regards to permissions.

Solution

There are a few things to check out when trying to get this problem resolved, as listed below:
  • The drive must be formatted to a compatible file system for the specific real-time operating system. All NI Real-Time devices support FAT32, and this format is recommended for ease of transfer to Windows. NI Linux Real-Timetargets also supports ext2 or ext3 file systems.
  • You must point to the drive that is enumerated when the USB drive or SD Card is connected. By default, the external drive should be named with drive letter U: for the first drive, V: for the second, and so on.
  • You must follow the file structure conventions of the operating system (ie, forward slashes, colons). See the Working with File Paths on Real-Time Targets for more information on working with file paths for the different real-time operating systems. 
  • If you're seeing permission errors after completing the above steps while using an SD card, check to see if the card is set to Read-Only. With most SD cards, the lock direction will be on the front of the card. 

WAS THIS ARTICLE HELPFUL?

Not Helpful