focus
Focus the receiver according to the elevation and ambient temperature.
focus until $acquired(focus)
focus_curve command,
and, for the highest frequency receivers,
the focus_tcurve
command. The focus command identifies the
appropriate focus curve for the current temperature, and linearly
interpolates this curve for the optimal focus position of the
current telescope elevation. It then attempts to set this focus
position, as described for
the set_focus command.
A schedule can await the completion of a focusing operation
using the until statement
with the acquired()
function, as follows:
until $acquired(focus)Thereafter, the
focus_acquired()
function can be used to determine whether the focus position was
successfully acquired, or whether the operation timed out.
if($focus_acquired()) {
print "The focus position was successfully acquired."
} else {
print "The focus position was not successfully acquired."
}