OSIRIS
wfready script

wfready -- checks and waits for detector to be ready before starting exposure

NAME

wfready -- checks and waits for detector to be ready before starting exposure

WFREADY - OSIRIS library of scripts



SYNOPSIS

wfready mode [-t #]

DESCRIPTION

waits for SPEC or IMAG detector to be ready to start a new exposure
(by monitoring sready or iready keyword) and then exits.
if waiting period exceeds a threshold, then wfready times out and exits
with an error code.

OPTIONS

mode
specifies detector, can be "SPEC" or "IMAG"

-t NUM
ID number to attach to all script generated errors, warnings, and
questions that are passed to the OGS. The ID number is separated
from the rest of the message with a ";".

EXAMPLES

wfready imag
Waits for IMAG detector to be ready

ENIVIRONMENT VARIABLES

none

FILES

none

SERVERS & KEYWORDS

service = osiris
keywords: sready/iready

SCRIPTS CALLED

help, syncheck

EXIT STATUS

0 - normal exit, no error
1 - script aborted by an interrupt
2 - syncheck error
3 - error parsing command line input
4 - time out error

SEE ALSO

???

See Also

The shell script wfready
OSIRIS script index


Go to: OSIRIS Home Page - Instruments Home Page - Keck Home Page

Last modified: Fri Feb 18 02:51:29 2022