-
Notifications
You must be signed in to change notification settings - Fork 184
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
ASI_ERROR_TIMEOUT always #460
Comments
I'm having the same issue. |
@KrisAstro, are you using the latest capture.cpp, updated 5 days ago? |
Hi Eric, yes, is the last release of capture.cpp (I upgraded 2 days ago) and she's plugged directly to the pi and yes I used the prior version all summer. Like Mike, I tested the camera with an other program (AstroDmxCapture for me) and she is work fine. I tried with and without autousb, usb speed from 40 to 80, with and without newexposure without success. I directly used the capture program like that : ./capture -autousb 0 - usb 40 -latitude 43.8N -longitude 5.93E -newexposure 0 -debuglevel 1 -dayautoexposure 1 -daytime 1 |
i have the same, here Saving images with delay of 5000 ms (5 sec) i have install it to day from the GIT, the previous version worked. Besides this should be solved is there a way to get version 0.7 or before that from some where |
Hi, I think i have found my problem.... the day exposure value is by default at .5 (0,0005 second) . I think this value is too small (especially for my asi 120). I tried to set to 500 (1/2 second) and it work now. I hope this tips must be help. |
No success, At this site still the following errors I played with the USB Setings no success Chris |
@KrisAstro, @mpv1953, Let me know how it goes. |
@calberts, please the file above and report back if it worked or not. |
Just pulled latest code from repo few minutes ago and now mine is also getting this same error :| Will try to investigate more. |
I turned debugLevel to 5 and saw this:
Now seeing this:
|
This was also fixed by increasing the timeout like @ckuethe did in his PR: https://github.com/thomasjacquin/allsky/pull/475/files |
./capture itself is now working without errors but allsky.sh still gets same errors
|
I was only getting timeouts with heavy usb contention, regular imaging worked just fine. 1500 was a fairly arbitrary choice that happened to be a relatively small change that would probably address my likely issue: lots of usb I/O doing end of night processing. It might be useful to investigate the relationship between image size, bit depth, bandwidth, and other usb traffic... Under real world conditions. |
Do you get timeouts with both the new and old exposure algorithm? |
Setting the newexposure to 1 in settings does get rid of the timeout issue when running ./allsky.sh. No errors displayed but my site not updating.. checking what that is.. |
Crap.. the install overwrote my original ftp settings file :( |
For all this time out errors, when you see them, please check #417 the solution provide by Eric worked for me. I have now lucky working version again Clear night Chris |
@ckuethe, I assume you have a USB3 disk attached to your Pi that's causing the heavy I/O? |
USB2. This was intentionally pushing the bus. |
@ckuethe, can you do me a favor and look at the "use_new_exposure_algorithm" code in the latest capture.cpp and see if you can tell why it doesn't seem to be working for everyone when they set "newexposure" to 0? I have a newer capture.cpp with that code and other changes that a few people have successfully used, so I can't figure out why the current capture.cpp doesn't seem to work. |
Sure. While we're digging into things, can you put up a PR or a fork or something with the same changes as in your zip file? It's easier to see what changes that way... |
OK, I figured it out. There's exactly one place now that Anyone using the old mode would be trying to call This would also explain flooding my dmesg with bus resets - I'm not sure of the benefit of starting/stopping video mode for every frame. It would be nice if ZWO could explain why that's supposed to be better, and it would be great if they could fix it. |
@KrisAstro, |
Thank Eric for you time and you investigations. Since, I've completely reinstall my system and it work fine now. I'll do the update soon. Christian |
IIUC, single captures don't do autoexposure, while video mode allows the camera to autoadjust. I'm not a fan of the nighttime autoexposure behavior of the camera and would love to just switch to snapshot capture, with exposure settings computed by allsky, rather than the camera. |
@ckuethe is correct, ZWO's "snap" mode, which uses ASIStartExposure() doesn't support auto exposure or (I'm pretty sure) auto gain. For daytime shots we use our own auto-exposure algorithm since there's a bug in ZWO's; we could probably implement it for nighttime as well but it would take some work. Incorporating auto-gain would take a LOT of work, and I don't think it's worth it. |
Ah, OK, is more clear now ! Thx for your response |
Hey!
|
Outs...somehow the fonts,boldening etc. seems to be out of my understanding (i'm sorry about that) ... I wrote that with raspberry 😬 but, when adding the new update, all went to this "ASI_timeout"-hell... of course, this action might have also been the reason why everything is so mixed up. |
GIT web pages interpret certain characters as meaning bold, italics, etc. Unfortunately, "#" is interpreted a a header which is why when you copy/paste from a *.sh file (with "#" as comments) those lines appear large in bold on the GIT web page. I hate that... We recently uploaded what we hope is a final fix for the timeout issue for users that turn off the version 0.8 exposure mode. Could you try the newest capture.cpp? If it works, I suggest doing a clean install of the newest code. |
forgot to mention the issue with config.sh. The last few lines should look like this if you have the GUI installed:
If that's not what you have, edit the file and let me know how it goes. Thanks |
As documented on the main page, there is no easy, one-click upgrade... Especially since the addition of recent new features and controls. I recommend you make a copy of all your old allsky configuration and reinstall using the latest code from git |
Hey! Am I ever so grateful to you all, for this amazing view from 'Karhukamera' ... I managed to update Perfect timing, for the perfect update! Keep on working with this project <3 !! |
@PKarhu, nice aurora shot. |
Closing this Issue - the ASI_ERROR_TIMEOUT problem has been resolved as far as I can tell. |
Hi,
i tested the last release and I always an ASI_ERROR_TIMEOUT. I use an old asi 120MM that's work fine.
I tested directly with that :
.
/capture -autousb 0 -usb 40 -latitude 43.8N -longitude 5.93E -newexposure 0 -debuglevel 4 -dayautoexposure 1 -daytime 1
Thank.
Christian
The text was updated successfully, but these errors were encountered: