Below are commands that include both telescope and CCD imaging operations.


gotolightsave

Syntax: gotolightsave exptime objectname <delay>

This command searches the built-in object databases for "objectname", moves the telescope there, takes a normal CCD image, and saves the image. The telescope can be moved to a specific position by using the format "#RA,DEC". The exposure is "exptime" seconds long (up to 3600 seconds - fractional seconds are ok). The variable FILTERINDEX specifies the optical filter to be used. The image is saved in the directory specified by the IMAGEDIRECTORY variable with a filename of "objectname-XXXX.fit", where "XXXX" is an optional (controlled by the boolean state of the IMAGECOUNTERENABLED variable) auto-incrementing image counter (from the IMAGECOUNTER variable). The optional "delay" parameter causes a delay (in integer seconds) after the telescope has been moved. The variables CCDERROR and TELESCOPEERROR are set accordingly.

solveandsync

Syntax: solveandsync exptime rings <dosync> <SETAUTOFLIP>

This command takes a normal CCD image, astrometrically solves the image (see the solveplate command for details), and if successful it synchronizes the telescope to the solved position if "dosync" is "true". The exposure is "exptime" seconds long (up to 3600 seconds - fractional seconds are ok). The variable FILTERINDEX specifies the optical filter to be used. If an error occurs taking the image, CCDERROR is set to true.

If the optional "SETAUTOFLIP" text is present, the variables FLIPX and FLIPY are updated. The current telescope position is used as the initial position. The image is saved as "pinpoint.fit" in the directory specified by the IMAGEDIRECTORY variable. The variable POSITIONERROR is set to the difference, in arc-minutes, between the initial and synced telescope position (-1 if an error occurs). The variable PINPOINTERROR is set accordingly.

autocentre or autocenter

Syntax: autocentre minimum
Syntax: autocenter minimum

This command finds the brightest star in the just-exposed CCD image. If it is brighter than "minimum" counts, the telescope is moved to position the star in the center of the field. It is assumed that north is up in the image and the variables PIXELSIZEX and PIXELSIZEY are set correctly. The variable TELESCOPEERROR is set accordingly. Note: this command is not supported when variable CCDCAMERA is set to 2.

autosync

Syntax: autosync objectname exptime minimum <delay>

This command searches the built-in object databases for "objectname", moves the telescope there, takes a normal CCD image, and finds the brightest star in the image If it is brighter than "minimum" counts, the telescope is moved to position the star in the center of the field and the telescope is synchronized on the "objectname". The exposure is "exptime" seconds long (up to 3600 seconds - fractional seconds are ok). The variable FILTERINDEX specifies the optical filter to be used. The optional "delay" parameter causes a delay (in integer seconds) after the telescope has been moved. It is assumed that north is up in the image and the variables PIXELSIZEX and PIXELSIZEY are set correctly. The variables CCDERROR and TELESCOPEERROR are set accordingly.

batch

Syntax: batch filename.obj exptime <delay>

This command takes normal CCD images of a batch of objects whose names are in the text file "filename.obj". The exposure is "exptime" seconds long (up to 3600 seconds - fractional seconds are ok). The variable FILTERINDEX specifies the optical filter to be used. The image is saved in the directory specified by the IMAGEDIRECTORY variable with a filename of "objectname-XXXX.fit", where "XXXX" is an optional (controlled by the IMAGECOUNTERENABLED variable) auto-incrementing image counter (from the IMAGECOUNTER variable). The optional "delay" parameter causes a delay (in integer seconds) after the telescope has been moved.