Introduction
This new package contains several utilities which used to be in the
RunControl, setup and onl_integ packages which have been removed from
the release.
As an example it contains the setup_daq script and a script to
migrate the databases from the old to the new run control.
In addition this package contains the run control plugin for the web
based monitoring (WMI).
General changes
- setup_daq does not call ipc_cln anymore.
- setup_daq tries to bring the controller of the initial partition
into the INITIAL state.
- more verbose output is provided if the setup procedure for a run
fails.
- in P1 setup_daq refuses to start a run for a partition which has
an inconsistent DB.
- rc_is2cool provides headers for the COOL folders as expected by
offline.
New utilities
old2newRC.sh: script to translate databases from the old to the new run
control. (go into directory containing your database files and execute
it)
setup_daq <-h>: script to launch the DAQ. Note that the
<-i> option is not supported anymore.
The old script get_tdaq_env.sh
(onl_integ package) is substituted by the c++ utility rc_print_partition_env. From
within a bash script also the function get_partition_env ${TDAQ_PARTITION}
can be used after having sourced the file
${TDAQ_INST_PATH}/share/bin/setup_functions: this function requires
${TDAQ_DB_DATA} to be set.
rc_commander: simple graphical tool to send commands to a Controller.
rc_sendcommand <-h>: sends commands to a Controller.
rc_isread <-h>: reads the RC state of a controller from IS.
rc_waitstate <-h>: waits for a controller to reach a particular
RC state.
rc_timetest <-h>: sends a series of commands to a Controller and
measures the duration of each transition.
rc_decode_detectormask <-h> : decodes a numerical detector mask
into human readable TTC pastition names.
rc_print_root <-h>: prints the name of the root controller and
the top segment.
rc_print_tree <-h>: prints the tree of controllers for a
partition.
rc_getrunnumber <-h>: gets the current run number for a
partition from IS.
rc_checkapps <-h>: dumps a tabular view of the applications
in a
partition with their basic properties.
rc_print_partition_env <-h>: extracts form the database the basic
environment for the partition.
rc_is2cool_archive <-h>: inserts basic run information into COOL.
Changes in API
No APIs.
Known bugs, problems and limitations
None.