BNMR: Custom Settings page: Difference between revisions
en>Suz mNo edit summary |
en>Suz mNo edit summary |
||
Line 19: | Line 19: | ||
* clicking the link PPG/PSM Parameters | * 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. | If the selected mode includes RF, the [[BNMR Mode Parameters#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. | ||
== Examples of the Custom Parameter Page == | == Examples of the Custom Parameter Page == | ||
=== PPG Mode 2e (run stopped) === | === 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. Note that in the PSM Parameters, Quadrature Modulation Mode is enabled, so that a number of extra parameters are shown. Compare with the PSM parameters for [[BNMR Mode Parameters#Mode 1f(Freq)|Mode 1f]] where Single Tone Mode is enabled. | 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 [[BNMR Mode Parameters#PSM Parameters]] as well as the [[BNMR Mode Parameters#Mode Parameters]] are shown. Note that in the PSM Parameters, Quadrature Modulation Mode is enabled, so that a number of extra parameters are shown. Compare with the PSM parameters for [[BNMR Mode Parameters#Mode 1f(Freq)|Mode 1f]] where Single Tone Mode is enabled. | ||
[[Image:bnqr_2e_param_page.png|left|frame|Figure 1:Parameter page for Mode 2e with run stopped]] | [[Image:bnqr_2e_param_page.png|left|frame|Figure 1:Parameter page for Mode 2e with run stopped]] | ||
<br clear=all> | <br clear=all> | ||
Line 45: | Line 45: | ||
: Buttons at the top of the page give access to other MIDAS pages including the custom status page. | : Buttons at the top of the page give access to other MIDAS pages including the custom status page. | ||
; Timing Diagram link | ; Timing Diagram link | ||
: an alias-link provides access to the Timing Diagram for the | : an alias-link provides access to the Timing Diagram for the selected Experimental (PPG) Mode | ||
; Run status | |||
: A coloured box indicates the run status, e.g. Stopped, Running, Transition in progress. | |||
; Zaher's Calculator | ; Zaher's Calculator | ||
: A button near the top of the page give access to Zaher's calculator for conversion from bandwidth to pulse duration for the [[BNMR: PSM (Pol Synth | : A button near the top of the page give access to Zaher's calculator for conversion from bandwidth to pulse duration for the [[BNMR: PSM (Pol Synth Module)|PSM]] | ||
Module)|PSM]] | ; Read data/progress status line | ||
: This line gives the status of the asynchronous ODB data read and page update. This is mainly used for debugging. | |||
; Tunes line | |||
: Load, save, create a tune. See [[BNMR: Tunes]] for details. | |||
; Debug | ; Debug | ||
: Checkboxes at the bottom of the screen allow various debugging to be turned on. | : Checkboxes at the bottom of the screen allow various debugging to be turned on. | ||
* PSM debug - shows the values written to the PSM profile registers. To see this, scroll the page down. | :* PSM debug - shows the values written to the PSM profile registers. To see this, scroll the page down. | ||
* PPG debug - shows the "true" parameter values, i.e. the run parameter values written at the last "begin-of-run" | :* PPG debug - shows the "true" parameter values, i.e. the run parameter values written at the last "begin-of-run" | ||
* Show PSM Gate Params - these are usually hidden as they are set to the default values | :* Show PSM Gate Params - these are usually hidden as they are set to the default values | ||
* Global debug - debugging for the Javascript. To see this, scroll the page down. | :* Global debug - debugging for the Javascript. To see this, scroll the page down. | ||
== Programming Information == | |||
The Custom Parameters page is a MIDAS custom page. Custom pages must be listed in the {{Odbpath|path=/Custom}} ODB tree. Keys in this tree define the paths of the files containing external stylesheets, html and javascript code used by the {{bnmqr|join=and}} experiments. See [[BNMR: Keys in /Custom ODB tree|Keys in /Custom ODB tree]] for details. | |||
The Custom Parameters page and [[BNMR: Custom Status page|Custom Status page]] both use keys defined in the [[BNMR: Keys in /Custom ODB tree#Hidden subtree|/Custom/hidden subtree]] for communication. |
Revision as of 17:12, 8 September 2016
Links
Introduction
After selecting the Experimental (PPG) Mode by pressing a button on the Custom Status page, the experimenter will need to review the parameters relevant to the selected Experimental (PPG) Mode.
Each of the Experimental (PPG) Modes is associated with a list of Mode Parameters. This parameter list is displayed on the Custom Parameters Page, which can be accessed from the Custom Status Page by any of the following:
- clicking the RunParams button at the top of the page
- clicking the same button used to select the PPG Mode
- clicking the link PPG/PSM Parameters
If the selected mode includes RF, the BNMR Mode Parameters#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.
Examples of the Custom Parameter Page
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 BNMR Mode Parameters#PSM Parameters as well as the BNMR Mode Parameters#Mode Parameters are shown. Note that in the PSM Parameters, Quadrature Modulation Mode is enabled, so that a number of extra parameters are shown. Compare with the PSM parameters for Mode 1f where Single Tone Mode is enabled.
PPG Mode 2e (run in progress)
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. The run state window has changed from "Stopped" to "Running" and the Tune lines are not shown.
PPG Mode 2e (graphical mode)
The parameters for PPG Mode 2e can also be entered graphically as in Figure 3
Features of the Custom Parameters page
- Start/stop runs
- Buttons at the top of the page allow the user to start and stop runs without returning to the custom status page.
- Access to other MIDAS pages
- Buttons at the top of the page give access to other MIDAS pages including the custom status page.
- Timing Diagram link
- an alias-link provides access to the Timing Diagram for the selected Experimental (PPG) Mode
- Run status
- A coloured box indicates the run status, e.g. Stopped, Running, Transition in progress.
- Zaher's Calculator
- A button near the top of the page give access to Zaher's calculator for conversion from bandwidth to pulse duration for the PSM
- Read data/progress status line
- This line gives the status of the asynchronous ODB data read and page update. This is mainly used for debugging.
- Tunes line
- Load, save, create a tune. See BNMR: Tunes for details.
- Debug
- Checkboxes at the bottom of the screen allow various debugging to be turned on.
- PSM debug - shows the values written to the PSM profile registers. To see this, scroll the page down.
- PPG debug - shows the "true" parameter values, i.e. the run parameter values written at the last "begin-of-run"
- Show PSM Gate Params - these are usually hidden as they are set to the default values
- Global debug - debugging for the Javascript. To see this, scroll the page down.
Programming Information
The Custom Parameters page is a MIDAS custom page. Custom pages must be listed in the /Custom ODB tree. Keys in this tree define the paths of the files containing external stylesheets, html and javascript code used by the bnmr and bnqr experiments. See Keys in /Custom ODB tree for details.
The Custom Parameters page and Custom Status page both use keys defined in the /Custom/hidden subtree for communication.