MVP 2023 Flex727 Posted May 5, 2022 MVP 2023 Report Share Posted May 5, 2022 While reviewing the VisiLogic Help file in order to gain an understanding of the SD File Info FB, it looks to me like there is either some copy/paste error or just a mistake. The problem is the description for the Status Messages and the Success Bit. The Status Messages in the Help file don't match what I'm actually getting when online, and the Success Bit refers to "data is successfully written to the Block", which makes no sense with this function. Perhaps the problem is with the FB itself. The purpose of this FB is to determine if a file exists. It works fine if the file exists, but if the file does not exist, then instead of resetting the Exist Bit and clearing out the other parameters, it just goes into error with a status of 4 (dec). A status of 4 is Bit 3 - No SD card found, or the card is locked. Neither of these conditions are true. After checking for the file, the Success Bit remains off unless the file exists. This also makes no sense. @Cara Bereck Levy, could you take a moment to look at this? FYI (though I don't think it matters) I'm using version 9.8.80. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted May 6, 2022 MVP 2023 Report Share Posted May 6, 2022 I haven't played with this to check, and can't at present, but did you do the 8.3 format exactly? Anything SD spits the dummy if this is not adhered to, with often strange results. Not doing this often catches me out. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted May 7, 2022 Author MVP 2023 Report Share Posted May 7, 2022 1 hour ago, Ausman said: I haven't played with this to check, and can't at present, but did you do the 8.3 format exactly? Great question. My file name is actually 7.3. I'll add a character and see if it makes a difference. Link to comment Share on other sites More sharing options...
Cara Bereck Levy Posted May 8, 2022 Report Share Posted May 8, 2022 @Flex727 --please try the 8.3 convention and let me know what happens 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now