Script TheSky  Version 1.32
Public Slots | Properties | List of all members
ClosedLoopSlew Class Reference

The ClosedLoopSlew object. More...

Inheritance diagram for ClosedLoopSlew:

Public Slots

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

Properties

int asynchronous
 The property holds if the ClosedLoopSlew object operates synchronously or asynchronously. More...
 
double lastError
 Returns the error code of the call to exec(). More...
 
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. More...
 

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

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

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. 

\sa lastError, \ref ExceptionsAndErrors 

See the \ref scriptSyncAsync topic for more information about the differences between these methods of execution.

◆ lastError

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.