Changeset 13183 for trunk/FACT++


Ignore:
Timestamp:
03/23/12 01:58:16 (13 years ago)
Author:
Jens Buss
Message:
changed the time waited before sending commands to drivectrl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/ScriptsForDimCtrl/TakeMrk421

    r13161 r13183  
    11# DIM_CONTROL: MRK421 tracking and data taking
    2 
    32.! echo
    43.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    5 .! echo `date -u`  "Data Taking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     4.! echo `date -u`  "Data tacking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    65.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    76
    87# changing tracking to "Mrk 421" Wobble 1
    9 
    10 .! echo `date -u`  "moving telescope to wobble Position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     8.! echo `date -u`  "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    119.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    1210.s DRIVE_CONTROL 5
    13 .w 5000
     11.w 2000
    1412DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421"
    1513.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    1614
    1715# Wait for drivectrl to repley that its tracking the given source
    18 
    1916.s DRIVE_CONTROL 6
    2017.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    21 
    2218.s DRIVE_CONTROL 7
    2319.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     20.! echo `date -u`  "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    2421.! echo
    2522.w 30000
    2623
    2724# starting data taking of "Mrk 421" Wobble 1
     25.x ScriptsForDimCtrl/DataTaking1
    2826
    29 .x ScriptsForDimCtrl/DataTaking1
    30 #.! echo `date -u`  "...normaly here DataTaking1 would be started" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    3127# Stop tracking
    32 
    33 .w 4000
     28.w 2000
    3429DRIVE_CONTROL/STOP
    3530.s DRIVE_CONTROL 5
     
    3732.! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    3833.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    39 .! echo
    4034
    4135# changing tracking to "Mrk 421" Wobble 2
    42 
    4336.! echo
    44 .! echo `date -u`  "Moving telescope to wobble Position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    45 
    46 .! echo `date -u`  "...waiting for drivectrl to be in state Armed" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     37.! echo `date -u`  "moving telescope to wobble position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     38.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    4739.s DRIVE_CONTROL 5
    48 .w 5000
     40.w 2000
    4941DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421"
    5042.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    5143
    52 # Wait for drivectrl to repley that its tracking the given source
    53 
     44# Wait for drivectrl to reply that its tracking the given source
    5445.s DRIVE_CONTROL 6
    5546.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    56 
    5747.s DRIVE_CONTROL 7
    5848.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     49.! echo `date -u`  "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    5950.! echo
    6051.w 30000
    6152
    6253# data taking to "Mrk 421" Wobble 2
    63 
    6454.x ScriptsForDimCtrl/DataTaking2
    65 #.! echo `date -u`  "...normaly here DataTaking2 would be started" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    6655
    6756# Stop tracking
    68 .w 5000
     57.w 2000
    6958DRIVE_CONTROL/STOP
    7059.s DRIVE_CONTROL 5
    7160.! echo
    72 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
     61.! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    7362.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
    7463.! echo
Note: See TracChangeset for help on using the changeset viewer.