Difference between revisions of "Programs Page"

From MidasWiki
Jump to navigation Jump to search
Line 29: Line 29:
= Features of the Programs page =
= Features of the Programs page =
Click to enlarge thumbnails.
[[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]]

Revision as of 13:32, 11 August 2014



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 several other Pages) by clicking the menu-button Programs.

Features of the Programs page

Click to enlarge thumbnails.

Figure 1: Programs page example
Figure 2: /Programs/pol_fevme ODB tree

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 /Programs 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.

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 /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: 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 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).