Bob Loewenstein's command list of Jan 2000
All commands and keywords are case insensitive.
Syntax is a lone command or a command with keywords; no keywords
without a command.
Keywords are executed first, the command last.
ex: gophot nints=3
set ra=12:13:14.1
continue
continue beam=left
Commands
goPol Starts a polarimetry mode file
goPhot Starts a photometry mode file
sync Using the measured encoder angle (keyword 'hwpangle'), moves the
HWP to zero position and re-inits the HWP motor
abort Aborts an integration file
limit
setTime Sets Mac internal clock to specified time/date (need keywords
'utime' and 'udate')
reset Will reset various control paddles on the mac. May be useful if
things don't seem to work. Otherwise not needed.
initHWP Initializes HWP controller. This will reset the internal
counter to
zero, so you don't really want to do this unless the HWP is
at zero.
Better to use the sync command.
FlipPhase Will flip the current phases for all detectors by 180 degrees.
QuadPhase Will flip the current phases for all detectors by 90 degrees.
abortHWP
Generic Commands
(These do nothing but send an 'OK' back to control, except
for 'set'
which will move HWP if used with keyword 'hwp'.)
continue Used to signal that the telescope has stopped moving after a
nod and
it is ok to start another integration
set Used to set parameters or to move the HWP (using keyword 'hwp')
hk Generic command like 'set'. It will send back an ok and is used
with keywords that will set hk values on the mac (like 'set').
Note that it will not move the HWP, only 'set' will.
Keywords
All keywords execute before the command. A generic command for keywords
is set: or hk:....each will send an ok response back to viper.
ra1 Current telescope RA (sexagemismal)
ra2 Current telescope DEC (sexagemismal)
dec1 Current guide star RA (sexagemismal)
dec2 Current guide star DEC (sexagemismal)
epoch
nints Number of integration pairs (lrrl) per file (integer)
chopsPerFrame Number of chop cycles per frame (integer)
framesPerInt Number of frames per single integration (l or r) (integer)
secondsPerInt Number of seconds per single integration (l or r) (float)...
Use is not recommended...better to use framesPerInt
utime Use with 'setTime' command. (sexigesimal)
uDate Use with 'setTime' command. (mm/dd/yyyy)
Phase Use with any generic command. Phase of all detectors will be
set to this
keyword's argument (integer degrees)
hwpdelay Use with any generic command. Delay after an HWP move is
set to
this keyword's argument (Integer milliseconds)
hwp Use with 'set'. The HWP will move to this keyword's argument value
(integer degrees)
hwpAngle Use with any generic command to set value anghwp in file header.
(float degrees)
attenuate Use with any generic command to set global attenuation value
for all Mac displays. Normally set to 1000 as default. IF YOU
CHANGE THIS VALUE, THE NEW VALUE IS REMEMBERED AS THE DEFAULT)
newDir Use with any generic command. Creates a new directory with argument
as the name. The root directory is the program's parent directory.
(text)
The new directory is where all subsequent files will be written
until a new directory is specified. NOTE: you can't go back
to a
previous directory, you can only create a new directory for later
files.
Assume parent directory is 'sparo'
Examples: set newDir="moon" will create sparo/moon
set newDir=":moon:crater" will create sparo/moon/crater
set newDir="::test" SHOULD create 'test' in sparo's
parent directory
beam Use with any generic command. Tells Mac which beam ('left' or
'right') the telescope is in. (word)
Contact g-novak@nwu.edu. Last updated January 21, 2000