1 | #!dimctrl --exec
|
---|
2 |
|
---|
3 | # ==========================================================================
|
---|
4 | # Ratescan
|
---|
5 | # ==========================================================================
|
---|
6 | # Script for taking a Ratescan
|
---|
7 |
|
---|
8 | # call it by: .x ScriptsForDimCtrl/Ratescan.dim R=<Ra> D=<Dec>
|
---|
9 |
|
---|
10 | # ----------------------------------------------------
|
---|
11 |
|
---|
12 | > ======================================
|
---|
13 | > RATESCAN
|
---|
14 | > ======================================
|
---|
15 | >-
|
---|
16 | > Preparing Drive
|
---|
17 | > ...stopping tracking
|
---|
18 | .x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
|
---|
19 | > ...change tracking of telescope to:
|
---|
20 | > ...Ra = ${R}
|
---|
21 | > ...Dec = ${D}
|
---|
22 | >-
|
---|
23 | DRIVE_CONTROL/TRACK ${R} ${D}
|
---|
24 |
|
---|
25 | .x ScriptsForDimCtrl/ServiceScripts/IsTracking.dim
|
---|
26 | >---------------------------------------
|
---|
27 |
|
---|
28 | > Preparing FTM_CONTROL
|
---|
29 | > ...configure Ratescan
|
---|
30 | FTM_CONTROL/CONFIGURE ratescan
|
---|
31 |
|
---|
32 | >---------------------------------------
|
---|
33 |
|
---|
34 | > Starting Ratescan
|
---|
35 | > ...waiting for Ratescan
|
---|
36 | > to be in state 4: Connected
|
---|
37 | .s RATE_SCAN 4 5000 256
|
---|
38 | RATE_SCAN/START_THRESHOLD_SCAN 50 1000 -10
|
---|
39 | .s RATE_SCAN 6 10000 257
|
---|
40 | > ...processing ratescan
|
---|
41 |
|
---|
42 | > ======================================
|
---|
43 | > Ratescan finished
|
---|
44 | > ======================================
|
---|
45 | .j 301
|
---|
46 |
|
---|
47 | :256
|
---|
48 | >---------------------------------------
|
---|
49 | > Rate_Scan not in correct state
|
---|
50 | >-
|
---|
51 | > OPERATOR:
|
---|
52 | > + check connection to ftm control
|
---|
53 | >---------------------------------------
|
---|
54 | .j 300
|
---|
55 |
|
---|
56 | :257
|
---|
57 | >---------------------------------------
|
---|
58 | > ratescan not started
|
---|
59 | >---------------------------------------
|
---|
60 |
|
---|
61 | :300
|
---|
62 | > ======================================
|
---|
63 | > Ratescan not successfull
|
---|
64 | > ======================================
|
---|
65 | :301
|
---|