-
Notifications
You must be signed in to change notification settings - Fork 117
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
QHY Camera seems to capture asynchronously #1050
Comments
I had a look at the INDIGO indigo_ccd_qhy2 driver, which is not exhibiting this discrepancy in timings.
When I get back my camera, I will try a modified cam_qhy.cpp, with the above modifications, to check if it makes the capture synchronous. |
I suspect you’re chasing smoke here. There are hundreds of users with QHY guide cameras who don’t have problems. It looks to me like there is a forced 200ms delay imposed after the return of the call to ExpQHYCCDSingleFrame, are you taking that into account? If you have become convinced that your guiding problems are being caused by some kind of corrupted guide camera frames, you should enable diagnostic image logging in PHD2 and capture as many guide cam images as you want. You can pull them into an image display app, blink them, and see what happens. Even better, you could submit your guide logs and let us look at what’s wrong.
Bruce
From: je-lamiaud ***@***.***>
Sent: Thursday, March 23, 2023 8:29 AM
To: OpenPHDGuiding/phd2 ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [OpenPHDGuiding/phd2] QHY Camera seems to capture asynchronously (Issue #1050)
I had a look at the INDIGO indigo_ccd_qhy2 driver, which is not exhibiting this discrepancy in timings.
There are some obvious differences with cam_qhy.cpp :
* After calling ExpQHYCCDSingleFrame the INDIGO driver starts a timer for the duration of the exposure. This may imply that this call does return before exposure end.
* Before reading the image data with GetQHYCCDSingleFrame, the INDIGO driver ensures that GetQHYCCDExposureRemaining returns a value under 100.
When I get back my camera, I will try a modified cam_qhy.cpp, with the above modifications, to check if it makes the capture synchronous.
—
Reply to this email directly, view it on GitHub <#1050 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADDHSVZ4IONNI6NCWLP3ILDW5RT4XANCNFSM6AAAAAAWFKPMFA> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ADDHSV4JQ5T3XHPU6HKOO5DW5RT4XA5CNFSM6AAAAAAWFKPMFCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSYJRV3C.gif> Message ID: ***@***.*** ***@***.***> >
|
Well the debug log is quite self explantory; the capture is not synchronous. I now got back my camera and mount. I experimented a bit before finding out how to make the QHY camera capture synchronous. The RMS RA error is cut in half when compared to the asynchronous version, which now makes the mount usable for long exposures. Sorry for the inconvenience, I will not bother you anymore. |
@je-lamiaud let's not be hasty here, we are interested in your findings! |
@agalasso He already applied the require changes on his fork. |
I'm using PHD2 (2.6.11dev4) on MacOS 12 with a QHY5III178 guide camera ("QHY Camera" in the selector).
While investigating guiding on a lousy mount, I stumbled upon something strange.
The debug log shows:
Whatever the time spent guiding the mount, the exposure ends 1000 ms (exposure time) after the previous exposure, not 1000 ms after the "Handling exposure" log which is supposed to start it.
I have corrections overshoot leading to oscillation of the guiding, which can be caused by a non synchronous capture from the camera.
Unfortunately, I have no longer my mount and guide cam available for some further investigation. This will have to wait for two weeks.
Does the QHY Camera exhibit the same behaviour on other OSes ?
The text was updated successfully, but these errors were encountered: