KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
This document describes the steps required for adding new slow control commands to the embedded software.
There are three steps involved in adding slow control commands:
The first step cfg_msg.h should be modified to contain the new command. A command must have a unique identifier. Commands are grouped. Each group roughly reflects the subsystems available, e.g. system, network, optics, acoustics and instrumentation. In addition it also has a CLB and debug set of commands. Each group may contain up to 64 commands, each having a unique identifier.
The following code shows how the ping and date revision commands are defined in cfg_msg.h
The MSG_TYP command combines