From dfaadad76106b3203bcaab5791e23f17b58af808 Mon Sep 17 00:00:00 2001 From: Ruud Overeem <overeem@astron.nl> Date: Thu, 24 May 2007 13:24:57 +0000 Subject: [PATCH] BugID: 1000 BeamControl now kills any beamctl that are running. --- MAC/APL/StationCU/src/BeamControl/BeamControl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAC/APL/StationCU/src/BeamControl/BeamControl.cc b/MAC/APL/StationCU/src/BeamControl/BeamControl.cc index 7a035172d9d..711bf384ec7 100644 --- a/MAC/APL/StationCU/src/BeamControl/BeamControl.cc +++ b/MAC/APL/StationCU/src/BeamControl/BeamControl.cc @@ -306,6 +306,9 @@ GCFEvent::TResult BeamControl::initial_state(GCFEvent& event, getString("Observation.stopTime")); itsParentControl->activateObservationTimers(msg.cntlrName, startTime, stopTime); + LOG_INFO ("Killing running beamctl's if any"); + system ("killall beamctl"); + LOG_INFO ("Going to started state"); TRAN(BeamControl::started_state); // go to next state. break; -- GitLab