Ultimate Intervalometer - a script for shooting over a long duration - v4.9 - page 33 - Completed and Working Scripts - CHDK Forum

Ultimate Intervalometer - a script for shooting over a long duration - v4.9

  • 651 Replies
  • 247768 Views
Advertisements
Ya it crashed each time. I have been using the playback display mode.

Great! just tested it and I will attatch the two logs. I did the test today (6/5/15). It seemed to have been working! but my battery died during....  :blink: Let me know what you think! This time i changed nothing on the script, except the shot interval to 5 minutes, so everything else was default in the script settings.

Thanks!!!!!!

Great! just tested it and I will attatch the two logs. I did the test today (6/5/15). It seemed to have been working! but my battery died during....  :blink: Let me know what you think! This time i changed nothing on the script, except the shot interval to 5 minutes, so everything else was default in the script settings.
If you have time for one more test,  it would be good to shorten the delay after changing shooting/playback mode from 3 seconds to 1 second and see if that still works.   Three seconds is a little long for most peoples patience.

Updated script attached.
Ported :   A1200    SD940   G10    Powershot N    G16

Here you go! I changed none of the settings and id it today (6/11/15). Let me know your thoughts! Thanks!

Here you go! I changed none of the settings and id it today (6/11/15).
The ROMLOG.LOG is from last month so presumably nothing has crashed since then?

The script log says it started up, took two shots,  turned off the LCD, took another 119 shots, turned on the LCD,  and then .... nothing.

Was that when you halted the script?   
Ported :   A1200    SD940   G10    Powershot N    G16

Yup! I stopped it after then. It seemed to be working fine.

Hi Waterwingz,
So what do you think? Do think we will be able to ever get out camera to use the playback mode? Or is it maybe not compatible with the powershotD20? Thanks

Do think we will be able to ever get out camera to use the playback mode? Or is it maybe not compatible with the powershotD20?

Sorry, but your most recent posts seem to say that playback mode is working :

Yup! I stopped it after then. It seemed to be working fine.

What is it that you think needs to be fixed?
Ported :   A1200    SD940   G10    Powershot N    G16

Oh sorry I thought that was just a test! was that last run we did using playback mode? if so, then I believe it was working correctly too! Thanks

Re: Ultimate Intervalometer - a script for shooting over a long duration - v2.0
« Reply #328 on: 23 / September / 2015, 11:31:23 »
Hello, I am new to CHDK and Ultimate Intervalometer.  I'm using CHDK 1.3 on a PowerShot S90 and would like to acquire 1 image every hour for about 3 weeks.  If things work well, I would be repeating it often.

How important is the automatic reboot of Ultimate Intervalometer?  Are there well-known CHDK stability issues that will cause a 3-week time lapse to fail?  There is also a mention of a tick counter overflowing -- would that happen within 3 weeks and if so, what are the consequences of the overflow?

So far, I have not had luck with Ultimate Intervalometer's camera_reboot() function.  The camera crashed and became unresponsive.  To systematically test it, I changed the minimum range and value of "@param l Days between resets" from 1 to 0, and then set the camera's clock to 10 minutes before the reset hour parameter.  That way I know a camera reboot will happen now, without having to wait until tomorrow.  Each time I tried this, the camera crashed (with lens extended, LED no longer blinking, screen black, buttons other than on/off unresponsive) after camera_reboot() is called. 

By adding a bunch of printf() statements, I isolated the problem to the call to set_record(0) in the call to switch_mode(0) within camera_reboot().  The last line of ultimate.log shows the debugging printf statement I placed just before set_record(0) is called.

I'm running an actual time lapse now, hoping it will last for up to 3 weeks without a reboot, but if failure is inevitable and rebooting will be necessary, I can either decide to manually restart everything every few days (not as convenient) or figure out why my camera is crashing from the set_record(0) statement.

Any insights or suggestions?

Thank you.

Re: Ultimate Intervalometer - a script for shooting over a long duration - v2.0
« Reply #329 on: 23 / September / 2015, 12:03:52 »
How important is the automatic reboot of Ultimate Intervalometer?  Are there well-known CHDK stability issues that will cause a 3-week time lapse to fail? 
The correct answer to your question is "we don't know".   The firmware in Canon cameras,  and thus CHDK as well,  was never really designed (or most likely even tested) to run for hours on end,  never mind days or weeks.   The average camera owner turns on his camera,  takes a few shots, looks at them on the camera LCD, and then turns the camera off.

So if you find that your camera running a particular script works properly,  then by all means use it.  The reboot feature was just something I threw into the code because I thought it might be needed and I knew how to do it.


Quote
There is also a mention of a tick counter overflowing -- would that happen within 3 weeks and if so, what are the consequences of the overflow?
Depending on whether a particular piece of code is working with signed or unsigned values, the tic timer will wrap at 2^31 or 2^32 ms - roughly 25 or 49 days.  It is unknown what will happen (if anything) when that event occurs or afterwards.


Quote
So far, I have not had luck with Ultimate Intervalometer's camera_reboot() function.
...
By adding a bunch of printf() statements, I isolated the problem to the call to set_record(0) in the call to switch_mode(0) within camera_reboot().  The last line of ultimate.log shows the debugging printf statement I placed just before set_record(0) is called.
It's possible that some additional delay is needed after the set_record(0) statement.  Add a sleep(5000) and see what happens?

Quote
I'm running an actual time lapse now, hoping it will last for up to 3 weeks without a reboot,
I'm guessing it will work just fine that way most of the time.
« Last Edit: 23 / September / 2015, 12:54:04 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal