02-25-2015 11:00 PM
03-09-2016 03:33 PM
I've found the same problem using the SD card and a USB.... I wanted to know if the unit was connected.
First I used the Get Volume info (that works fine in other older cRIOs). Then I tried to read the content, but it was no empty... Also the size was a fake...
A way that I've found to know if the unit is connected is try to do a "dummie write". I try to create (and delete) a folder. In this case, the function returns an error if the unit is not connected. I'm using the paths "/media/mmcblk0p1/" for SD and "/media/sda1/" for USB (as U and V can be mapped swapped).
I hope that helps you.
Jaume