BNMR: Custom Settings page: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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|frame|Figure 1:Parameter page for Mode 1f with run stopped]]
[[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.

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