Skip to content

lkcheng89/starbook

Repository files navigation

ASCOM Driver for Vixen Starbook

This repository provides the ASCOM driver for Vixen Starbook series telescope controllers. This driver is developed and tested with Starbook S, and it should be also supported Starbook & Starbook TEN.

Prerequisites

In order to use this driver you need to install:

Installing

Execute StarbookDriver-v<MajorVersion>.<MinorVersion>.exe, follow the instruction of setup program and everything will be done automatically. The name of telescope driver will be called Starbook in chooser dialog of ASCOM platform.

Building

Compile source code

Launch Microsoft Visual Studio and open Starbook.sln located at the root directory, build solution from the menu "Build > Build Solution" or accelerator key "F6".

Suggest "Run as administrator" because "Register for COM interop" requires administrator's privileges in Debug mode.

Register ASCOM driver

$(FrameworkDir)\regasm.exe /codebase bin\Release\ASCOM.Starbook.Telescope.dll

* $(FrameworkDir) is located at C:\Windows\Microsoft.NET\Framework\v4.0.30319 for 32-bits platform;
* $(FrameworkDir) is located at C:\Windows\Microsoft.NET\Framework64\v4.0.30319 for 64-bits platform.

This step is ommitted when build in Debug mode, this is required only when build in Release mode.

Unregister ASCOM driver

$(FrameworkDir)\regasm.exe -u bin\Release\ASCOM.Starbook.Telescope.dll

Create setup program

Launch Inno Setup and open StarbookSetup.iss located at the root directory, click Run button or accelerator key "F9" to create the setup program named StarbookDriver-v<MajorVersion>.<MinorVersion>.exe.

Usage

Report me an issue if you find any problem during your usage. Stay up a night with clear sky.