[prev in list] [next in list] [prev in thread] [next in thread]
List: kstars-devel
Subject: Re: Possible bug with exposure timeout in Focus window
From: John Evans <john.e.evans.email () gmail ! com>
Date: 2024-01-16 23:29:38
Message-ID: 20A82E77-F33A-4FD5-A0AE-608D233E0A12 () gmail ! com
[Download RAW message or body]
Hi Patrick,
Good spot! I think your suggestion to deal with the timeout in the same way as \
capture is a good idea.
Feel free to change it. If you like you can add me as a reviewer on the MR.
It would probably be worth making the default timeout in Focus the same as Capture \
(assuming it's a sensible default - I haven't checked). (This is the part of the \
timeout excluding the exposure).
Regards,
John.
On 16 Jan 2024, at 18:32, Patrick Molenaar <pr_molenaar@hotmail.com> wrote:
Hi,
Last week there was a clear sky and I had some time to put my gear out after months \
of rain. After setting up my gear I tried to take an exposure for determining the \
focus. At first the exposure was successful, but it was only about 10 seconds. I had \
an L-Extreme filter on my Canon camera and no stars were visible. So I tried a longer \
exposure, about 30 seconds, this time I got an "Exposure failure, Restarting \
exposure" error message. Each time I tried the exposure was aborted after about 23 \
seconds. Only exposures shorter than 20 seconds were successful. In the end I gave up \
for that night as I was unable to focus my camera.
The days after that I connected my camera, tried different cables, different camera \
settings, but every time when the expose was longer then about 23 seconds, it was \
cancelled before it was finished.
Eventually I started looking in the sourcecode of KStars and found where the exposure \
was cancelled. I found out that in the options of the focus window, there is an \
exposure-timeout setting, which was by default set to 30 seconds. When I increased \
this setting to a higher value, I was able to make longer exposures, but when the \
exposure time was greater then the exposure timeout setting, the exposure was aborted \
again.
In other locations in the sourcecode of KStars I found that the exposure timeout was \
added to the exposure time, so the timeout only occurs a given number of seconds \
after the exposure should have finished. For the exposure timeout in the focus dialog \
this was not the case.
Is this a bug in the software?
Or was it intended to have a fixed timeout for the focus windows, that aborts the \
exposure when the exposure time is set to a value longer then the exposure timeout.
If it is a bug, I am aslo willing to make a fix for it; please let me know. As my \
profession is software designer and I have made a contribution to KStars in the past \
(Bahtinov Focus Assistant), this shouldn't be that diffucult.
Kind regards,
Patrick Molenaar
[Attachment #3 (text/html)]
<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto">Hi Patrick,<div><br></div><div>Good spot! I \
think your suggestion to deal with the timeout in the same way as capture is a good \
idea.</div><div><br></div><div>Feel free to change it. If you like you can add me as \
a reviewer on the MR.</div><div><br></div><div>It would probably be worth making the \
default timeout in Focus the same as Capture (assuming it's a sensible default - I \
haven't checked). (This is the part of the timeout excluding the \
exposure).<br><br><div dir="ltr">Regards,<div>John.</div></div><div dir="ltr"><br>On \
16 Jan 2024, at 18:32, Patrick Molenaar <pr_molenaar@hotmail.com> \
wrote:<br><br></div><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: \
11pt;">Hi,</span></div> <div class="elementToProof" style="font-family: Verdana, \
Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: \
11pt;"><br> </span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">Last week \
there was a clear sky and I had some time to put my gear out after months of rain. \
After setting up my gear I tried to take an exposure for determining the focus. At \
first the exposure was successful, but it was only about 10 seconds. I had an \
L-Extreme filter on my Canon camera and no stars were visible. So I tried a longer \
exposure, about 30 seconds, this time I got an "Exposure failure, Restarting \
exposure" error message. </span></div> <div class="elementToProof" \
style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, \
0);"> <span style="font-size: 11pt;">Each time I tried the exposure was aborted after \
about 23 seconds. Only exposures shorter than 20 seconds were successful. In the end \
I gave up for that night as I was unable to focus my camera.</span></div> <div \
class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: \
10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;"><br>
</span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">The days after \
that I connected my camera, tried different cables, different camera settings, but \
every time when the expose was longer then about 23 seconds, it was cancelled before \
it was finished.</span></div> <div class="elementToProof" style="font-family: \
Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span \
style="font-size: 11pt;"><br> </span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">Eventually I \
started looking in the sourcecode of KStars and found where the exposure was \
cancelled. I found out that in the options of the focus window, there is an \
exposure-timeout setting, which was by default set to 30 seconds. When I increased \
this setting to a higher value, I was able to make longer exposures, but when the \
exposure time was greater then the exposure timeout setting, the exposure was aborted \
again.</span></div> <div class="elementToProof" style="font-family: Verdana, Geneva, \
sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: \
11pt;"><br> </span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">In other \
locations in the sourcecode of KStars I found that the exposure timeout was added to \
the exposure time, so the timeout only occurs a given number of seconds after the \
exposure should have finished. For the exposure timeout in the focus dialog this was \
not the case.</span></div> <div class="elementToProof" style="font-family: Verdana, \
Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: \
11pt;"><br> </span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">Is this a bug \
in the software?</span></div> <div class="elementToProof" style="font-family: \
Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span \
style="font-size: 11pt;">Or was it intended to have a fixed timeout for the focus \
windows, that aborts the exposure when the exposure time is set to a value longer \
then the exposure timeout.</span></div> <div class="elementToProof" \
style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, \
0);"> <span style="font-size: 11pt;"><br>
</span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">If it is a \
bug, I am aslo willing to make a fix for it; please let me know. As my profession is \
software designer and I have made a contribution to KStars in the past (Bahtinov \
Focus Assistant), this shouldn't be that diffucult.</span></div> <div \
class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: \
10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;"><br>
</span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">Kind \
regards,</span></div> <div class="elementToProof" style="font-family: Verdana, \
Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: \
11pt;"><br> </span></div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; \
font-size: 10pt; color: rgb(0, 0, 0);"> <span style="font-size: 11pt;">Patrick \
Molenaar<br> </span></div>
</div></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic