PDA

View Full Version : Poll: ASCOM Driver Users



Schnaejel
January 20, 2009, 14:44:52
Hi Folks,

I like to use this thread to get know, who is using my ascom driver for the TIS astronomy cameras. Further i like to know, what features you like to see in the next version of this driver.

Please let me know!

Kind regeards,

Gerrit

cavadore
January 22, 2009, 00:02:51
Hello,

I'm implementing the camera ASCOM driver in my software, see here
http://www.prism7.fr/
and I'm using a DMK camera as a test.
I have installed the Ascom platform and the driver.

Since I can't sent a message to the driver's author (bug in the website), I'm using this forum to ask questions.

When connecting to the camera I got this panel
http://astrosurf.com/cavadore/divers/dmk_1.jpg

This is OK
Just after connection, I got the setup panel
I cannot get it, it looks this : :mad:
http://astrosurf.com/cavadore/divers/dmk_3.jpg

This control seems to hang..refresh does not work...

Instead of this (screen copy from the documentation)
http://astrosurf.com/cavadore/divers/dmk_2.jpg

There's a bug somewhere
:confused:

NB : In my application I do not run the ASCOM ActiveX in the main's application thread, the ASCOM ActiveX runs into its own thread.

Thanks

Cyril

Schnaejel
January 22, 2009, 10:54:09
Hi Cyril,

can you provide me a link to your software for testing?

Is there also an english site?

Thanks in advance and kind regards,

Gerrit

cavadore
January 22, 2009, 13:21:12
Hi Cyril,

can you provide me a link to your software for testing?

Is there also an english site?

Thanks in advance and kind regards,

Gerrit

yes I will, but this is not yet ready for that... I need it to be more complete.
I have the feelling that since i'm not running your classes into the main application thread, it seems to hang.

I may put back the Camera ASCOM object back into the main thread .... (or
at least offer the user the option of doing so)...
If you driver does not introduce processing delays into the main thread,
this is Ok by me...
Imagine a camera that block the application main thread while reading its
sensor ?? The mouse will be stucked and the user will think that the application has crashed.
Because this is very important for Prism not to be stuck by a piece of
code I do not handle/know.
All the telescope stuff are running into its own thread, this is very good because, they could be a LOT of devices running at the same time (telescope, focuser, dome, filterwheel, weather stations...)
I'm not far enough to give you prism, I do not get yet an image, I'm struggling
with safearray (this is the first time I'm using them).

I don't have currently an English version ready for release, It will but not within a week, I need first to complete this camera Ascom interface.

Thanks

Schnaejel
January 22, 2009, 23:31:40
Hi Cyril,

I think you can put it into the main thread. The ascom driver uses its own thread to do the exposure. StartExposure is finally only there to start this thread. During the thread runs, you can poll the drivers state. If the imageReady = true, you can call ImageArray to fetch the image. MaximDL does this and it seems to work. Only the thread inside the driver uses a delay, but it is as long as the exposure lasts. While the exposure runs, you can poll the cameras properties without with immediate return of a value.

Kind regards,
Gerrit

cavadore
January 23, 2009, 02:22:27
Hi,
I put back the ASCOM calls into the main application's thread.
Now, I can run perfectly the ASCOM simulator camera and also the QHY5 Cmos camera (QHY / Orion Starshoot Autoguider) and the DMK/DBK driver !
I have also got the setup panel working fine !!

So I must say this is a good job!
Congratulations !
Thanks

Schnaejel
January 23, 2009, 10:06:07
Hi Cyril,

thank you very much!!!

Does your software use english on the user interface?

Regards,
Gerrit

cavadore
January 23, 2009, 22:19:04
Hi Gerrit,

I plan to release an English release of Prism v7 asap ..
Matter of week or two.

Regards,
Cyril

cavadore
February 3, 2009, 19:52:34
Hello :

I have setup a web page with the English release to download :

http://astrosurf.com/cavadore/Prism/eng/index.html


Thanks !!