Bug 951 - feature request, support options to input formats
Summary: feature request, support options to input formats
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Command-line options (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
: 917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-26 10:34 CEST by Gerhard Sittig
Modified: 2017-06-27 13:28 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 2017-05-26 10:34:28 CEST
Pulseview supports the -I command line option, to specify a different input 
format than the native sigrok archives.  It would be nice if the -I option 
could accept colon separated options for the input module like sigrok-cli does.

Example uses:

  $ pulseview -I vcd:downsample=10 -i file.vcd
  $ pusleview -I raw_analog:numchannels=2:format=U8 -i file.bin

A complication is that the string representation passed to -I needs to get 
split into an aggregate of several parameters of variable types.  Which is 
dependent on the specific input module.  I don't know whether a generic 
string to variant-bundle conversion routine is available in libsigrok and 
whether Pulseview can access it.
Comment 1 Uwe Hermann 2017-06-08 12:34:15 CEST
*** Bug 917 has been marked as a duplicate of this bug. ***
Comment 2 Uwe Hermann 2017-06-27 13:28:05 CEST
Fixed in 724f29f311db4f8b47169e58f3f3b50e6a50ed08, thanks!