Shipping Examples, SD card shield | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Shipping Examples, SD card shield
August 6, 2015
5:47 pm
Avatar
tronron
Member
Forum Posts: 16
Member Since:
August 5, 2015
sp_UserOfflineSmall Offline

Has anyone got the shipping examples to write and then read data from an SD card?

I found a number of issues. In the host VI you must add a delay after the serial buffer flush, and the subsequent data read, to get it to work at all. ( I added 3 secs, to wait for reboot after the compile). Then it is supposed to read "ACC4LV Rocks!!"  back, but I get "  ocks!!-Examp    *Examp/". (The asterisk represents an ASCII character I cannot reproduce)

The correct number of characters is returned, and the "Examp" is supposed to be the directory and/or filename, so something has been written but it is all messed up. The "Data Header" string does not show up anywhere.

When I put the SD card in a win 7 computer, it appears blank. Perhaps this is to be expected as its probably not a PC compatible file format?

Any help would be appreciated.

 

Tronron

August 7, 2015
1:48 pm
Avatar
filipealtoe
Admin
Forum Posts: 89
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Hello;

We haven't experienced any issues with this shipping example. In fact, we have heard from several other users they were able to use it without any problems. The files that are written to the SD Card should be compatible with a windows PC. Have you tried using a comparable example from the Arduino IDE and check if you get the expected result? I believe that should be your next step in debugging your setup. If the Arduino IDE example doesn't work, you probably have a hardware issue.

Filipe

Cheers Filipe
Forum Timezone: UTC 0

Most Users Ever Online: 33

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

John: 18

RTSLVU: 15

Dan6077: 11

Member Stats:

Guest Posters: 0

Members: 80

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 2

Topics: 58

Posts: 289

Newest Members: Travlissah, viktorIcera, HowardClouG, Dianecet, Produktnaodchudzaniex

Administrators: geadmin: 5, filipealtoe: 35, Steffan: 89