Author Topic: QHY8L under Linux  (Read 4787 times)

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #15 on: January 24, 2012, 08:01:04 AM »
Hello,

thank you for OpenCV advice.

But what about temperature control?


Astrodan

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 354
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #16 on: January 24, 2012, 04:40:42 PM »
Hello Andrew,

If power control is DC-201 then code for QHY9 camera should work on QHY8L for temperature control and readout.  Take a look at Giampiero's code in this source.  (Note: this code could be an old version)

If you send Giampiero email with your driver, he will add it to QHYimager which can do the debayer.  And, he can share with you his debayer which already exists.

Best wishes,
Dan

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #17 on: January 26, 2012, 12:34:02 AM »
I've hacked the protocol for temperature control.
Unfortunately qhy9 source code for temperature control does not corresponds to that USB-sniffer under EZCAP really shows...
Besides it, in order to actually save the data I have to send it twice with small delay. It looks like a hardware (or firmware) bug.

So... after all troubles the temperature control for QHY8L works well.
« Last Edit: January 26, 2012, 01:08:35 AM by Galaxy Master »

Clive

  • Developer
  • Sr. Member
  • *
  • Posts: 403
    • View Profile
    • N.H.R.O.
Re: QHY8L under Linux
« Reply #18 on: January 26, 2012, 11:12:49 AM »
Hello Andrew,

Sounds like your getting a real good handle on things for the 8L.
Hope to see some images from you in the near future.
Clive.

http://homepage.ntlworld.com/c.rogers/

Fighting for darker skies.
From 52:26N 01:27W (Coventry, UK)

yump67

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 277
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #19 on: January 27, 2012, 10:57:11 AM »
Hello Andrew,
will you release a qhy8lcapture command line similar to the others we have for wrapper use?

I have a friend that just received one and so I can test and configure the qhyImager against the real thing.

Thank you
Giampiero
Giampiero

QiuHY

  • Administrator
  • Hero Member
  • *****
  • Posts: 3558
    • Facebook
    • Twitter
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #20 on: January 27, 2012, 11:37:43 PM »
Hello,

        Please check http://qhyccd.com/ccdbbs/index.php?topic=1948.0

The soucecode of QHYCAM.dll


Best regards,

yump67

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 277
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #21 on: January 28, 2012, 08:07:56 AM »
Thank you very much Dr. Qiu.
That one page was one of my sources when I wrote the command line capture for QHY9 and my prototype.
Others where the many excerpt from EZcap that you kindly published.

Nevertheless it took some time to find the correct image size parameter that keep the camera "in sync".
I was trying to take a shortcut for this one camera.

Thank you again
Giampiero

 
Giampiero

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #22 on: February 04, 2012, 02:37:42 AM »
Hello Andrew,
will you release a qhy8lcapture command line similar to the others we have for wrapper use?

I have a friend that just received one and so I can test and configure the qhyImager against the real thing.

Thank you
Giampiero

Hello Giampiero,

I did not write any command line tool for QHY8L. All code for this camera is in the corresponding module of my CCD program.
It will be reased soon.
You will be notified on it.

yump67

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 277
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #23 on: February 04, 2012, 07:56:59 AM »
Thank you Andrew.
I'll try to use your code as a guideline for a command line capture.

Since we're talking about lin_guider, I have two small requests:
- any chance you'll add long exposure support (on the serial port) for the philips webcams?
- will you release a deb file for the latest version?

Thank you again
Giampiero
Giampiero

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #24 on: February 06, 2012, 11:32:42 AM »
- any chance you'll add long exposure support (on the serial port) for the philips webcams?
- will you release a deb file for the latest version?

1. I would be glad to add support of modified webcams, but I've non-modified SPC900NC and no one have askes this feature.
2. Unfortunately I've no experience in the creation of packages... and as far as I understand It should be created two versions for 32 and 64 bits Linux distributives.

PS. If you have woking source code for modified webcams, please let me know :)

yump67

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 277
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #25 on: February 07, 2012, 01:36:54 PM »
Hello Andrew,
1) believe me there are moments when even with a 70/500 and a 0.5 reducer it's impossible to have a suitable guidestar @1/4s exp time.
This is usually completely cured once you can have 1-1.5s exp time for guiding.
Also the 50' fov of the above configuration can really help put faint objects in  the fov of the main camera if one can take a say 10-20s exposure in time to time.
Unfortunately I have no code to share about this, but if you need documentation on how to perform a modification and how it works I can help.

2) Once you grasp the basics it can even save you time as all the magic is done by the package manager with little configuration that you may set up.
I started from here: http://thedarkmaster.wordpress.com/2008/05/24/how-to-create-manipulate-a-deb-file-of-a-compiled-application/
If an application works on both 32 and 64 bit it can be simply marked "Architecture: all".

Too bad the .deb package is not good for all distributions: red hat and derivative use another (.rpm).
There indeed is a translation package (called alien) from .deb to .rpm but it appears that it must be handled with some care.
(http://kitenet.net/~joey/code/alien/)

Ciao
Giampiero
Giampiero

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #26 on: February 19, 2012, 12:17:14 PM »
Hello gentlemen.

Debayerization for QHY8L is almost written.
I'll release new version of CCD with support of this camera soon.

yump67

  • InterCamDeveloper
  • Sr. Member
  • *
  • Posts: 277
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #27 on: February 20, 2012, 07:54:54 AM »
Hello gentlemen.

Debayerization for QHY8L is almost written.
I'll release new version of CCD with support of this camera soon.
Hello Andrew,
that's nice to hear, indeed!

I long to see some capture (and screen capture).
Well done!

Ciao
Giampiero
Giampiero

Clive

  • Developer
  • Sr. Member
  • *
  • Posts: 403
    • View Profile
    • N.H.R.O.
Re: QHY8L under Linux
« Reply #28 on: February 22, 2012, 11:01:21 AM »
Hello Andrew,

Yes your software is coming along nicely.    Keep up the good work.
Clive.

http://homepage.ntlworld.com/c.rogers/

Fighting for darker skies.
From 52:26N 01:27W (Coventry, UK)

Galaxy Master

  • Developer
  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: QHY8L under Linux
« Reply #29 on: February 24, 2012, 02:25:57 AM »
Hello gentlemen.

This is the first color kitchen "astrophoto" captured by my QHY8L. (Debayerization code written by my brother, color correction from SONY datasheet)
 ;D