Changeset 14196 for trunk


Ignore:
Timestamp:
06/20/12 10:31:19 (12 years ago)
Author:
Jens Buss
Message:
added error messages and timeouts for awaited states
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/PrepareBiasForDataTaking.dim

    r13724 r14196  
    66
    77> checking feedback state
    8 .s FEEDBACK 12      # Current Control
     8.s FEEDBACK 12 10000 60 # Current Control?
     9.j 61
     10
     11:60
     12> ===================================================
     13>  feedback is not in state "CurrentControl"
     14>
     15>  OPERATOR:
     16>  goto feedback console and check the state of
     17>  feedback by typing [st] to find out what the
     18>  current state means and maybe needs to be done
     19>
     20>  this script will wait for state "CurrentControl"
     21> ===================================================
     22.s FEEDBACK 12 # Current Control?
     23
     24:61
    925> ... Current/Temp control active and voltage output enabled
     26
    1027> switching on bias ...
     28BIAS_CONTROL/SET_GLOBAL_DAC 1
    1129
    12 BIAS_CONTROL/SET_GLOBAL_DAC 1
    13 .s BIAS_CONTROL 9   # Voltage ON
     30> checking biasctrl state
     31.s BIAS_CONTROL 9 10000 70 # Voltage ON
     32.j 71
     33
     34:70
     35> ===================================================
     36>  switching on bias not successfull
     37>  biasctrl is not in state "VoltageOn"
     38>
     39>  OPERATOR:
     40>  goto biasctrl console and check the state of
     41>  biasctrl by typing [st] to find out what the
     42>  current state means and maybe needs to be done
     43>
     44>  this script will wait for state "VoltageOn"
     45> ===================================================
     46.s BIAS_CONTROL 9 # Voltage ON
     47
     48:71
    1449> ...set 1 DAC
    15 .s BIAS_CONTROL 5   # Ramping
     50
     51.s BIAS_CONTROL 5 # Ramping
    1652> ...ramping
    17 .s BIAS_CONTROL 9   # Voltage ON
     53.s BIAS_CONTROL 9 # Voltage ON
    1854> ...bias ON
     55
    1956
    2057# here one should wait 30..45sec according to TB
Note: See TracChangeset for help on using the changeset viewer.