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

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

  • 651 Replies
  • 234784 Views
*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.2
« Reply #340 on: 01 / November / 2015, 01:26:55 »
Advertisements
Hi waterwingz, thank you very much for this new version!

I have started a test run with shut-down in two days. I will report on it when done.

*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.2
« Reply #341 on: 01 / November / 2015, 01:36:04 »
The new trimmed down log file is neat and tidy, only I did not find calendar date anywhere. Did I miss something?

If not, maybe you could record calendar date at startup in a header row?

Then anyone can easily reconstruct the date for each 'day1', 'day2' etc when required for analysis of log files.



Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #342 on: 01 / November / 2015, 06:12:25 »
The new trimmed down log file is neat and tidy, only I did not find calendar date anywhere. Did I miss something?
Oops.   I had not checked that - did most of the testing with debug enabled and that uses a slightly different log format.  Was doing a 5 day run with multiple resets to test without debugging enabled but obviously had not looked at the log file yet.

Problem fixed and script updated to v3.3
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #343 on: 01 / November / 2015, 18:19:26 »
Thank you again, date is restored in all rows of the log now.

Aside: Date format is the same as before (Dayname Month Daynumber  HH:MM:SS Year) and I can parse it of course. However I'm curious why this format would be preferred over conventional day-month-year time or month-day-year time?

The new time-speeded-up debug mode is brilliant for testing, truly a great new feature of ultimate!

On my D10 the normal reboot and the new shut down option worked fine in debug mode.
I'm being a bit conservative in wanting to test in real time also - this is currently running.


Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #344 on: 01 / November / 2015, 18:26:34 »

Aside: Date format is the same as before (Dayname Month Daynumber  HH:MM:SS Year) and I can parse it of course. However I'm curious why this format would be preferred over conventional day-month-year time or month-day-year time?
That's just the way Lua returns the system time & date if you don't specify a specific format.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #345 on: 06 / November / 2015, 20:18:07 »
Just reporting back: my real time test with d10, reboot every day, scheduled shut down after 3 days, all worked fine. Thanks so much :)

Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #346 on: 06 / November / 2015, 20:23:03 »
Just reporting back: my real time test with d10, reboot every day, scheduled shut down after 3 days, all worked fine. Thanks so much :)
Thanks. 

I completed a similar test with my A1200 late last night.  Two days between resets, five days to shutdown.  Worked perfectly.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #347 on: 06 / November / 2015, 20:50:27 »
Thank you again, waterwingz, ultimate really does live up to its name!!

But is there scope for even more enhancements...??

I went to re-instate a small change I'd made in the older version of ultimate. This lets me set an offset (various minute values) for dawn/dusk. I've been using 15 min before sunrise, 15 minutes after sunset as this is ideal for my bird monitoring project (low latitude).

My new attempt didn't work... then I read a bit about single alpha names and 26 parameters...

Now I did a workaround, 'borrowed' one of your parameter characters (one I don't currently use) and hard-coded the default value. Okay for now.

I was going to suggest dawn-dusk offset could be a useful addition in a future ultimate version, However, it seems ultimate has met the ultimate limit in parameters? Or have I misunderstood this. Is there a way to extend the parameter names limit?


Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #348 on: 06 / November / 2015, 21:08:07 »
I was going to suggest dawn-dusk offset could be a useful addition in a future ultimate version, However, it seems ultimate has met the ultimate limit in parameters? Or have I misunderstood this. Is there a way to extend the parameter names limit?
Well,  you could try combining some parameters so that one parameter has many values that are the combinations of two or more separate parameters.

Or you could wait for 1.4.0 to be released as the stable version (real soon now I'm told).  The new version eliminates the restriction that Lua parameters are single lower case characters.   There is a new limit but IIRC its related to the total size of the script's header section rather than number of variables supported.

Naturally, you can use 1.4.0 now if you download the CHDK development version rather than the stable version.


edit :  I like the sun-up & sun-down offset setting idea - I'll add when 1.4.0 is released and the script can support it
« Last Edit: 07 / November / 2015, 11:43:50 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline jules

  • **
  • 73
Re: Ultimate Intervalometer - a script for shooting over a long duration - v3.3
« Reply #349 on: 08 / November / 2015, 16:42:21 »
It's great to know about 1.4 parameters and future offset option for ultimate. Huge thanks to everyone involved in these ever-better enhancements to CHDK and scripts. It's a wonderful system!

I'm puzzled about ultimate's implementation of shooting-start and shooting-end. I'm wondering, am I the only person wishing for this to be different?

When I want clock-time to be used for start and end of shooting, I will disable dawn/dusk options and set hours-minutes for start and end. Then I know I can rely on my start/end times being used over the entire run.

Not so when I enable dawn/dusk options. In that case, I would *like* sunrise/sunset times to be used on each day over the entire run. However, I cannot rely on sunrise/sunset being used throughout, because the script actually does something different, as follows.

When 'start at dawn' is enabled, if hour-minute start time happens to be earlier, the hour-minute time will be used and time of sunrise will be ignored. Similarly when 'end at dusk' is enabled, the time of sunset will be ignored if hour-minute end time is later.

In that situation, my hour-minute parameters will be holding either default values or relic values from a prior run. I simply want to ignore them - that's why I enabled dawn/dusk. But at present, for a new run, I must guesstimate the future sunrise/set times, and then take care to change the existing hour-minute parameters, to prevent them from over-riding the sunrise/sunset times that I really want to use.

What is the rationale for scripting ultimate this way?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal