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

Last change on this file since 13189 was 13185, checked in by Jens Buss, 13 years ago
spell check
File size: 2.8 KB
Line 
1# DIM_CONTROL: MRK421 tracking and data taking
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 repley 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.w 30000
23
24# starting data taking of "Mrk 421" Wobble 1
25.x ScriptsForDimCtrl/DataTaking1
26
27# Stop tracking
28.w 2000
29DRIVE_CONTROL/STOP
30.s DRIVE_CONTROL 5
31.! echo
32.! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
33.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
34
35# changing tracking to "Mrk 421" Wobble 2
36.! echo
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
39.s DRIVE_CONTROL 5
40.w 2000
41DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421"
42.! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
43
44# Wait for drivectrl to reply that its tracking the given source
45.s DRIVE_CONTROL 6
46.! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
47.s DRIVE_CONTROL 7
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
50.! echo
51.w 30000
52
53# data taking to "Mrk 421" Wobble 2
54.x ScriptsForDimCtrl/DataTaking2
55
56# Stop tracking
57.w 2000
58DRIVE_CONTROL/STOP
59.s DRIVE_CONTROL 5
60.! echo
61.! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
62.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
63.! echo
64
Note: See TracBrowser for help on using the repository browser.