Ultimate Intervalometer - doesn't actually work - General Help and Assistance on using CHDK stable releases - CHDK Forum  

Ultimate Intervalometer - doesn't actually work

  • 11 Replies
  • 694 Views
Ultimate Intervalometer - doesn't actually work
« on: 07 / May / 2021, 15:31:28 »
Advertisements
Hi and apologies in advance for a complete newbie question here.  I've looked through some of the threads and not found an obvious one for my very basic question.  I've installed CHDK on my old Canon A620 Powershot, and would like to set it up to take one shot every day for a year.  I have a power supply that it's connected to so it doesn't need to run on batteries.  I find that the maximum shooting interval though is 4 hours, and thought if I have it switch on say for a couple of hours every day but with that 4-hour shooting interval, it should work.  I have CHDK running with the script loaded, press the shutter button to run it, leave, and it just stays on, nothing happens.    The display reads ***Started****/***Finished*** so clearly nothing is happening - if I switch it on, it stays on, if I switch it off, it stays off, even with the script apparently running.  Can someone explain what parameters I should set to have one shot taken every day at say midday, without a start or end date, and how I can actually set it running?  Thanks in advance for any help!

Re: Ultimate Intervalometer - doesn't actually work
« Reply #1 on: 07 / May / 2021, 16:51:11 »
Well, your subject line is a little offensive to be candid.  That script is over eight years old and been used many thousands of time by many people. It actually does work.

What you are asking for is something the script was not designed to do i.e. shoot just once a day.  Likely because the author did not think of providing that option.

But the good news is that it's a script. You have all the code right there and can modify it to suit your needs.

Edit 1:  one simple hack (that I have not tested) is to set the daily Start Time and Stop Time very close together at the time you would like a photo taken every day. Set the shooting interval to just slightly longer than the difference between your start and stop times.  That should give you a single shot per day.  Example : Start Time : 11:59  Stop Time : 12:01 Interval 2 minutes.

Edit 2:  rereading your post, it appears you might have a more basic issue.  Literally.  Did you save the script on your SD card with a .LUA extension ?
Do you see this on your camera's LCD ? :

« Last Edit: 07 / May / 2021, 21:25:58 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Ultimate Intervalometer - doesn't actually work
« Reply #2 on: 08 / May / 2021, 12:16:34 »
Apologies for the offence. What I meant to say, of course, is that I can’t get it to work. I definitely have the .lua file on the SD card, it’s installed and I can see the script. What happens when I press the shutter button, firmly, to run the script is that I don’t get what’s in your screen shot but this. It looks as ifthere’s a set of parameter value that cause the script to run but then immediately stop. Short of listing all the parameter settings, do you have any idea what could do this? Thanks again and in advance.


Sent from my iPad using Tapatalk

*

Offline Caefix

  • *****
  • 610
  • Sorry, busy deleting test shots...
Re: Ultimate Intervalometer - doesn't actually work
« Reply #3 on: 08 / May / 2021, 12:39:42 »
 :blink: It´s a very large script on a very old cam. Maybe a "out of memory" issue?
All lifetime is a loan from eternity.


Re: Ultimate Intervalometer - doesn't actually work
« Reply #4 on: 08 / May / 2021, 12:49:11 »
I definitely have the .lua file on the SD card, it’s installed and I can see the script.
If the file extension is anything other than .lua then CHDK assumes it's a uBASIC file and tries to run it that way.  But that normally gives a uBASIC:1 Unk stmt error message so this is different somehow.

FWIW - the script prints out the CHDK version info almost right away - long before any script parameters would cause any script behaviour at all.  You are not even getting the console window to open so I really think this is a file issue.

Can you screen shot the file browser window where you selected the file to load?
« Last Edit: 08 / May / 2021, 12:59:21 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Caefix

  • *****
  • 610
  • Sorry, busy deleting test shots...
Re: Ultimate Intervalometer - doesn't actually work
« Reply #5 on: 08 / May / 2021, 12:54:28 »
Saving from notepad++ could worst case result in a script.lua.txt too...  ???
All lifetime is a loan from eternity.

Re: Ultimate Intervalometer - doesn't actually work
« Reply #6 on: 08 / May / 2021, 13:02:52 »
Saving from notepad++ could worst case result in a script.lua.txt too...  ???
You'd still get the  Unk stmt error message.

EDIT :  need to update CHDK on my cameras - I forgot that we fairly recently made it fussy about CHDK version and 1.5.0 v 5157 is too old and throw a "attempt to compare number with nil" error when it tries to call the updated version check functions.
« Last Edit: 08 / May / 2021, 13:06:20 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Ultimate Intervalometer - doesn't actually work
« Reply #7 on: 08 / May / 2021, 13:11:26 »
I definitely have the .lua file on the SD card, it’s installed and I can see the script.
If the file extension is anything other than .lua then CHDK assumes it's a uBASIC file and tries to run it that way.  But that normally gives a uBASIC:1 Unk stmt error message so this is different somehow.

FWIW - the script prints out the CHDK version info almost right away - long before any script parameters would cause any script behaviour at all.  You are not even getting the console window to open so I really think this is a file issue.

Can you screen shot the file browser window where you selected the file to load?
Thanks again waterwingz.  Bit tricky to see the original file location as I’m on holiday right now, far from my computer. The best I could do before I go home is a SS of the file on the SD card. But I suspect this won’t confirm or disprove your hypothesis.


Sent from my iPad using Tapatalk


Re: Ultimate Intervalometer - doesn't actually work
« Reply #8 on: 08 / May / 2021, 13:16:35 »
Thanks again waterwingz.  Bit tricky to see the original file location as I’m on holiday right now, far from my computer. The best I could do before I go home is a SS of the file on the SD card. But I suspect this won’t confirm or disprove your hypothesis.
Just download and tested it. Working on my S100 (once I hacked out the offending version check for resolution that was added recently - that throws an error message that you are not seeing with your more recent version of CHDK).   

Try using the Script menu option that says  "Load default param values" in case you've discovered some hitherto unknow bad combination of paramters ? Then try setting the script option for Logging to "Both" or "Screen"
« Last Edit: 08 / May / 2021, 13:26:25 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Caefix

  • *****
  • 610
  • Sorry, busy deleting test shots...
Re: Ultimate Intervalometer - doesn't actually work
« Reply #9 on: 08 / May / 2021, 13:59:32 »
 :D // && You have another Ubasic...
All lifetime is a loan from eternity.

 

Related Topics