Name
set_state -- reconfigure DEIMOS
Purpose
Change the state of DEIMOS stages or detector systems.
This script is simply a front-end to the restore_state script.
Usage
set_state [-verify] [-debug]
Flags
-(v)erify validate keywords upon completion
-(d)ebug print troubleshooting output
Arguments
None.
Output
None, unless -debug option is set
Restrictions
None.
Exit values
0 = normal completion
1 = error parsing input save file
2 = fatal error
4 = error running script file
8 = error validating keyword
Example
1) Reconfigure DEIMOS motors and stages (in script):
set_state <<EOF
deimot GRATENAM "1200G"
deimot DWFILNAM "OG550"
deimot G3TLTVAL "-18.4"
deiccd TTIME "20"
deiccd MOSMODE "Direct"
deiccd WINDOW "0 0 0 2048 4096"
deiccd OBSTYPE "Object"
EOF
2) Reconfigure DEIMOS motors and stages, with verification:
set_state -v <<EOF
deimot GRATENAM "1200G"
deimot DWFILNAM "OG550"
deimot G3TLTVAL "-18.4"
deiccd TTIME "20"
deiccd MOSMODE "Direct"
deiccd WINDOW "0 0 0 2048 4096"
deiccd OBSTYPE "Object"
EOF
See Also
The shell script set_state
DEIMOS script index
Go to:
DEIMOS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Wed Oct 13 20:38:39 2004