Jump to content
Sign in to follow this  
DaveF

How does SD File Read Open handle no file?

Recommended Posts

I want to create a test that will determine if a file with a specific name exists. Will the SD File Read Open return a file size of 0 when attempting to open a file that doesn't exist?

 

Thanks!

Share this post


Link to post
Share on other sites

Not sure without trying a mockup, which I can't do at present.  I know SD File info will let you do what you want.

Also allow that anything SD is a bit slower than you might expect.  Don't rely on something to change in a single scan. 

cheers, Aus

Share this post


Link to post
Share on other sites

IKPUTBCE.png.9effc654c8673d387d39a04a1ee3065e.png

 

Not sure if this matters to anyone else but Support recently responded to my inquiry. In this case SI67 is updated. I am able to make an event trigger on that.

 

Thanks!

Share this post


Link to post
Share on other sites

That's good.

Just so you know, this table is lifted from the Help file under SD Cards.  There is a wealth of information there, but nothing beats physically trialling something.

cheers, Aus

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...