Index: fact/tools/PyDimCtrl/ScriptsForPyDimCtrl.py
===================================================================
--- fact/tools/PyDimCtrl/ScriptsForPyDimCtrl.py	(revision 14460)
+++ fact/tools/PyDimCtrl/ScriptsForPyDimCtrl.py	(revision 14461)
@@ -98,5 +98,5 @@
   print "--------------------------------------"
   print "Checking the system statuses of:"
-  print "FEEDBACK, BIAS and FAD"
+  print "FEEDBACK, BIAS, FAD and DRIVE_CONTROL"
   print "--------------------------------------"
 
@@ -112,5 +112,9 @@
   print "   to be in state 4: Connected"
   fad_control.wait(4)
-  
+
+  print "...waiting for drive_CONTROL"
+  print "   to be in state 8: Tracking"
+  drive_control.wait(8)
+
   print "...system statuses OK"
   print "--------------------------------------"
@@ -145,12 +149,4 @@
 
 
-def IsTracking():
-  """ Name is misleading, it actually *waits* until Drive is in Tracking
-  original comment: Checking if Drive is in Status Tracking
-  """
-  
-  #return drive_control.stn == 8
-  drive_control.wait(8)
-  
 
 def PrepareBiasForDataTaking():
@@ -284,6 +280,4 @@
   """
   runtype += '\0'
-  # check if all subsystems are in the correct state
-  #IsReadyForDataTaking()
 
   if verbose:
@@ -305,5 +299,4 @@
   """
   # take a Pedestal run
-  IsTracking()
   IsReadyForDataTaking()
   print 'taking External Light Pulser with BIAS on 1000 ...'
@@ -311,5 +304,4 @@
   
   # take a ExtLP run
-  IsTracking()
   IsReadyForDataTaking()
   print 'taking External Light Pulser with BIAS on 1000 ...'
@@ -319,7 +311,14 @@
   for run in range(4):
     print 'taking data run', run+1, 'out of 4'
-    IsTracking()
     IsReadyForDataTaking()
     Take( 300, -1, 'data')
+
+#schedule = [ [drive, bias/feedback,  FAD && pre=start_drs_calibration|, time, events runtype,  ]  ]
+#[ source_W1 && tracking(8), CC(12)&Off(7) , start_drs_calibration && connected(4), -1, 1000, 'drs-pedestal' ],
+#[ source_W1 && tracking(8), CC(12)&Off(7) , connected(4), -1, 1000, 'drs-gain' ],
+#[ check for underflow ?],
+#[ source_W1 && tracking(8), CC(12)&Off(7) , connected(4), -1, 1000, 'drs-pedestal' ],
+#[ source_W1 && tracking(8), CC(12)&Off(7) , set_file_format(2) && connected(4), -1, 1000, 'drs-pedestal' ],
+
 
 
@@ -611,5 +610,4 @@
     return False
 
-  IsTracking()
   IsReadyForDataTaking()
 
@@ -854,4 +852,9 @@
   StopTracking()
 
+
+
+
+
+
 def PrintCurrents( x = 1.0):
   while True:
