source: trunk/FACT++/ScriptsForDimCtrl/TakeMrk421@ 13265

Last change on this file since 13265 was 13265, checked in by Jens Buss, 13 years ago
some spellchecking in the comments
File size: 2.9 KB
Line 
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
6
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
10.s DRIVE_CONTROL 5
11.w 2000
12DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421"
13.! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
14
15# Wait for drivectrl to reply that its tracking the given source
16.s DRIVE_CONTROL 6
17.! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
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
22
23.w 30000
24
25# starting data taking of "Mrk 421" Wobble 1
26.! echo
27.x ScriptsForDimCtrl/DataTaking1
28
29# Stop tracking
30.w 2000
31DRIVE_CONTROL/STOP
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
36
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
41.s DRIVE_CONTROL 5
42.w 2000
43DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421"
44.! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
45
46# Wait for drivectrl to reply that its tracking the given source
47.s DRIVE_CONTROL 6
48.! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
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
53.w 30000
54
55# data taking to "Mrk 421" Wobble 2
56.! echo
57.x ScriptsForDimCtrl/DataTaking2
58
59# Stop tracking
60.w 2000
61DRIVE_CONTROL/STOP
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
67# ...stopped tracking of Mrk421 at above wobble position
68# ----------------------------------------------------
Note: See TracBrowser for help on using the repository browser.