SD Card List Fucntion | 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 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
SD Card List Fucntion
January 28, 2017
10:20 am
Avatar
SimonCee
Member
Members
Forum Posts: 10
Member Since:
January 17, 2017
sp_UserOfflineSmall Offline

I'm a LabVIEW developer and this is my first foray into Arduino and LVforArduino.

I'm building a simple access gateway to store and retrieve data files wirelessly from an Arduino target.  There doesn't appear to be a SD card 'File' or 'Directory List' function in the LabVIEW Palette and I need this as part of the application.  

There is a function in SD.h called 'openNextFile' and this is the root of a 'List Files' function.  I'm aware that the LVforArduino libraries are built around SD.h so does that mean that 'openNextFile' is there, but just not revealed as a VI call?  If it is what do I need to do to make that call.

Help and insight would be much appreciated.

TVM

SimonC

January 28, 2017
11:41 am
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

In general terms, the Compiler allows any existing Arduino library to be ported and used in LabVIEW via the creation of a set of user API VIs that wrap around the Arduino library functions. Take a look at the Product User Manual as there is a user guide showing how one can do that. So, if a given library function hasn't been exposed as part of the Compiler itself, one can potentially use this method to create API VIs that do. Hope this helps.

Cheers
Filipe

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
44
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356