Bug 1187 - srzip (v2) does not store channel groups
Summary: srzip (v2) does not store channel groups
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Output: srzip (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 20:11 CEST by Gerhard Sittig
Modified: 2018-05-03 07:12 CEST (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2018-05-02 20:11:24 CEST
Input modules and acquisition devices can group channels.  The GUI visualizes 
the groups, the CLI application allows option specs that refer to groups.  

The srzip file format does not store the group information, so that this 
information is lost across save and load operations.
Comment 1 Soeren Apel 2018-05-02 21:31:39 CEST
To be honest, I think we should rather focus on the new file format instead of keeping srzip around for even longer.
Comment 2 Gerhard Sittig 2018-05-03 07:07:57 CEST
Although I reported against srzip v2 (that's what mainline has), I can agree 
to not change v2 assuming that v3 becomes available and supports the feature.

Did a search for "group" in https://sigrok.org/wiki/File_format:Sigrok/v3 
and there seems to be no support for channel groups either in the current 
outline.  Unless I missed it since another phrase is used.
Comment 3 Gerhard Sittig 2018-05-03 07:12:13 CEST
Had another look.  Missed it the first time. :)  There are "CG" related 
packet types, though their description is empty at the moment.