BNMR: Custom Settings page: Difference between revisions
Jump to navigation
Jump to search
en>Suz |
No edit summary |
||
(8 intermediate revisions by 2 users 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]] | ||
* [[BNMR: Custom Status page|Custom Status page]] | * [[BNMR: Custom Status page|Custom Status page]] | ||
* [[BNMR: Custom | * [[BNMR: Custom Settings page|Custom Settings page]] | ||
* [[BNMR: Custom | * [[BNMR: Custom Logging page|Custom Logging page]] | ||
* [[BNMR: Custom | * [[BNMR: Custom Modes page|Custom Modes page]] | ||
* [[BNMR: | * [[BNMR: Custom Expert page|Custom Expert page]] | ||
</div> | </div> | ||
== Introduction == | == 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 [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 == | |||
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|thumb|800px|Figure 1:Settings page for Mode 1f with run stopped]] | |||
[[Category:BNMR]] [[Category:Webserver]] | [[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.