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

The OpticalTubeAssembly object. More...

Inheritance diagram for OpticalTubeAssembly:

Public Types

enum  MirrorEnum { Primary =0, Secondary =1, Tertiary =2 }
 The mirror enum. More...
 
enum  MirrorCoverStateEnum { MirrorCoverStateUnknown = -1, MirrorCoverClosed = 0, MirrorCoverOpen = 1 }
 The mirror enum. More...
 

Public Slots

int Connect ()
 Connect to the optical tube assembly.
 
int Disconnect ()
 Connect to the optical tube assembly.
 
int startOpenMirrorCover ()
 Initiate opening the mirror cover.
 
int startCloseMirrorCover ()
 Initiate closing the mirror cover.
 

Properties

int isConnected
 This property tells if there is a connection to the OTA.
 
int isMirrorCoverMoving
 Returns 1 if the mirror cover is moving or 0 if not.
 
int lastError
 Returns the error code to the last call to Connect(), Disconnect() or the resulting error code of startOpenMirrorCover(), startCloseMirrorCover().
 
MirrorCoverStateEnum mirrorCoverState
 Returns the state of the mirror cover.
 

Detailed Description

The OpticalTubeAssembly object.

The OpticalTubeAssembly is not available to the general public.

Member Enumeration Documentation

◆ MirrorCoverStateEnum

The mirror enum.

Enumerator
MirrorCoverStateUnknown 

The mirror cover state is unknown.

MirrorCoverClosed 

The mirror cover is open.

MirrorCoverOpen 

The mirror cover is closed.

◆ MirrorEnum

The mirror enum.

Enumerator
Primary 

The prmimary mirror.

Secondary 

The secondary mirror.

Tertiary 

The tertiary mirror.

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