Hi there,
Several days in the making and with feedback from a brave tester, it's time to seek wider audience for a script that aims to provide low power operation for a long period intervalometer.
The above @params set the cam to start at 3:00pm, take three shots at ten second interval, AF normal focus mode with prefocus lock (MF 0, refocus 0), show extra debug info.
Script operates in MF + preset subject distance, or AF normal or macro with prefocus + lock, or refocus each shot. When cam turns display off in MF mode, script restores MF mode on wakeup. Start and end times in hh:mm clock time, also stop after x frames shot. Option for a daily run. When display is off it can be turned back on with 'half shoot' to view script status.
Intervalometer is tied to the ticks counter and does not accumulate timing errors. Debug display shows timing margin, the free time between wakeup and preparation to the actual shoot time. I've aimed for a minimum 800ms margin but low light focusing (and refocus) may reduce this margin.
Released under GPL version 2. Home site is
http://chdk.mine.nu/ or
http://bugsplatter.id.au/chdk/ where you will find more information and details of the @param setup.
Developed on a590, also works on G7 but with an issue regarding focus timeout I'm hoping to get more feedback on -- I don't have a G7. At the moment the script allows up to 3 secs for AF focus by monitoring the cam ready status, then reports a timeout. The G7 tester reported this timeout, but he is going to try different cam settings.
Script is also DigicII, III/IV aware for reading unnamed property values.
Grab it here:
http://bugsplatter.id.au/chdk/daylapse.bas.txtThis url is symlinked to the latest stable version, currently daylapse-2009-06-19c. Feedback welcome.