Changeset 13349 for trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
- Timestamp:
- 04/16/12 14:29:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
r13265 r13349 1 1 # Data taking and tracking script for Mrk 421 starting up... 2 .! echo 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "Data taking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > 3 > ---------------------------------------------------- 4 > Data taking and tracking script for Mrk 421 starting up... 5 > ---------------------------------------------------- 6 6 7 7 # changing tracking to "Mrk 421" Wobble 1 8 .! echo `date -u` "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 9 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 8 > moving telescope to wobble position 1 9 > ...waiting for drivectrl to be ready to move 10 10 .s DRIVE_CONTROL 5 11 11 .w 2000 12 12 DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421" 13 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 13 > ...sent tracking command 14 14 15 15 # Wait for drivectrl to reply that its tracking the given source 16 16 .s DRIVE_CONTROL 6 17 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log17 > ...moving 18 18 .s DRIVE_CONTROL 7 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 21 .! echo 19 > ...tracking above written wobble position 20 > ...waiting 30 sec for drive to calm down 21 > 22 22 23 23 .w 30000 24 24 25 25 # starting data taking of "Mrk 421" Wobble 1 26 .! echo 26 > 27 27 .x ScriptsForDimCtrl/DataTaking1 28 28 … … 31 31 DRIVE_CONTROL/STOP 32 32 .s DRIVE_CONTROL 5 33 .! echo 34 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 35 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 33 > 34 > ...stopped tracking of above wobble position 35 > ---------------------------------------------------- 36 36 37 37 # changing tracking to "Mrk 421" Wobble 2 38 .! echo 39 .! echo `date -u` "moving telescope to wobble position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 40 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 > 39 > moving telescope to wobble position 2 40 > ...waiting for drivectrl to be ready to move 41 41 .s DRIVE_CONTROL 5 42 42 .w 2000 43 43 DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421" 44 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 44 > ...sent tracking command 45 45 46 46 # Wait for drivectrl to reply that its tracking the given source 47 47 .s DRIVE_CONTROL 6 48 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log48 > ...moving 49 49 .s DRIVE_CONTROL 7 50 .! echo `date -u` "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 51 .! echo `date -u` "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 52 .! echo 50 > ...tracking above written wobble position 51 > ...waiting 30 sec for drive to calm down 52 > 53 53 .w 30000 54 54 55 55 # data taking to "Mrk 421" Wobble 2 56 .! echo 56 > 57 57 .x ScriptsForDimCtrl/DataTaking2 58 58 … … 61 61 DRIVE_CONTROL/STOP 62 62 .s DRIVE_CONTROL 5 63 .! echo 64 .! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 65 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 66 .! echo 63 > 64 > ...stopped tracking of Mrk421 at above wobble position 65 > ---------------------------------------------------- 66 > 67 67 # ...stopped tracking of Mrk421 at above wobble position 68 68 # ----------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.