Summary: | auto-scale of analog trace may not reliably determine values' range | ||
---|---|---|---|
Product: | PulseView | Reporter: | Gerhard Sittig <Gerhard.Sittig> |
Component: | Data display | Assignee: | Nobody <nobody> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | uwe |
Priority: | Normal | ||
Version: | unreleased development snapshot | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
analog channels, V/div auto scale out of range
srzip file generated from CSV input file csv file which triggers the issue but results differ |
Created attachment 553 [details]
srzip file generated from CSV input file
Also happens with the attached .sr file which results from importing the .csv
file. Same ranges, same voltages at the same offsets, but different scaling
results (this time channel 1 also exceeds its trace height).
Created attachment 555 [details]
csv file which triggers the issue but results differ
Am attaching the CSV file as well since identical data provided in different
file formats appears to always trigger the issue but resulting scales differ.
Fixed in 0822e33a2eb713815ae2cd5d6fcca0865643bb00, thanks! |
Created attachment 552 [details] analog channels, V/div auto scale out of range How to reproduce: Got an input file with four analog channels which repeat a ramp signal that spans 100 samples. The channels have a phase difference of a quarter period each. Voltage ranges from 0V to 100V (Python code was used to generate the data, used integers and printed them with .3f, so the usual FP inaccuracy may apply). When the file gets imported, then the application automatically picks a scale of 100V/div for the first channel, but won't detect the range of the other channels, which makes them exceed their trace height. Manual adjustment of the scaling works of course.