Do you know what the latest build does, relative to the previous builds?
There's a new build every time a change is checked in, but that doesn't mean it has any effect on existing ports.
I still think it’s a timing issue
I'd suggest a print before / after each point the script waits for get_shooting or a hook.
If so, I don’t understand why I never see the issue.
I have now inserted a text output before and after every get_shooting. Now I don't have the problem anymore (20 runs
I guess indicating a short delay needs to be inserted at a critical time?
I have now inserted a text output before and after every get_shooting. Now I don't have the problem anymore (20 runs without problems).
Having timeouts for get_shooting loops would generally be a good practice.
function myshoot() -- works inside X_bracket function local prevcnt=hook_shoot.count() local rawprevcnt=hook_raw.count() press'shoot_full_only' repeat sleep(10) until prevcnt ~= hook_shoot.count() release'shoot_full_only' repeat sleep(10) until rawprevcnt ~= hook_raw.count()end
Started by SkyWalker9 Script Writing
Started by SkyWalker9 « 1 2 » Completed and Working Scripts
Started by kidtree Completed and Working Scripts
Started by genosmm General Help and Assistance on using CHDK stable releases
Started by pigeonhill « 1 2 3 » Creative Uses of CHDK