[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    Possible bug with exposure timeout in Focus window
From:       Patrick Molenaar <pr_molenaar () hotmail ! com>
Date:       2024-01-16 18:32:03
Message-ID: GV1P195MB176391EC3AEB851D31BE274785732 () GV1P195MB1763 ! EURP195 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

Hi,

Last week there was a clear sky and I had some time to put my gear out afte=
r 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 onl=
y about 10 seconds. I had an L-Extreme filter on my Canon camera and no sta=
rs 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 exp=
osures shorter than 20 seconds were successful. In the end I gave up for th=
at night as I was unable to focus my camera.

The days after that I connected my camera, tried different cables, differen=
t 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 th=
e exposure was cancelled. I found out that in the options of the focus wind=
ow, there is an exposure-timeout setting, which was by default set to 30 se=
conds. 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 ti=
meout was added to the exposure time, so the timeout only occurs a given nu=
mber of seconds after the exposure should have finished. For the exposure t=
imeout 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 abor=
ts the exposure when the exposure time is set to a value longer then the ex=
posure 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 KS=
tars in the past (Bahtinov Focus Assistant), this shouldn't be that diffucu=
lt.

Kind regards,

Patrick Molenaar

[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<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 &quot;Exposure failure, Restarting \
exposure&quot; error message.&nbsp;</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>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic