LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Luminary Micro SD Card Drive Letter?

Has anyone had any success using the "List Folder" file I/O vi with the LM3S8962 eval board?  I've tried using a C:\, M:\, U:\ and a blank file path, but all of them result in error 1.  I also can't reference files located in folders on the SD card for this same reason.  Is this functionality supported? FYI, I'm running LV 2010.

 

Thanks!

0 Kudos
Message 1 of 6
(6,679 Views)

Hello,

 

C:\, M:\ and blank should all work.  There are some issues with certain types of SD cards.  Could you check to see if you have one of these types of SD cards?

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 6
(6,666 Views)

I'm using a standard Lexar 2GB MicroSD card (not HC or XC).  I can open file references using C:\ or M:\, but I can't find a way to get a directory list using this same convention.  Here is a pic of the test code and the resulting output.  I've also attached the VI.

 

File Ref Test Output.bmp.jpg

0 Kudos
Message 3 of 6
(6,662 Views)

Hello,

 

I did a little more digging and found a known issue with the List Folder.vi when the you specify a base of "C:\" (or anything like it..."c:","m:\","m:","\", etc.).  In order to use the List Folder VI, you need to specify a folder (example, "C:\temp\").  The developer mentions that this base folder ("C:\temp\") would be able to hold 1 GByte of data, and a subfolder ("C:\temp\test1\") would be able to hold 8GBytes of data.  Please give this a try and let me know the results.

 

I hope this helps,

 

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 4 of 6
(6,650 Views)

This works, but there seem to be some limitations on what you can name folders/subfolders.  For instance C:\temp\test and C:\Temp\test work but C:\Temp\Test doesn't.  Is it that mixed case names aren't allowed for subfolders, or am I missing some bigger constraint.

 

Thanks for helping me get this far.

 

-P

0 Kudos
Message 5 of 6
(6,644 Views)

Hi again,

 

I'm not sure actually.  I'll have to look into this.

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 6 of 6
(6,635 Views)