Script TheSky Version 1.33
Loading...
Searching...
No Matches
ClosedLoopSlew Class Reference

The ClosedLoopSlew object. More...

#include <scriptclosedloopslew.h>

Inheritance diagram for ClosedLoopSlew:

Public Slots

int exec ()
 Perform a closed loop slew to the current target identified in TheSky.

Properties

int asynchronous
 The property holds if the ClosedLoopSlew object operates synchronously or asynchronously.
double lastError
 Returns the error code of the call to exec().
int isClosedLoopSlewComplete
 Returns a value that determines if the closed loop slew is complete (non-zero) or if a closed loop slew is in progress.

Detailed Description

The ClosedLoopSlew object.

The ClosedLoopSlew object allows an external program to slew to a target with high accuracy. The high accuracy is obtained by taking two photos, the first photo, after the slew completes to see where the mount actually pointed (by way of an automated astrometric solution), followed by a small centering slew, and finally a photo showing target well centered.

Member Function Documentation

◆ exec

int ClosedLoopSlew::exec ( )
slot

Perform a closed loop slew to the current target identified in TheSky.

Possible method return values

Property Documentation

◆ asynchronous

int ClosedLoopSlew::asynchronous
readwrite

The property holds if the ClosedLoopSlew object operates synchronously or asynchronously.

Set this property to a non-zero value to have this object operate asynchronously. The default is false (zero) so that object operation synchronously.

See the Synchronous vs. Asynchronous Execution topic for more information about the differences between these methods of execution.

◆ isClosedLoopSlewComplete

int ClosedLoopSlew::isClosedLoopSlewComplete
read

Returns a value that determines if the closed loop slew is complete (non-zero) or if a closed loop slew is in progress.

Use this command to determine if a closed loop slew is in progress. Note: This object must be set asynchronous() to true (a non-zero value) for this property to be meaningful.

See also
lastError, Exceptions And Error Codes

See the Synchronous vs. Asynchronous Execution topic for more information about the differences between these methods of execution.

◆ lastError

double ClosedLoopSlew::lastError
read

Returns the error code of the call to exec().

When an error occurs during a closed loop slew, this function retrieves the error code. For production environments, this property should be monitored after every closed loop slew.

ScriptTheSkyX Examples
(C) Software Bisque, Inc. All rights reserved.