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

Plotter Time Axis Incorrect for Non-Default ADC Values #43

Open
sanssecours opened this issue Jul 26, 2023 · 0 comments
Open

Plotter Time Axis Incorrect for Non-Default ADC Values #43

sanssecours opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working user interface

Comments

@sanssecours
Copy link
Member

Description

Currently the time axis for the icoc plotter window shows an incorrect time interval if you change the ADC values.

Note: While the fixed time interval of 10 seconds:

ICOc/mytoolit/old/cli.py

Lines 50 to 52 in a8af82e

# Time period displayed in the graph in seconds,
# i.e. “length” of abscissa (“x-coordinate”)
"DisplayTimeMax": 10,

is even slightly incorrect when you use the default ADC value it should at least reflect the passage of time a little better.

Steps to Reproduce

Start the measurement with non-standard ADC values (e.g. with a oversampling rate of 512):

icoc -o 512 -n Test-STH

Note: Please replace Test-STH with the name of your STH

Expected Results

The plotter window should fill up with sensor data in about 10 seconds

Actual Result

It takes about 20 seconds until the graph is filled with sensor data values

Additional Information

  • Python Version: 3.11.4
  • ICOc Version: 1.7.0
  • OS: Windows 10
  • Hardware: i5-5300U CPU @ 2.30GHz
@sanssecours sanssecours added bug Something isn't working user interface labels Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user interface
Projects
None yet
Development

No branches or pull requests

1 participant