OSIRIS
wfgo script

wfgo -- waits for an exposure to finish

NAME

wfgo -- waits for an exposure to finish

WFGO - OSIRIS library of scripts



SYNOPSIS

wfgo mode [-t #]

DESCRIPTION

waits for current SPEC or IMAG exposure to finish (by monitoring
imagedone keyword) and then exits.
if waiting period exceeds a threshold, then wfgo 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

wfgo imag
Waits for current IMAG exposure to complete

ENIVIRONMENT VARIABLES

none

FILES

none

SERVERS & KEYWORDS

service = osds/oids
keywords: itime, coadds, numreads, imagedone

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 wfgo
OSIRIS script index


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

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