MSCB Page: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<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"> | ||
* [[Mhttpd|mhttpd MIDAS web server]] | * [[Mhttpd|mhttpd MIDAS web server]] | ||
* [[Status Page]] | |||
* [[ODB Page]] | * [[ODB Page]] | ||
* [[Programs Page]] | * [[Programs Page]] | ||
Line 22: | Line 23: | ||
The purpose of a [[mhttpd]] MSCB Page is to visually present the devices in the MSCB (MIDAS Slow Control Bus) system and their variables. | The purpose of a [[mhttpd]] MSCB Page is to visually present the devices in the MSCB (MIDAS Slow Control Bus) system and their variables. | ||
= | = Access to the MSCB Page = | ||
The MSCB Page is displayed by clicking on the <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;">MSCB</span> button on the mhttpd [[Status Page]] or other mhttpd web page. <br><br> | |||
In order to create the MSCB page, the flag | In order to create the MSCB page, the flag | ||
; -DHAVE_MSCB | ; -DHAVE_MSCB | ||
must be present in the MIDAS Makefile so that mhttpd is linked against ../mscb/mscb.c and has direct access to all mscb ethernet submasters (USB access is currently disabled on purpose there). The presence of the flag '''-DHAVE_MSCB''' will cause the MSCB button to appear on the | must be present in the MIDAS Makefile so that mhttpd is linked against ../mscb/mscb.c and has direct access to all mscb ethernet submasters (USB access is currently disabled on purpose there). The presence of the flag '''-DHAVE_MSCB''' will cause the MSCB button to appear on the [[Status Page]] by default, unless the menu buttons have been [[/Experiment ODB tree#Menu Buttons|customized]] to remove it. | ||
The MSCB page displays information from the [[/MSCB ODB tree]]. It obtains a list of all available submasters from the [[/MSCB ODB tree#Submaster subtree|Submaster subtree]]. | = Features of the MSCB page = | ||
Click thumbnail to enlarge | |||
[[File:Deap_mscb.png|thumb|left|Figure 1: Example of a MSCB page]] | |||
The MSCB page (see Figure 1) displays information from the [[/MSCB ODB tree]]. It obtains a list of all available submasters from the [[/MSCB ODB tree#Submaster subtree|Submaster subtree]]. | |||
The <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;">Rescan</span> button will rescan the MSCB devices, the <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;">Reload</span> button | |||
refreshes the page. | |||
<div style="clear: both"></div> <!-- clear wraparound after thumbnail --> | <div style="clear: both"></div> <!-- clear wraparound after thumbnail --> | ||
[[Category:mhttpd]] | [[Category:mhttpd]] |
Revision as of 16:24, 28 August 2014
Links
Purpose
The purpose of a mhttpd MSCB Page is to visually present the devices in the MSCB (MIDAS Slow Control Bus) system and their variables.
Access to the MSCB Page
The MSCB Page is displayed by clicking on the MSCB button on the mhttpd Status Page or other mhttpd web page.
In order to create the MSCB page, the flag
- -DHAVE_MSCB
must be present in the MIDAS Makefile so that mhttpd is linked against ../mscb/mscb.c and has direct access to all mscb ethernet submasters (USB access is currently disabled on purpose there). The presence of the flag -DHAVE_MSCB will cause the MSCB button to appear on the Status Page by default, unless the menu buttons have been customized to remove it.
Features of the MSCB page
Click thumbnail to enlarge
The MSCB page (see Figure 1) displays information from the /MSCB ODB tree. It obtains a list of all available submasters from the Submaster subtree.
The Rescan button will rescan the MSCB devices, the Reload button refreshes the page.