ASCOM TEMPLATEDEVICECLASS Driver (C#)



You have just created the skeleton of an ASCOM TEMPLATEDEVICECLASS driver in C#. It produces an in-process (assembly) based driver.


Prior to developing your first driver, please familiarize yourself with the developer information we've provided at the ASCOM Initiative web site (internet required).

You must do the following in order to complete your implementation:

  1. Switch to the Debug configuration and build the template now. It should build without errors.

  2. Add a test project to the solution. There are templates that can be used to add either a console or a Windows Forms application:

  1. Go through the Driver.cs file and replace the System.NotImplemented exceptions with code to implement your driver's functionality. See the ASCOM ITEMPLATEDEVICEINTERFACE spec. If a property or method is not implemented in your driver the System.NotImplemented exception must be replaced by an ASCOM.PropertyNotImplemented or ASCOM.MethodNotImplemented exception.

  2. Customize the Setup Dialog (SetupDialogForm) to provide the settings and other controls for your driver. You can bind settings directly to controls on your dialog form, there's no need to manage settings manually. A custom Settings class takes care of managing your settings behind the scenes.

Notes:

ASCOM Initiative



The ASCOM Initiative consists of a group of astronomy software developers and instrument vendors whose goals are to promote the driver/client model and scripting automation.

See the ASCOM web site for more information. Please participate in the ASCOM-Talk Yahoo Group.