Ignore:
Timestamp:
05/14/12 16:51:05 (13 years ago)
Author:
Jens Buss
Message:
modified script by using service scripts for data taking and drscalibration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/ScriptsForDimCtrl/DataTaking1.dim

    r13720 r13729  
    99> Operator: make sure that telescope is tracking wobble position 1 of source
    1010>
    11 #> ... This script will wait 10sec for you
    12 #.w 10000
    1311
    14 FEEDBACK/ENABLE_OUTPUT 1
     12# Take a DRS-Calibration before beginning to take physics Data
     13.x ScriptsForDimCtrl/ServiceScripts/TakeDrsCalibration.dim
    1514
    16 # Making sure bias is off
    17 BIAS_CONTROL/SET_ZERO_VOLTAGE
    18 .s BIAS_CONTROL 7
    19 FAD_CONTROL/START_DRS_CALIBRATION
    20 > bias voltage is switched off
     15> Operator: make sure that telescope is tracking correct wobble position of source
    2116>
    22 > taking DRS:Pedestal 1000 ...
    23 .s FAD_CONTROL 4
    24 MCP/START -1 1000 drs-pedestal
    25 .s FAD_CONTROL 8
    26 .s FAD_CONTROL 4
    27 > ... done
    28 
    29 > taking DRS:Gain 1000 ...
    30 MCP/START -1 1000 drs-gain
    31 .s FAD_CONTROL 8
    32 .s FAD_CONTROL 4
    33 > ... done
    34 
    35 > taking DRS:Pedestal 1000 ...
    36 MCP/START -1 1000 drs-pedestal
    37 .s FAD_CONTROL 8
    38 .s FAD_CONTROL 4
    39 > ... done
    40 
    41 > taking crosscheck DRS:Pedestal 1000 ...
    42 FAD_CONTROL/SET_FILE_FORMAT 2
    43 MCP/START -1 1000 drs-pedestal
    44 .s FAD_CONTROL 8
    45 .s FAD_CONTROL 4
    46 > ... done
    47 
    48 > taking DRS:Time 1000 ...
    49 MCP/START -1 1000 drs-time
    50 .s FAD_CONTROL 8
    51 .s FAD_CONTROL 4
    52 > ... done
    53 
    54 > taking DRS:Time upshifted 1000 ...
    55 MCP/START -1 1000 drs-time-upshifted
    56 .s FAD_CONTROL 8
    57 .s FAD_CONTROL 4
    58 > ... done
    59 
    60 > taking Pedestal 1000 for secondary baseline...
    61 FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
    62 MCP/START -1 1000 pedestal
    63 .s FAD_CONTROL 8
    64 .s FAD_CONTROL 4
    65 > ... done
    66 
    67 > taking crosscheck Pedestal 1000 ...
    68 FAD_CONTROL/SET_FILE_FORMAT 2
    69 MCP/START -1 1000 pedestal
    70 .s FAD_CONTROL 8
    71 .s FAD_CONTROL 4
    72 > ... done
    7317> Operator: Measure Sky Brightness
    7418
    75 # switch BIAS ON and ramp to nominal Voltage
    76 > checking feedback state
    77 .s FEEDBACK 12
    78 > ... Current/Temp control active and voltage output enabled
    79 > switching on bias ...
    80 BIAS_CONTROL/SET_GLOBAL_DAC 1
    81 .s BIAS_CONTROL 9 # Voltage ON
    82 > ...set 1 DAC
    83 .s BIAS_CONTROL 5 # Ramping
    84 > ...ramping
    85 .s BIAS_CONTROL 9 # Voltage ON
    86 > ...bias ON
    87 # here one should wait 30..45sec according to TB
    88 > bias is on, and feedback-program is working, but we wait 45sec for the current readings...
    89 .w 45000
    90 > ... done
     19# check feedback state before switching BIAS ON and ramping up to nominal Voltage
     20.x ScriptsForDimCtrl/ServiceScripts/PrepareBiasForDataTaking.dim
    9121
    92 # check if all subsystems are in the correct state
    93 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    94 > taking Pedestal with BIAS on 1000 ...
    95 MCP/START -1 1000 pedestal
    96 .s FAD_CONTROL 8
    97 .s FAD_CONTROL 4
    98 > ... done
    99 
    100 # check if all subsystems are in the correct state
    101 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    102 > taking External Light Pulser with BIAS on 1000 ...
    103 MCP/START -1 1000 light-pulser-ext
    104 .s FAD_CONTROL 8
    105 .s FAD_CONTROL 4
    106 > ... done
    107 
    108 #Data Taking with Full Trigger Area (4x5min)
    109 
    110 # check if all subsystems are in the correct state
    111 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    112 > taking Data:FullTriggerArea 5min Run 1 ...
    113 MCP/START 300 -1 data
    114 .s FAD_CONTROL 8
    115 .s FAD_CONTROL 4
    116 > ... done
    117 
    118 # check if all subsystems are in the correct state
    119 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    120 > taking Data:FullTriggerArea 5min Run 2 ...
    121 MCP/START 300 -1 data
    122 .s FAD_CONTROL 8
    123 .s FAD_CONTROL 4
    124 > ... done
    125 
    126 # check if all subsystems are in the correct state
    127 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    128 > taking Data:FullTriggerArea 5min Run 3 ...
    129 MCP/START 300 -1 data
    130 .s FAD_CONTROL 8
    131 .s FAD_CONTROL 4
    132 > ... done
    133 
    134 # check if all subsystems are in the correct state
    135 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
    136 > taking Data:FullTriggerArea 5min Run 4 ...
    137 MCP/START 300 -1 data
    138 .s FAD_CONTROL 8
    139 .s FAD_CONTROL 4
    140 > ... done
     22# taking a Data Set (1x Pedestal 1000 Bias On, 1x LPext 1000, 4x5min DataRun)
     23.x ScriptsForDimCtrl/ServiceScripts/TakeData.dim
    14124
    14225> ----------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.