Bug 1826 - Analog channels with amplitudes greater than 1000V are not displayed correctly
Summary: Analog channels with amplitudes greater than 1000V are not displayed correctly
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Data display (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-28 09:33 CET by Tilman Sauerbeck
Modified: 2023-01-28 09:33 CET (History)
0 users



Attachments
Screenshot (25.28 KB, image/png)
2023-01-28 09:33 CET, Tilman Sauerbeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Sauerbeck 2023-01-28 09:33:35 CET
Created attachment 787 [details]
Screenshot

When PV draws analog channels that have samples exceeding the 1000V range, it draws outside of the respective channel's assigned area, drawing *over* the plots of the other channels (see attached screenshot).

To reproduce:
1.) Modify libsigrok by changing the demo device's DEFAULT_ANALOG_AMPLITUDE to 2048.
2.) Create a new recording from the demo device in PV.

In this case, PV's autoranging feature goes for a resolution of 20V/div. Manually switching to 1000V/div improves usability, but doesn't solve the problem fully.

FWIW, I used libsigrok 0db1b189bee3ffe5c6ea39d7ca2e62715856b538 (+ modification mentioned above) and PV 136995b831c50d3261143b1183c73af55c9ba3a5.