Index: trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/PrepareBiasForDataTaking.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/PrepareBiasForDataTaking.dim	(revision 14195)
+++ trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/PrepareBiasForDataTaking.dim	(revision 14196)
@@ -6,15 +6,52 @@
 
 > checking feedback state
-.s FEEDBACK 12      # Current Control
+.s FEEDBACK 12 10000 60 # Current Control?
+.j 61
+
+:60
+> ===================================================
+>  feedback is not in state "CurrentControl"
+>
+>  OPERATOR: 
+>  goto feedback console and check the state of 
+>  feedback by typing [st] to find out what the
+>  current state means and maybe needs to be done
+>
+>  this script will wait for state "CurrentControl"
+> ===================================================
+.s FEEDBACK 12 # Current Control?
+
+:61
 > ... Current/Temp control active and voltage output enabled
+
 > switching on bias ...
+BIAS_CONTROL/SET_GLOBAL_DAC 1
 
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.s BIAS_CONTROL 9   # Voltage ON
+> checking biasctrl state
+.s BIAS_CONTROL 9 10000 70 # Voltage ON
+.j 71
+
+:70
+> ===================================================
+>  switching on bias not successfull
+>  biasctrl is not in state "VoltageOn"
+>
+>  OPERATOR:
+>  goto biasctrl console and check the state of
+>  biasctrl by typing [st] to find out what the
+>  current state means and maybe needs to be done
+> 
+>  this script will wait for state "VoltageOn"
+> ===================================================
+.s BIAS_CONTROL 9 # Voltage ON
+
+:71
 > ...set 1 DAC
-.s BIAS_CONTROL 5   # Ramping
+
+.s BIAS_CONTROL 5 # Ramping
 > ...ramping
-.s BIAS_CONTROL 9   # Voltage ON
+.s BIAS_CONTROL 9 # Voltage ON
 > ...bias ON
+
 
 # here one should wait 30..45sec according to TB
