Ultra Intervalometer script 2 shots then interval - General Help and Assistance on using CHDK stable releases - CHDK Forum

Ultra Intervalometer script 2 shots then interval

  • 8 Replies
  • 4037 Views
*

Offline sumoetx

  • *
  • 20
  • A720is
    • My Flickr Photostream
Ultra Intervalometer script 2 shots then interval
« on: 12 / June / 2008, 14:51:06 »
Advertisements
Hi everyone I'm using the Ultra Intervalometer script UBASIC/Scripts: Ultra Intervalometer - CHDK Wiki For time lapse shots.
 I set it to 5 seconds between shots, number of shots to 1 and endless turned on (per instructions). However when I run the script it always takes TWO shots then waits 5 seconds and takes TWO more shots.... until I interrupt it. What am I doing wrong here??? Why is it taking 2 shots instead of just one then waiting the 5 seconds I specified?

Any Help would be appreciated, I'm running Allbest build 51 on A720is Mode:manual

Thanks

sumoetx

Re: Ultra Intervalometer script 2 shots then interval
« Reply #1 on: 07 / July / 2008, 17:58:46 »
I see in this script:   (c=number of shots=1 in your case)
print "shot 1 of", c
shoot
for n=2 to c                         (>>>>>>for n=2 to 1)  ???
sleep t
print "shot", n, "of", c             
shoot
next n
  (endless in your case)

Re: Ultra Intervalometer script 2 shots then interval
« Reply #2 on: 07 / July / 2008, 19:45:54 »
Why not this:
for n=1 to c
print "shot", n, "of", c
shoot
sleep t
next n

The only one thing to mention here is that(for a finite number of shots)a time interval will follow the last shot.
Who's care?

Re: Ultra Intervalometer script 2 shots then interval
« Reply #3 on: 06 / August / 2008, 10:32:30 »
Hi all, this is my first post here. I bought my A720 IS last week, and am loving it so far. I have started exploring CHDK, and am really impressed, my hat is off to everyone who has worked to create this. It's made the camera much more powerful than its competition.

However, I was trying Ultra Intervalometer yesterday, and am having this same problem, of shooting twice. I'm running Allbest build 50, in Program mode. When I set # of shots to 1, it takes 2, instead. So I can't use the Endless option, since it takes 2, then waits, then takes 2, then waits, etc. Instead, I have to set the number of shots very high, rather than using Endless.

maka45, I tried modifying the script with what you suggested, but it doesn't help. It still takes 2, although now it says "Shot 1 of 1", then "Shot 1 of 1". Before it would say "Shot 1 of 1", then "Shot 2 of 1".

Has anyone else experienced this? Or, even better, found a fix? Thank you!!


Re: Ultra Intervalometer script 2 shots then interval
« Reply #4 on: 09 / August / 2008, 17:21:18 »
...sorry for the delay.Maybe a misunderstanding with my modification:
: interval
   if p>0 then gosub "pause"
   for n=1 to c
   print "shot", n,"of", c
   shoot
   sleep t
   next n
   if g=1 then goto "interval" else end

...I have tryied it in endless mode on my g7 Allbest build 10 and it seems to work,but in endless mode(1 shot endlessly)the "counter"function doesn't work(always printing 'shot 1 of 1').I will post another endless-mode counter later.     
« Last Edit: 12 / August / 2008, 18:12:54 by maka45 »

Re: Ultra Intervalometer script 2 shots then interval
« Reply #5 on: 12 / August / 2008, 16:56:39 »
If you want an endless-mode counter you have to add a line 'h=1' after the line 'y=p+z':

y=p+z
h=1

...and now you have to modify the "interval" by this way:

:interval
  if p>0 then gosub "pause"
  for n=1 to c
  if g=1 then print "shot", h else print "shot", n, "of", c
  shoot
  sleep t
  next n
  h=h+1
  if g=1 then goto "interval" else end

I tryied this modification on my g7 Allbest 10 and Allbest 50 and it works without problem,the endless-mode counter works
well (with a number of shot to 1)

*

Offline sumoetx

  • *
  • 20
  • A720is
    • My Flickr Photostream
Re: Ultra Intervalometer script 2 shots then interval
« Reply #6 on: 15 / August / 2008, 04:15:40 »
@ maka45
 
 You are officially my new hero!! Your fixes worked perfectly. Wish I could give you more Karma!!

I'll try to post that update into the original download page UBASIC/Scripts: Ultra Intervalometer - CHDK Wiki

Thanks again for you help, sorry it took so long to reply back to you.

sumoetx

Re: Ultra Intervalometer script 2 shots then interval
« Reply #7 on: 26 / August / 2008, 10:01:43 »
maka45, thank you very much. I tried your suggested code fix (the one in your post from 8/12), and it worked beautifully. If I set the "Delay 1st Shot" to 10 seconds, "Number of Shots" to 1, and "Endless" to 1, it shoots every 10 seconds (only 1 shot, rather than 2), and the counter increments properly. This is, again, on an A720 IS. I'm sorry for not replying here sooner. Thank you very much for your help!


Re: Ultra Intervalometer script 2 shots then interval
« Reply #8 on: 22 / August / 2011, 08:05:28 »
Is it possible to change the Ultra Intervalometer script in a way that makes it possible to select the number of hours between each shot?

 

Related Topics