BNMR: Custom Settings page: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
en>Suz
m (New page: {{Pagelinks}} = Links = <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> * BNMR * Custom Status page * [[BNMR: Custom Parameters pag...)
 
No edit summary
 
(16 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]]
* [[BNMR: Custom pages|BNMR/BNQR Custom pages]]
* [[BNMR: Custom Status page|Custom Status page]]
* [[BNMR: Custom Status page|Custom Status page]]
* [[BNMR: Custom Parameters page|Custom Parameters page]]
* [[BNMR: Custom Settings page|Custom Settings page]]
* [[BNMR: Experimental Modes|Experimental Modes]]
* [[BNMR: Custom Logging page|Custom Logging page]]
* [[BNMR: Getting Started|Getting Started]]
* [[BNMR: Custom Modes page|Custom Modes page]]
* [[BNMR: Custom Expert page|Custom Expert page]]
</div>
</div>
== Introduction ==
== Introduction ==
After selecting the Experimental (PPG) Mode by [[BNMR: Starting a run#Select Experimental (PPG) Mode|pressing a button]] on the
The settings page allows the user to:
[[BNMR: Custom Status page|Custom Status page]], the experimenter will need to review the [[BNMR Mode Parameters|parameters]] relevant to the selected  Experimental (PPG) Mode.
* 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 ==


Each of the Experimental (PPG) Modes is associated with a list of '''Mode Parameters'''. This parameter list is displayed on the Custom Parameters Page,
The page uses [https://daq00.triumf.ca/MidasWiki/index.php/Mjsonrpc Midas JRPC] calls to talk to:
which can be accessed from the Custom Status Page by any of the following:
* the <code>mode_changer.py</code> program for changing modes, loading/saving settings, and changing between real/test runs
* clicking the RunParams button at the top of the page
* the <code>rf_calculator_fe.py</code> program for visualizing the PPG and PSM settings as plots
* clicking the same button used to select the PPG Mode
* clicking the link PPG/PSM Parameters


If the selected mode includes RF, the [[#PSM Parameters]] will also be displayed on the Custom Parameters Page. When the run is stopped, the user may change these parameters as desired by clicking on a button or link. When the run is in progress, the parameter values are shown, but cannot be changed.
The page uses standard [https://daq00.triumf.ca/MidasWiki/index.php/Custom_Page Midas custom page] tools for editing ODB settings.


== Examples of the Custom Parameter Page ==
== Example screenshot ==
=== PPG Mode 2e (run stopped) ===
Figure 1 shows the Custom Parameter Page for Experimental (PPG) Mode 2e. The run is stopped, and parameters may be entered by clicking on the appropriate link. PPG Mode 2e include RF, so the [[#PSM Parameters]] as well as the [[#Mode Parameters]] are shown.
[[Image:bnqr_2e_param_page.png|left|frame|Figure 1:Parameter page for Mode 2e with run stopped]]
<br clear=all>


=== PPG Mode 2e (run in progress) ===
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.
Figure 2 shows the same page as [[#Figure 1] except the run is now in progress. The parameter values are shown, but may not be changed. 
[[Image:bnqr_2e_param_page_running.png|left|frame|Figure 2:Parameter page for Mode 2e with run in progress]]
<br clear=all>


=== PPG Mode 2e (graphical mode) ===
[[Image:Custom_settings.png|left|thumb|800px|Figure 1:Settings page for Mode 1f with run stopped]]
The parameters for PPG Mode 2e can also be entered graphically as in Figure 3
[[Image:bnqr_2e_param_interact.png|left|frame|Figure 3:Graphic parameter page for Mode 2e with run stopped]]
<br clear=all>




== Features of the Custom Parameters page ==
[[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.

Figure 1:Settings page for Mode 1f with run stopped