# Making sure bias is off .! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log BIAS_CONTROL/RECONNECT FEEDBACK/START_TEMP_CONTROL 0.00 FEEDBACK/ENABLE_OUTPUT 1 BIAS_CONTROL/SET_ZERO_VOLTAGE .s BIAS_CONTROL 7 FAD_CONTROL/START_DRS_CALIBRATION .! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log MCP/START -1 1000 drs-pedestal .s FAD_CONTROL 8 .s FAD_CONTROL 4 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log MCP/START -1 1000 drs-gain .s FAD_CONTROL 8 .s FAD_CONTROL 4 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log MCP/START -1 1000 pedestal .s FAD_CONTROL 8 .s FAD_CONTROL 4 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log FAD_CONTROL/SET_FILE_FORMAT 2 MCP/START -1 1000 pedestal .s FAD_CONTROL 8 .s FAD_CONTROL 4 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log BIAS_CONTROL/SET_GLOBAL_DAC 1 .s BIAS_CONTROL 9 .s BIAS_CONTROL 5 .s BIAS_CONTROL 9 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log MCP/START -1 1000 pedestal .s FAD_CONTROL 8 .s FAD_CONTROL 4 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log BIAS_CONTROL/SET_ZERO_VOLTAGE .s BIAS_CONTROL 7 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log .! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log