Programs Page: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4">
{{Pagelinks}}
* [[Midas_documentation|Midas Documentation]]
* [[Feature_listing|Feature Listing]]
* [[Application_listing|Application Listing]]
* [[Online_Database|Online Database]]
</div>


= Links =
= Links =
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
{{mhttpdpages1|[[/Programs ODB tree]]}}
* [[Mhttpd|mhttpd MIDAS web server]]
* [[ODB Page]]
* [[Programs Page]]
* [[/Programs ODB tree]]
* [[Alarms Page]]
* [[MSCB Page]]
* [[History Page]]
* [[Custom Page]]
* [[odbedit]]
</div>


= Purpose =
= Purpose =
Line 23: Line 8:


= Access the Programs page =
= Access the Programs page =
The Programs page can be accessed from the [[Status Page]]  (and several other Pages) by clicking  
The Programs page can be accessed from the [[Status Page]]  (and other Pages) by clicking  
the menu-button
the menu-button
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
padding-left: 0.5em;padding-right: 0.5em;border:1px solid #808080;border-radius: 5px;margin-bottom:1px;">Programs</span>.
padding-left: 0.5em;padding-right: 0.5em;border:1px solid #808080;border-radius: 5px;margin-bottom:1px;">Programs</span>.
;Note
:If "Programs" button is not present on the Status Page, it may have been [[Status Page#page-switch-buttons|suppressed]].




Line 33: Line 20:
[[File:programs_page.png|thumb|left|Figure 1: Programs page example]]
[[File:programs_page.png|thumb|left|Figure 1: Programs page example]]
[[File:programs_page_client.png|thumb|right|Figure 2: /Programs/pol_fevme ODB tree]]
[[File:programs_page_client.png|thumb|right|Figure 2: /Programs/pol_fevme ODB tree]]
[[File:programs_page_stopped.png|thumb|left|Figure 3: Programs page with start button]]
[[File:programs_page_odbedit.png|thumb|right|Figure 4: Programs page with ODBEdit client]]
The Programs page (Figure 1) presents the current active list of the clients attached to the given experiment. On the right hand side, a dedicated button allows the user to stop a particular client.  
The Programs page (Figure 1) presents the current active list of the clients attached to the given experiment. On the right hand side, a dedicated button allows the user to stop a particular client.  


Clicking a client name key-link (on the left hand side of the page) will display the ODB <span style="color: purple; font-style:italic;">/Programs</span> subdirectory related to that particular client (see [[/Programs ODB tree]]). Figure 2 shows the <span style="color: purple; font-style:italic;">/Programs/pol_fevme</span> subtree  after key-link for the client ''pol_fevme'' has been clicked.  
Clicking a client name key-link (on the left hand side of the page) will switch to an [[ODB Page]] displaying the <span style="color: purple; font-style:italic;">/Programs/<client-name></span> subdirectory related to that particular client (see [[/Programs ODB tree]]). Figure 2 shows the <span style="color: purple; font-style:italic;">/Programs/pol_fevme</span> subtree  after key-link for the client ''pol_fevme'' has been clicked.  
 


[[File:programs_page_stopped.png|thumb|left|Figure 3: Programs page with start button]]
The appearance of the Programs page depends on the setting of some of the keys in the  ODB <span style="color: purple; font-style:italic;">/Programs/<client-name></span> subdirectory. The user should customize these subtrees for their clients.
The appearance of the Programs page depends on the setting of some of the keys in the  ODB <span style="color: purple; font-style:italic;">/Programs/<client-name></span> subdirectory. The user should customize these subtrees for their clients.
<br>  
<br>  
Line 45: Line 35:
when that client is not running (Figure 3). As the  key [[/Programs ODB tree#Start command|Alarm class]] is filled with a valid alarm class, Figure 1 shows the alarm class as "Caution" for this client.
when that client is not running (Figure 3). As the  key [[/Programs ODB tree#Start command|Alarm class]] is filled with a valid alarm class, Figure 1 shows the alarm class as "Caution" for this client.
<br>
<br>
<br>
 
[[File:programs_page_odbedit.png|thumb|right|Figure 4: Programs page with ODBEdit client]]
 
Figure 4 shows the programs page with the client ''odbedit'' running. This client is not "required", i.e. the key [[/Programs ODB tree#Required|Required]] is set to "n". A  
Figure 4 shows the programs page with the client ''odbedit'' running. This client is not "required", i.e. the key [[/Programs ODB tree#Required|Required]] is set to "n". A  
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
Line 52: Line 42:


<br clear=all>  
<br clear=all>  
[[Category:mhttpd]]
[[Category:mhttpd Pages]]
[[Category:Programs]]

Latest revision as of 16:12, 27 July 2015


Links


Purpose

The purpose of the mhttpd Programs page is to show the status of the clients, and allow the user to stop and restart clients.

Access the Programs page

The Programs page can be accessed from the Status Page (and other Pages) by clicking the menu-button Programs.

Note
If "Programs" button is not present on the Status Page, it may have been suppressed.


Features of the Programs page

Click to enlarge thumbnails.

Figure 1: Programs page example
Figure 2: /Programs/pol_fevme ODB tree
Figure 3: Programs page with start button
Figure 4: Programs page with ODBEdit client

The Programs page (Figure 1) presents the current active list of the clients attached to the given experiment. On the right hand side, a dedicated button allows the user to stop a particular client.

Clicking a client name key-link (on the left hand side of the page) will switch to an ODB Page displaying the /Programs/<client-name> subdirectory related to that particular client (see /Programs ODB tree). Figure 2 shows the /Programs/pol_fevme subtree after key-link for the client pol_fevme has been clicked.


The appearance of the Programs page depends on the setting of some of the keys in the ODB /Programs/<client-name> subdirectory. The user should customize these subtrees for their clients.
For example, since the key Auto restart is set to "y" and a start command is supplied (i.e. the key Start command has been filled) for the client pol_fevme, the autorestart column shows "yes" for that client. Since the key Required is set to "y" (and a start command is supplied), the Programs page also displays a Start pol_fevme button to restart the client when that client is not running (Figure 3). As the key Alarm class is filled with a valid alarm class, Figure 1 shows the alarm class as "Caution" for this client.


Figure 4 shows the programs page with the client odbedit running. This client is not "required", i.e. the key Required is set to "n". A Stop ODBEdit button to stop the client is shown, but if this client is stopped, it will disappear completely from the Programs page (Figure 1).