MSCB Page: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4"> * Midas Documentation * Feature Listing * Application_lis...")
 
No edit summary
Line 23: Line 23:


= Introduction =
= Introduction =
Click thumbnail to enlarge
[[File:Mhttpd_MSCB.png|thumb|left|Figure 1: Example of a MSCB page]]
[[File:Mhttpd_MSCB.png|thumb|left|Figure 1: Example of a MSCB page]]
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 main status page by default, unless the menu buttons have been  [[/Experiment ODB tree#Menu Buttons|customized]] to remove it.
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 main 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]].


<div style="clear: both"></div> <!-- clear wraparound after thumbnail -->
<div style="clear: both"></div> <!-- clear wraparound after thumbnail -->

Revision as of 19:05, 27 August 2014

Links

Purpose

The purpose of a mhttpd MSCB Page is to visually present the devices in the MSCB system and their variables.

Introduction

Click thumbnail to enlarge

Figure 1: Example of a MSCB 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 main status page by default, unless the menu buttons have been customized to remove it.

The MSCB page displays information from the /MSCB ODB tree. It obtains a list of all available submasters from the Submaster subtree.