Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix infinite streaming buffer regression #953

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

kutukvpavel
Copy link
Contributor

I noticed that sometime ago #174 got removed. Therefore there's no way to switch off streaming buffer limit, which is not suitable for some cases. Let's say data acquisition rate is 1Hz, then 999 seconds is less than half an hour (basically nothing in terms of long measurements). Was this removal a conscious decision or an accident? This PR reintroduces #174.

I managed to use a combination of CSV import and real-time streaming to plot long live data series, however such a configuration revealed one more issue. Namely, when "quick reload" button is pressed, X axis limits are set according to streaming buffer length, and CSV data length is ignored.

This PR also makes quick reload autoscaling respect static data length.

@MichelJansson
Copy link
Contributor

Nice, +1 to get this merged!

@facontidavide facontidavide merged commit eedbd9c into facontidavide:main Apr 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants