Skip to content
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

saving the first capture (and only the first one) on Sony A6000 fails #251

Closed
justanenduser opened this issue Jun 6, 2017 · 6 comments
Closed

Comments

@justanenduser
Copy link

The first attempt at a capture will fail (whether using CCDciel or Kstars) when the image is being downloaded. If I wait for the camera to clear/reset (which it will do) all subsequent captures or previews (single shot, looping or sequence) work just fine.

The specific error message received "Exposure failed to save image... Unspecified error" seems to come from gphoto_cdd.cpp line 1197.

LIBINDI, LIBGPHOTO2 and KSTARS have all been built, within the last week, from their respective GitHub source. Patrick Chevalley has provided an updated CCDciel in his attempts.

What follows is an extract of the portion of the log that show the exposure and error.

DEBUG 69.608849 sec : Starting exposure (exptime: 1 secs, mirror lock: 0)
DEBUG 69.608858 sec : Mutex locked
DEBUG 69.608867 sec : Setting radio/menu widget iso: 11 (800)
DEBUG 69.609042 sec : Setting new configuration OK.
DEBUG 69.609050 sec : Using internal bulb widget:bulb
DEBUG 69.609057 sec : Setting toggle widget bulb: 1
DEBUG 69.627320 sec : Setting new configuration OK.
DEBUG 69.627359 sec : Exposure started
INFO 69.627370 sec : Starting 1 sec exposure
DEBUG 69.627449 sec : Time left: 1000
DEBUG 70.627648 sec : Reading exposure...
DEBUG 70.627695 sec : Time left: 0
DEBUG 70.627702 sec : Closing shutter
DEBUG 70.627709 sec : Using widget:bulb
DEBUG 70.627716 sec : Setting toggle widget bulb: 0
DEBUG 70.644312 sec : Setting new configuration OK.
DEBUG 70.644366 sec : Exposure complete
DEBUG 70.648790 sec : Unknown event.
DEBUG 70.651903 sec : Unknown event.
DEBUG 70.655522 sec : Unknown event.
DEBUG 71.714851 sec : Event timed out #1, retrying...
DEBUG 72.773867 sec : Event timed out #2, retrying...
DEBUG 73.829475 sec : Event timed out #3, retrying...
DEBUG 74.887770 sec : Event timed out #4, retrying...
DEBUG 75.944219 sec : Event timed out #5, retrying...
DEBUG 77.001773 sec : Event timed out #6, retrying...
DEBUG 78.059194 sec : Event timed out #7, retrying...
DEBUG 79.116672 sec : Event timed out #8, retrying...
DEBUG 80.175339 sec : Event timed out #9, retrying...
DEBUG 81.232014 sec : Event timed out #10, retrying...
ERROR 81.232088 sec : Exposure failed to save image... Unspecified error

The entire INDI log (3.7MB) is attached
indi_gphoto_ccd_23:38:04.txt

@knro
Copy link
Contributor

knro commented Jun 6, 2017

Can you try to do the same thing with gphoto2 from the console?

@justanenduser
Copy link
Author

justanenduser commented Jun 6, 2017 via email

@justanenduser
Copy link
Author

Some further exploration of gphoto2 on the command line...

--trigger-capture --capture-tethered=#s or --wait-event-and-download=#s
this works but does NOT honor BULB (either camera exposure setting or the -B/--bulb option on command line
it WILL work in other camera exposure setting (for my Sony A6000 that is 1/4000 sec ... 30 sec)
use the SECONDS option in the command line and make it at least 7 seconds > camera exposure time

--capture-image-and-download
this works but ONLY camera exposure setting OTHER than BULB (for my Sony A6000 that is 1/4000 sec ... 30 sec)

--capture-image -B/--bulb --capture-tethered=#s or --wait-event-and-download=#s
this works
use the SECONDS option in the command line and make it at least 7 seconds > camera exposure time

@justanenduser
Copy link
Author

The Sony A6000 uses LENR (long exposure noise reduction) by default. It has the effect of doubling the length of time it takes to save the image. If I turn LENR off indi_gphoto_ccd does manage to save and download the first image and the length of the exposure seems to have no effect. I can also cause the first image to be saved if I increase the timeout (gphoto_driver.cpp line 912) instead of turning LENR off, however as the exposure time increases I eventually hit the TIMEOUT failure.

@knro
Copy link
Contributor

knro commented Oct 20, 2017

How long would it take to save a 30-seconds exposure for example?

@justanenduser
Copy link
Author

justanenduser commented Oct 20, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants