nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
162 stars 25 forks source link

Variable Buffer Size #19

Open timoxd7 opened 1 year ago

timoxd7 commented 1 year ago

Hi, great project!

I sometimes have many datapoints, exceeding the internal Buffer. Would it be possible to add a configurable sized buffer?

Also, a Checkmark with "endless" would be nice so that the software will just keep going as long as you want. Could be done with chunks of allocated heap, when exceeding just add a new chunk.

nathandunk commented 1 year ago

Hi @timoxd7, it would definitely be possible to change the buffer size to be configurable. As I am adding more features, I am trying to think of the best way to do this. Because it is related to the serial data coming in, I would likely add it on the top line next to other serial information. I am thinking a button to press which pops open a text box to fill, with a checkmark next to it that says endless. Does that sound like what you are looking for?

timoxd7 commented 1 year ago

@nathandunk that would be perfect.

Another idea with this implemented would be to read serial from file. I have a device not connected to a PC directly but with console to file. Combinet with an endless buffer would make it possible to parse the file with your great tool and use the plot navigations to view all captured data.