I'm working with a cRIO-9047 (Linux RT) with an SD Card for saving data files. It seems I have to go through the following steps to be able to save to the SD Card:
- ssh into cRIO
- "lsblk" to list available drives
- the SD Card shows up as "mmcblk0p1" for me
- "mount" to list where SD card is mounted
- if mounted, the SD card shows up as "/dev/mmcblk0p1 on /media/sd"
- if the SD Card is mounted, "umount /media/sd" to unmount
- "mkfs.ext4 /media/sd" to format the SD Card
- "mount /dev/mmcblk0p1 /media/sd" to mount SD Card
- "chmod 777 /media/sd" to update access premissions
I tried this with both a 32GB and 256GB SD Card. (for some reason I was unable to save data files using FAT32 for the 32GB card)
This article indicates that FAT32 should work for the 32GB card: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7iaSAC&l=en-US
This article indicates that 32GB is capacity limit for SD Cards when working with cRIO: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001E9b7CAC&l=en-US
Are there any risks using the 256GB SD Card with the ext4 file system format? (this seems to be working so far)
Any thoughts on why FAT32 format didn't work (no write access) for the 32GB SD Card?
Software versions:
- LabVIEW 2023 Q3
- NI-RIO 2023 Q4