The hardware/software system for the control of the BABAR Detector at PEP-I
I is described. The contributions of a large and diverse collaboration were
channeled into a standard hardware selection (VME crate, embedded CPU, fie
ldbus, etc.) and a uniform software environment, EPICS (Experimental Physic
s and Industrial Control System). These choices, with a judicious naming co
nvention in place, allowed a distributed and modular development of the con
trol system, which was then integrated within the Online System in the Inte
raction Hall. The design of the software to complement the EPICS layer is p
resented.
The coordination of controls activities with the rest of the Online is over
seen by Run Control; the interface and functionality that controls supports
is described. The archival storage, retrieval and analysis/display of the
process control data is described, as well as the interface that allows acc
ess to this data with the same API as for our physics data. We also describ
e our modifications to the Online-wide messaging system ("cmlog") and our i
nterface to the accelerator; PEP-II. Finally, we present our operational ex
periences with the control system.