<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 "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>
</body>
</html>