Procedure Documentation
The automatic telescope has certain canned
commands called procedures that can be requested
remotely.
They are nothing special, but are scripts that execute
entries for the Procedure entity in
the Target database table.
Procedures are rarely invoked manually but usually called
via telco.
- photo- take a picture
- this is database default
- dark- create a dark or bias frame
- morning- morning observatory status e-mail
- noon- daily housekeeping tasks
- skyflat- create an twilight flat
- domeflat- create an dome flat
- cooldown- open observatory early
- allstar- guide star verifier
- focusproc- best focus finder
Some procedures may have additional arguments.
For example:
domeflat high=3000
Procedures or their arguments cannot contain semicolons.
WRITING NEW PROCEDURES
Procedures must be the directory /home/rct/bin.
and are written to accept to additional arguments:
tarid=TargetID
and logid=LogID
For example:
photo tarid=2344 logid=3334
skyflat tarid=3654 logid=9334
Inputs to the procedure are taken from
Target table.
If something goes wrong the procedure should write an
entry to the Message row
of the Log table and
exit with a non-zero code.
RCT Index