Bug 1592 - unreliable operation for mixed signals, multiple analog channels, large sample data packets
Summary: unreliable operation for mixed signals, multiple analog channels, large sampl...
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Output: csv (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2020-08-22 19:27 CEST by Gerhard Sittig
Modified: 2020-08-22 19:27 CEST (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2020-08-22 19:27:09 CEST
The current implementation of the CSV output module makes assumptions which 
aren't met in reality. The CSV output is known to generate incorrect results 
for mixed signal input data, and when sample data for multiple analog channels 
is received in an unexpected order, or in chunks which differ from each other 
or from the logic data part. See bug 1026 comment 1 for an older statement.

Current mainline does not reject the operation on such input, but instead 
emits warnings for some of the known problematic conditions. Because some 
lucky combinations may happen to work. The current state appears to be 
GoodEnough(TM) for most existing use cases.

Properly addressing the current limitations of the CSV output module's 
implementation would be desirable. But history suggests that the feature 
either is not used very often for currently unsupported input data, or 
is not considered important enough to spend the work and adjust the 
existing code.