]> sigrok.org Git - sigrok-cli.git/commitdiff
decode: assign logic channels to PD inputs (by name or by index)
authorGerhard Sittig <redacted>
Fri, 7 Apr 2023 16:48:46 +0000 (18:48 +0200)
committerGerhard Sittig <redacted>
Sun, 9 Apr 2023 22:18:50 +0000 (00:18 +0200)
Add support for the -P <name>:assign_channels=auto_index or =auto_names
keywords. Which assigns sigrok logic channels to decoder input signals,
but requires explicit initiation by users. The default behaviour remains
backwards compatible, exclusively assigns individual channels as mapped
by user specs, assigns nothing by default.

Name matching is implemented as a simple case insensitive comparison.
Neither weaker name checks (optional separators) nor advanced heuristics
are supported as seen in the Pulseview GUI application. Future versions
could implement these once the set of transformation rules has settled.


No differences found