Circularbuffer Getbyte get out wrong data position

Any bugs you encounter with Flowcode should be discussed here.
Steve-Matrix
Matrix Staff
Posts: 1234
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Circularbuffer Getbyte get out wrong data position

Post by Steve-Matrix »

There is no fix for this. Please continue to use the workaround of setting the buffer size to one more than the actual quantity you wish to store. That way it seems to work ok.

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Circularbuffer Getbyte get out wrong data position

Post by lucibel »

hi,
Even with setting the buffer to one more, the second issue is still there who I'm talking today is still there!
Capture d’écran 2022-02-18 170300.jpg
Capture d’écran 2022-02-18 170300.jpg (53.63 KiB) Viewed 2031 times
Did you tried the program sent to you ? :?
Seb

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Circularbuffer Getbyte get out wrong data position

Post by Steve-Matrix »

Sorry - I saw you say "still no news since the end of December" and I assumed you were raising the same issue again. I'm personally not that familiar with the Circular Buffer component, but I will have a look next week and see if I can suggest another workaround.

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Circularbuffer Getbyte get out wrong data position

Post by lucibel »

hi Ben and Steve,
Still no news about this problem ?
Seb

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Circularbuffer Getbyte get out wrong data position

Post by Steve-Matrix »

Ben has told me the following:
There is a property to allow you to keep old data or new data when filling the buffer past it’s limits, has Seb set this property correctly?

The CB is known to work very well the only limit it currently has is you cannot fill it up 100% for a set amount of data you need 1 extra byte.
Unfortunately, I'm not that familiar with this component. Does the above help?

lucibel
Posts: 172
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 29 times
Been thanked: 22 times

Re: Circularbuffer Getbyte get out wrong data position

Post by lucibel »

may be I'm wrong I will check carefully later.
Thx for your help
Seb

Post Reply