Page 1 of 1

Frame Capture Failed while running script

Posted: Fri Mar 10, 2017 4:52 pm
by dvalid
Hello,

I use scripting for time lapse capture (modified example script). Periodically getting error in the popup window: "Single Frame Capture Failed", probably due to very long usb cable (around 10% of lost frames).

The dropped frames are not a big deal per se, the problem is that popup window suspends the script until "OK" button is not pressed. How can I avoid this error message, is it any way for Sharpcap to just ignore the it?

Another question: I can run script from console, but not from "Start Script with Sharpcap" option.

Thanks in advance.

David

Re: Frame Capture Failed while running script

Posted: Fri Mar 10, 2017 10:54 pm
by admin
Hi David,

the usual fix for dropped frames with long USB cables is to add a hub between two shorter cables (if you haven't already).

I have just changed the message box for a Notification Bar message for that error for 2.10, which will be in the next beta release. It looks like there is a bug with running a script if you haven't already opened the scripting console, so I will look into that too for 2.10

cheers,

Robin

Re: Frame Capture Failed while running script

Posted: Sat Mar 11, 2017 2:31 am
by dvalid
Thank you Robin!

Well, I know, it's not the right place to discuss the bugs in the beta versions, but anyway - there is some problems with AutoExposure feature of ASI cameras in SC2.10.

For 2.09 version AE goes up to 15 sec in my setup, while exposure for 2.10 (have tested the couple of latest versions) is playing around 600-900msec max, with the exactly the same other parameters, leading to capturing of very dark frames .

Cheers,

David

Re: Frame Capture Failed while running script

Posted: Sat Mar 11, 2017 4:46 pm
by admin
Ah, that's one I hadn't spotted - I think it may be because I'm switching the camera out of video mode in 2.10 when the exposure goes above about 1s or so - maybe that disables the auto-exposure. Should be fixable.

cheers,

Robin

Re: Frame Capture Failed while running script

Posted: Sat Mar 11, 2017 8:32 pm
by admin
Yep, it was the switch out of video mode - fixed for the next release.

cheers,

Robin

Re: Frame Capture Failed while running script

Posted: Sat Mar 11, 2017 11:52 pm
by dvalid
Great, thank you Robin!