Skip to content

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

@sanssecours

Description

@sanssecours

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions