Bug 1568 - analog values don't match configured pattern (random instead of sawtooth)
Summary: analog values don't match configured pattern (random instead of sawtooth)
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: demo (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-06 20:45 CEST by Gerhard Sittig
Modified: 2020-07-06 21:03 CEST (History)
1 user (show)



Attachments
unexpected trace values, and probes dialog (92.60 KB, image/png)
2020-07-06 20:45 CEST, Gerhard Sittig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2020-07-06 20:45:55 CEST
Created attachment 642 [details]
unexpected trace values, and probes dialog

How to reproduce: Open pulseview, use the demo device, (lower the sample count 
to 10k), open the probes dialog (red pin), switch all analog channels' pattern 
to the next option after their defaults, run. Channel A2 shows data that does 
not match the configured pattern. The data even starts going wrong after it 
was correct for an initial period of time? The issue is assumed to be in the 
demo device driver (unverified).
Comment 1 Soeren Apel 2020-07-06 21:03:23 CEST
Could reproduce with last PV release version, could not reproduce with master as of today.

With that, I'd guess that either there's some uninitialized variable somewhere or a variable is being overwritten by a broken memory access.