MSCB Page

From MidasWiki
Revision as of 11:09, 28 August 2014 by Suz (talk | contribs)
Jump to navigation Jump to search

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.

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.