MSCB Page: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


= Purpose =
= Purpose =
The purpose of a [[mhttpd]] MSCB Page is to visually present the devices in the MSCB 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.


= Introduction =
= Introduction =
Click thumbnail to enlarge
Click thumbnail to enlarge
[[File:Mhttpd_MSCB.png|thumb|left|Figure 1: Example of a MSCB page]]
[[File:Deap_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

Revision as of 11:09, 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.

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.