Changeset 13183 for trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
- Timestamp:
- 03/23/12 01:58:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
r13161 r13183 1 1 # DIM_CONTROL: MRK421 tracking and data taking 2 3 2 .! echo 4 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "Data Taking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log4 .! echo `date -u` "Data tacking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 6 5 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 7 6 8 7 # 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 11 9 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 12 10 .s DRIVE_CONTROL 5 13 .w 500011 .w 2000 14 12 DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421" 15 13 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 16 14 17 15 # Wait for drivectrl to repley that its tracking the given source 18 19 16 .s DRIVE_CONTROL 6 20 17 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 21 22 18 .s DRIVE_CONTROL 7 23 19 .! 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 24 21 .! echo 25 22 .w 30000 26 23 27 24 # starting data taking of "Mrk 421" Wobble 1 25 .x ScriptsForDimCtrl/DataTaking1 28 26 29 .x ScriptsForDimCtrl/DataTaking130 #.! echo `date -u` "...normaly here DataTaking1 would be started" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log31 27 # Stop tracking 32 33 .w 4000 28 .w 2000 34 29 DRIVE_CONTROL/STOP 35 30 .s DRIVE_CONTROL 5 … … 37 32 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 33 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 39 .! echo40 34 41 35 # changing tracking to "Mrk 421" Wobble 2 42 43 36 .! 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 47 39 .s DRIVE_CONTROL 5 48 .w 500040 .w 2000 49 41 DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421" 50 42 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 51 43 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 54 45 .s DRIVE_CONTROL 6 55 46 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 56 57 47 .s DRIVE_CONTROL 7 58 48 .! 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 59 50 .! echo 60 51 .w 30000 61 52 62 53 # data taking to "Mrk 421" Wobble 2 63 64 54 .x ScriptsForDimCtrl/DataTaking2 65 #.! echo `date -u` "...normaly here DataTaking2 would be started" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log66 55 67 56 # Stop tracking 68 .w 500057 .w 2000 69 58 DRIVE_CONTROL/STOP 70 59 .s DRIVE_CONTROL 5 71 60 .! echo 72 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log61 .! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 73 62 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 74 63 .! echo
Note:
See TracChangeset
for help on using the changeset viewer.