Bug 1211 - Samplerate vs. external clock UI improvements
Summary: Samplerate vs. external clock UI improvements
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: UI (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: PulseView 0.6.0
Assignee: Nobody
URL:
Keywords:
Depends on: 1218
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-29 22:13 CEST by Uwe Hermann
Modified: 2023-07-06 05:39 CEST (History)
3 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2018-05-29 22:13:56 CEST
Currently PV has a samplerate dropdown. If a device supports sampling based on an external clock (e.g. an LA with SR_CONF_EXTERNAL_CLOCK) that'll yield a checkbox in the device settings dialog (whether or not to use ext. clock).

However, the samplerate dropdown (which is not used in the ext. clock case, since the sampling doesn't happen based on an internal samplerate of the device, but rather whenever certain edges are seen on the ext. clock pin) is irrelevant in that case.

A UI improvement for this could be to integrate the "external clock" checkbox (in checkbox form or otherwise) into the samplerate UI elements (or near there), i.e. handle SR_CONF_EXTERNAL_CLOCK as a special case similar to SAMPLERATE and other "special" keys).

If ext.clock is active, samplerate dropdown could be hidden or grayed out.

This is just one specific example, there might be other keys or device properties which could benefit from UI improvements via special-casing their logic (to better match what the real-life device properties are and how they behave).
Comment 1 Soeren Apel 2018-06-05 19:46:56 CEST
All device configuration-related UI elements will in the future be relocated to one central "device config" dialog. This includes the sample rate and sample length settings.

The rationale for this is that there will be user-definable device config presets (of which one can be marked as being the default for new sessions using that device), making constant adjustment of those values unnecessary.

Hence, it is not advisable to invest time and effort into changing the current UI.
Comment 2 Gerhard Sittig 2018-06-05 19:56:19 CEST
I'd question the validity of the request in the first place.  Just because 
acquisition is done clocked by some external signal doesn't mean that there 
is no clock or that its rate is unknown.

I suggest to add "rate 0" as another option for devices which support external 
mode.  That allows to acquire data with or without a rate, and thus results 
in either sample counts or times for the user to navigate.  Whatever fits the 
specific setup, and is most suitable for the user.
Comment 4 Rock12 2023-07-06 05:39:28 CEST
Whether you're streaming on your TV, laptop, or mobile devices, our platform adapts to your screen size, guaranteeing an immersive experience no matter where you are. https://perfecttv4you.com/best-24-inch-tv/