SD test

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
balles
Posts: 2
http://meble-kuchenne.info.pl
Joined: Wed Jul 10, 2024 7:14 pm

Flowcode v10 SD test

Post by balles »

Hello!

Using SD, I had problems reading data from file. I did a test now with the V10 and the problem persists in the same way, since the V8 at least. Please can someone check it? As shown in the attached image, when the read data reaches line 3137, a jump occurs and data from line 3145 is read.
The bigger the firmware or the more macro levels entering when reading from the SD, the sooner the problem will appear. In my real program the error happens on line 1200. Those are tests file only, no real data present.

It's the latest version v10 and v8 too, if anyone gets different results, any advice is welcome.

Cheers!
Attachments
SD.fcfx
(18.64 KiB) Downloaded 186 times
Sd Test.png
Sd Test.png (263.28 KiB) Viewed 3002 times
data.txt
(98.44 KiB) Downloaded 178 times

balles
Posts: 2
Joined: Wed Jul 10, 2024 7:14 pm

Flowcode v10 Re: SD test

Post by balles »

Hi!

It happens exactly the same way using the GetString macro. Using same data file.
It's the automatic readable file index that gets lost in larger files or deeper levels of macros.
It would be nice if we could have access to it to control the starting point of the readings, through a component property.

For large volumes of data that need to be collected and analyzed in this way, a suggestion for MM, a good Fuzzy component for the data library.
It's time for some AI sort of solution to get into FC.

There are already Arduinos or Raspberry boards with a framework to run AI applications offline.

Regards!
Attachments
SDstr.fcfx
(19.2 KiB) Downloaded 155 times

Post Reply