klonyyy / STMViewer

Real-time STM32 variable & trace viewer
GNU General Public License v3.0
536 stars 59 forks source link

Unlimited data points enhancement #34

Open Eplankton opened 5 months ago

Eplankton commented 5 months ago

For now, STMViewer supports only 20000 points as max, so if a high freq signal comes, it will only show a very small piece of data point stream.

klonyyy commented 5 months ago

I agree that sometimes 20000 points is too little. I can increase the limit, however the GUI performance will degrade the more points are shown on a single plot, since there is no display optimization implemented on the ImPlot side. I'm adding this issue to TODO list - ideally I'd like to do it when the display optimization is implemented.

Eplankton commented 5 months ago

I agree that sometimes 20000 points is too little. I can increase the limit, however the GUI performance will degrade the more points are shown on a single plot, since there is no display optimization implemented on the ImPlot side. I'm adding this issue to TODO list - ideally I'd like to do it when the display optimization is implemented.

Maybe we can just add a feature to continuously output unlimited data point to a .csv file(automatically, don't have to click the save as csv button), without display it, so GPU will not be a problem.

klonyyy commented 4 months ago

Ah ok, so it would be like a logger, without the visual representation? Seems like an interesting idea, let me add it to future/planned features. I'd need some more time to think it through.

Eplankton commented 4 months ago

Ah ok, so it would be like a logger, without the visual representation? Seems like an interesting idea, let me add it to future/planned features. I'd need some more time to think it through.

Yes, as a logger, so I can use other tools like python to process, analyze or visualize these data.