Ignore:
Timestamp:
08/14/12 09:46:18 (12 years ago)
Author:
Jens Buss
Message:
changed to new variable names and options
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/ScriptsForDimCtrl/Ratescan.dim

    r14356 r14363  
    66# Script for taking a Ratescan
    77
    8 # call it by: .x ScriptsForDimCtrl/Ratescan.dim R=<Ra> D=<Dec>
     8# call it by: .x ScriptsForDimCtrl/Ratescan.dim mode=<trackmode> ra=<Right ascension> dec=<Declination> source=<source_name>
    99
    1010# ----------------------------------------------------
     
    1515>-
    1616> Preparing Drive
    17 > ...stopping tracking
     17> ...stop tracking
     18.j ${mode}
     19
     20# --------------------------------------
     21
     22:0
     23.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
     24> Manual tracking Mode
     25> ---------------------
     26> OPERATOR
     27> change tracking in drivectrl manually
     28>_
     29> script will wait for drive
     30> to be in state tracking
     31>-
     32.j 9
     33
     34# --------------------------------------
     35
     36:1
    1837.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
    1938> ...change tracking of telescope to:
    20 > ...Ra  = ${R}
    21 > ...Dec = ${D}
     39> ...Ra  = ${ra}
     40> ...Dec = ${dec}
    2241>-
    23 DRIVE_CONTROL/TRACK ${R} ${D}
     42DRIVE_CONTROL/TRACK ${ra} ${dec}
     43.j 9
    2444
     45# --------------------------------------
     46
     47:2
     48.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
     49> ...change tracking of telescope to:
     50> ...${source}
     51>-
     52DRIVE_CONTROL/TRACK_SOURCE 0 0 \"${source}\"
     53.j 9
     54
     55# --------------------------------------
     56
     57:9
    2558.x ScriptsForDimCtrl/ServiceScripts/IsTracking.dim
    2659>---------------------------------------
     
    3366
    3467> Starting Ratescan
    35 > ...waiting for Ratescan 
     68> ...waiting for Ratescan
    3669>    to be in state 4: Connected
    3770.s RATE_SCAN 4 5000 256
     
    4780:256
    4881>---------------------------------------
    49 > Rate_Scan not in correct state 
     82> Rate_Scan not in correct state
    5083>-
    5184> OPERATOR:
     
    6194:300
    6295> ======================================
    63 > Ratescan not successfull
     96> Ratescan NOT successfull
    6497> ======================================
    6598:301
Note: See TracChangeset for help on using the changeset viewer.