BNMR: Custom Settings page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Pagelinks}} | {{Pagelinks}} | ||
= Links = | == Links == | ||
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | ||
* [[BNMR: Custom pages|BNMR/BNQR Custom pages]] | * [[BNMR: Custom pages|BNMR/BNQR Custom pages]] | ||
Line 13: | Line 13: | ||
The settings page allows the user to: | The settings page allows the user to: | ||
* change which experimental mode is being used | * change which experimental mode is being used | ||
* change whether a run is "real" or "test" data | |||
* edit parameters that affect the PPG timing, PSM RF, parameter scanning etc | * edit parameters that affect the PPG timing, PSM RF, parameter scanning etc | ||
* save the current settings to be reloaded later | * save the current settings to be reloaded later | ||
Line 21: | Line 22: | ||
Settings are editable while a run is stopped, and may not be edited while a run is in progress. | Settings are editable while a run is stopped, and may not be edited while a run is in progress. | ||
== Implementation == | |||
The page uses [https://daq00.triumf.ca/MidasWiki/index.php/Mjsonrpc Midas JRPC] calls to talk to: | |||
* the <code>mode_changer.py</code> program for changing modes, loading/saving settings, and changing between real/test runs | |||
* the <code>rf_calculator_fe.py</code> program for visualizing the PPG and PSM settings as plots | |||
The page uses standard [https://daq00.triumf.ca/MidasWiki/index.php/Custom_Page Midas custom page] tools for editing ODB settings. | |||
== Example screenshot == | == Example screenshot == | ||
Line 26: | Line 35: | ||
Note that the specific elements that are visible vary based on the current experimental mode. Some modes have extra tools (e.g. sliders) to simplify setting the PPG parameters to valid values. | Note that the specific elements that are visible vary based on the current experimental mode. Some modes have extra tools (e.g. sliders) to simplify setting the PPG parameters to valid values. | ||
[[Image:Custom_settings.png|left| | [[Image:Custom_settings.png|left|thumb|800px|Figure 1:Settings page for Mode 1f with run stopped]] | ||
[[Category:BNMR]] [[Category:Webserver]] [[Category:Experiment (PPG) Modes]] | [[Category:BNMR]] [[Category:Webserver]] [[Category:Experiment (PPG) Modes]] |
Latest revision as of 10:51, 2 May 2022
Links
Introduction
The settings page allows the user to:
- change which experimental mode is being used
- change whether a run is "real" or "test" data
- edit parameters that affect the PPG timing, PSM RF, parameter scanning etc
- save the current settings to be reloaded later
- load settings that were previously saved
- load settings from a MUD file
- view the PPG timing scheme based on the current settings
- view the PSM RF I,Q pairs based on the current settings
Settings are editable while a run is stopped, and may not be edited while a run is in progress.
Implementation
The page uses Midas JRPC calls to talk to:
- the
mode_changer.py
program for changing modes, loading/saving settings, and changing between real/test runs - the
rf_calculator_fe.py
program for visualizing the PPG and PSM settings as plots
The page uses standard Midas custom page tools for editing ODB settings.
Example screenshot
Note that the specific elements that are visible vary based on the current experimental mode. Some modes have extra tools (e.g. sliders) to simplify setting the PPG parameters to valid values.