Questions tagged [ascom]

The ASCOM Initiative is a loosely-knit group of astronomy software developers and astronomy device manufacturers.

The ASCOM Initiative is a loosely-knit group of astronomy software developers and astronomy device manufacturers devoted to vendor-independent plug-and-play control. ASCOM is a many-to-many and language-independent architecture, supported by most astronomy devices which connect to Windows computers.

(From http://ascom-standards.org/)

9 questions
5
votes
1 answer

Python script for controlling ASCOM CCD camera?

I want to control a CCD astronomical camera in Python using the ASCOM driver, but haven't found an example script to show how it's done. I'd like to see how basic control of the camera is done - set exposure length, start exposure, download image…
nerdfever.com
  • 1,652
  • 1
  • 20
  • 41
2
votes
2 answers

win32com.client.Dispatch Class Label

I am trying to connect to a COM object using python. More specifically, I am using ASCOM standard drivers to connect to a MaxDome II, and do not know how to reference this driver. In this link the author uses "Celestron.Telescope" as their…
Julien Luebbers
  • 59
  • 3
  • 11
2
votes
1 answer

Driveraccess.dll missing from Visual Studio Assemblies

I'm trying to compile the C# sample project from Ascom website: http://ascom-standards.org/. However, using DriverAccess; gives me problems since the compiler cannot locate the dll in the path specified at installation (all done…
Stencil
  • 1,833
  • 1
  • 17
  • 19
1
vote
0 answers

comtypes ndarray with ASCOM safearray problem

It is says that comtypes safearray_as_ndarray context manager will accelerate the reading speed of large array from COM. I tried it with ASCOM camera classes. The ASCOM can return ImageArray int safearray and ImageArrayVariant variant…
fockez
  • 11
  • 1
1
vote
4 answers

guaranteeing code runs in C# finalizers

I am writing an ASCOM telescope driver and I need to guarantee that a few serial port commands are sent to the scope to stop the scope from moving when an client application fails to disconnect properly or crashes. I tried adding a finalizer that…
user964078
  • 33
  • 2
0
votes
1 answer

Generate int[,] array based on Bitmap

I'm currently writing an ASCOM driver which is used to take picture with a SigmaFP camera. Everything works fine but I'm currently hitting a wall when I have to convert my DNG to a standard image array for ASCOM…
Alvin F
  • 1
  • 1
0
votes
1 answer

How to use Regasm.exe to register a COMl for an ASCOM project

I am trying to build a simple solution but always get the following error: Severity Code Description Project File Line Suppression State Error The assembly 'ASCOM.DeviceInterfaces, Version=6.0.0.0, Culture=neutral,…
Anthony
  • 41
  • 2
0
votes
1 answer

Convert object(int[,]} to int[,]

I'm trying to write simple program to get image from astronomy camera, image data is read as object{int[,]} according to this doc: ASCOM.DriverAccess.Camera.ImageArray To display and convert this data to image I want to convert it to 2D int array.…
-3
votes
2 answers

Call an existing class from a c# form

I have a large public class which called Telescope. I have created a new form (form1.cs) and I want to call some of the public void that the class has. I do something like this in the form to initialise the class Telescope controls = new…
evans
  • 23
  • 4