Changeset 13349 for trunk/FACT++/ScriptsForDimCtrl/TakeCrab
- Timestamp:
- 04/16/12 14:29:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/ScriptsForDimCtrl/TakeCrab
r13264 r13349 1 1 # Data taking and tracking script for Crab starting up... 2 .! echo 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "Data taking and tracking script for Crab starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > 3 > ---------------------------------------------------- 4 > Data taking and tracking script for Crab starting up... 5 > ---------------------------------------------------- 6 6 7 7 # changing tracking to Crab 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 5000 12 12 DRIVE_CONTROL/TRACK_SOURCE 0.6 50 Crab 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 downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 21 .! echo 19 > ...tracking above written wobble position 20 > ...waiting 30 sec for drive to calm downe 21 > 22 22 .w 30000 23 23 24 24 # starting data taking of Crab Wobble 1 25 .! echo 25 > 26 26 .x ScriptsForDimCtrl/DataTaking1 27 27 … … 30 30 DRIVE_CONTROL/STOP 31 31 .s DRIVE_CONTROL 5 32 .! echo 33 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 34 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 35 .! echo 32 > 33 > ...stopped tracking of above wobble position 34 > ---------------------------------------------------- 35 > 36 36 37 37 # changing tracking to Crab 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 5000 43 43 DRIVE_CONTROL/TRACK_SOURCE 0.6 -130 Crab 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 downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 50 > ...tracking above written wobble position 51 > ...waiting 30 sec for drive to calm downe 52 52 .w 30000 53 53 54 54 # data taking to Crab Wobble 2 55 .! echo 55 > 56 56 .x ScriptsForDimCtrl/DataTaking2 57 57 … … 60 60 DRIVE_CONTROL/STOP 61 61 .s DRIVE_CONTROL 5 62 .! echo 63 .! echo `date -u` "...stopped tracking of Crab at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 64 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 65 .! echo 62 > 63 > ...stopped tracking of Crab at above wobble position 64 > ---------------------------------------------------- 65 > 66 66 # ...stopped tracking of Crab at above wobble position 67 67 # ----------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.