#!dimctrl --exec

# Data taking and tracking script for Crab
>
> ----------------------------------------------------
> Data taking and tracking script for Crab
> starting up...
> ----------------------------------------------------

# changing tracking to Crab Wobble 1
.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble1.dim

# Wait for drivectrl to reply that its tracking the given source
.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim

# starting data taking of Crab Wobble 1
.x ScriptsForDimCtrl/DataTaking1.dim

# Stop tracking
.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim

# changing tracking to Crab Wobble 2

.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble2.dim

# Wait for drivectrl to reply that its tracking the given source
.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim

# data taking to Crab Wobble 2
.x ScriptsForDimCtrl/DataTaking2.dim

# Stop tracking
.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim

> ----------------------------------------------------
> Data taking and tracking script for Crab
> finnished
> ----------------------------------------------------
>

