Bug 493 - PulseView could show info about the currently open .sr file
Summary: PulseView could show info about the currently open .sr file
Alias: None
Product: PulseView
Classification: Unclassified
Component: File handling (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal minor
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2014-11-23 13:28 CET by Uwe Hermann
Modified: 2019-12-29 07:00 CET (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2014-11-23 13:28:13 CET
When loading an *.sr file PV could show some additional information about the file somewhere (a small label or tooltip or whatever):

 - number of channels in this file (though this info is already there when you click the "channel config" icon, so this may not be needed)

 - samplerate of the logic data in this file

 - number of samples in this file (the total amount of time is visible from the scale bar, so that's not needed)

Especially seeing the samplerate that was used for the file can be important for the user, since it can help evaluate whether running a certain PD on that data even has a chance to work.
Comment 1 Gerhard Sittig 2019-12-29 07:00:56 CET
In the meantime the CLI grew such a feature. The combination of -i and --show 
results in the output of this data. It's important to note that the details 
are _not_ taken from a file's header, instead "empty processing" is done as 
the input data passes by. Which makes the feature transparently work for any 
supported input file format.