Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QHY600M - other readout modes does not working #195

Closed
JBielanski opened this issue Aug 21, 2020 · 6 comments
Closed

QHY600M - other readout modes does not working #195

JBielanski opened this issue Aug 21, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@JBielanski
Copy link

Describe the bug
I have QHY600M camera, this camera has a readout modes 0 / 1 / 2 and 3. INDI driver default start with read mode 0 and it is working good. When I try to change read mode to 1 or other then camera stop working (I can not take an image). In INDI logs I found only one feed back information: "QHY CCD QHY600M-a7ca3c4: No response from camera!"
Camera back to normal when I restart INDI driver "indi_qhy_ccd", then it is perfect working on mode 0. Probably is something wrong with INDI camera read mode settings, because when I back from mode 1 to 0 and I tried to get image I always received information: "QHY CCD QHY600M-a7ca3c4: No response from camera!" - only driver restart solve the problem.

To Reproduce

  1. Run driver: indi_qhy_ccd
  2. Change camera 'read mode' from 0 to 1/2 or 3
  3. Try to get a frame

Expected behavior
Only one information which I got is: "QHY CCD QHY600M-a7ca3c4: No response from camera!" and red marker beside camera expose in INDI panel.

Desktop (please complete the following information):

  • OS: Gentoo Linux (kernel: 5.8.0)
  • Version: Local INDI Library: 1.8.6, Code 1.8.6-tgz. Protocol 1.7. (GIT-version from 2020/07/08)

Log Files
"QHY CCD QHY600M-a7ca3c4: No response from camera!"

@JBielanski JBielanski added the bug Something isn't working label Aug 21, 2020
@JBielanski
Copy link
Author

I found bug in "qhy_ccd.cpp", my solution is described on QHYCCD Forum - 'QHY600M - Read Modes switch does not working'

@knro
Copy link
Collaborator

knro commented Aug 27, 2020

That's awesome!! Can you please submit a PR for the fix?

@JBielanski
Copy link
Author

That's awesome!! Can you please submit a PR for the fix?
I attached the archive with modified file. I don't know if my solution is the best but for my purposes it is working. Unfortunately still does not working correctly camera mode. I have to get to know better QHY API because inside the QHY library for Linux are more bugs. This code should be test with other QHYCCD cameras, because I don't know how it behave with others.

indi-3rdparty-1.8.6.zip

@knro
Copy link
Collaborator

knro commented Aug 27, 2020

Ok, hopefully you can get a confirmation from QHY on what's going on exactly.

@JBielanski
Copy link
Author

I have checked new code from GIT with new QHYSDK v20.8.26, they have still bug with Read Modes switching. Finally I create a patch, this patch could by applied by command: patch < qhy_ccd.patch indi-3rdparty/indi-qhy/qhy_ccd.cpp.
qhy_ccd.patch.zip

@knro
Copy link
Collaborator

knro commented Sep 1, 2020

Thank you, patch applied. Please test and re-open if necessary.

@knro knro closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants