Hi all, I’m currently using the Saleae Measurements V2 extentions and by default only Frequency, Peak to peak and Period is selected.
How can I change the measurements selected (eg. Max, Min, Mean) by default ?
Any particular .py file I can edit for this ?
Thanks for posting! We were just discussing this last week.
Today, when you add a V2 measurement range, it is supposed to automatically copy the measurements from the last range you created, within the same session. If you create a new session, the default measures are reset to Frequency, Period, and Peak-to-Peak.
There isn’t any way to edit the defaults at the moment.
Could you share more about what you are using measurements for?
- What are you trying to do?
- How often do you need to do this?
- How many range measurements do you end up using?
Also, what behavior would you like to see?
Some ideas:
- Default to the last measure you created, even if it was in a prior session, and even if you restart the app.
- Add a menu option that lets you save the currently selected measurements as “default”.
- Add a menu option that lets you control how defaults are chosen. Options could be “Copy measurements from last range” and “Always use manually saved defaults”.
- We could add a system kind of our Presets feature (which lets you save all of your capture and display settings) where you can save a range’s current set of measurements with a custom label, so you can easily re-use saved measurement sets in the future.
- You could add a range to a “group” of measurements, such that when you add a measurement to that group, all ranges are updated automatically. That way you could place all your ranges first then edit their measurements all at once.
Also, suggestions welcome! This is certainly a pain point at the moment.
This is all going to get more complicated when we eventually introduce measurement settings. (For example, we would like to add settings to our rise and fall time measurements to allow the user to manually enter their desired high and low thresholds) This opens a whole can of worms - are settings global, or per-range? if so, what settings are used by default when creating a new range or adding that measurement to an existing range? And can you edit the settings (and even the enabled measurements) on multiple ranges at once?
I like this as a minimum. You could always ‘reset’ to factory default as an option, but this provides option to override the default across sessions vs. auto-revert on each new launch of the application. As you said, it already remembers settings within a session, so you don’t have to redo it completely.
In addition to a global default (#2), it might be nice to have a list of presets with user-defined labels to quickly set a given channel to any context/channel specific preferred setting (#4). Then, you can have your “clock” vs. “power” vs. “digital comm” settings to one-click load. The ‘default’ could be a special case of a preset that could be per channel, or global. Definitely best to keep it simple vs. get too fancy w/ more cluttered/confusing UI.
