Page 2 of 2

Re: Circularbuffer Getbyte get out wrong data position

Posted: Fri Feb 18, 2022 3:36 pm
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.

Re: Circularbuffer Getbyte get out wrong data position

Posted: Fri Feb 18, 2022 4:08 pm
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 2076 times
Did you tried the program sent to you ? :?

Re: Circularbuffer Getbyte get out wrong data position

Posted: Fri Feb 18, 2022 4:43 pm
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.

Re: Circularbuffer Getbyte get out wrong data position

Posted: Thu Feb 24, 2022 3:24 pm
by lucibel
hi Ben and Steve,
Still no news about this problem ?

Re: Circularbuffer Getbyte get out wrong data position

Posted: Thu Feb 24, 2022 3:32 pm
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?

Re: Circularbuffer Getbyte get out wrong data position

Posted: Thu Feb 24, 2022 4:36 pm
by lucibel
may be I'm wrong I will check carefully later.
Thx for your help