source: trunk/FACT++/ScriptsForDimCtrl/Ratescan.dim@ 14356

Last change on this file since 14356 was 14356, checked in by Jens Buss, 12 years ago
initial commit: dimscript for doing a ratescan
File size: 1.5 KB
Line 
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>-
23DRIVE_CONTROL/TRACK ${R} ${D}
24
25.x ScriptsForDimCtrl/ServiceScripts/IsTracking.dim
26>---------------------------------------
27
28> Preparing FTM_CONTROL
29> ...configure Ratescan
30FTM_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
38RATE_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
Note: See TracBrowser for help on using the repository browser.