Script works OK, but no images are saved? - AllBest's Builds - CHDK Forum

Script works OK, but no images are saved?

  • 0 Replies
  • 1689 Views
Script works OK, but no images are saved?
« on: 18 / May / 2008, 15:08:16 »
Advertisements
Hi all  :D,

I was hoping you could help me. I'm using kennyb03's SD450/IXUS55 1.00d modification of the Allbest build, as he posted here: Getting close on the SD450 1.00d...HELP!

And I'm running a modified version (posted again below) of the OMNI Intervalometer by Keoeeit.

But every time I run it, the camera clicks (but doesn't flash), and goes through the shots with the correct timing, etc. However, no images are then saved (either RAW or JPG). Any ideas? I have CHDK set to save RAW, and I've played with the settings a lot.

Update: Just figured out that it works OK (although a little flaky) if I use Burst mode instead, and just "burst" for a period of time that equates to one shot.

Code: [Select]
rem Author ~Keoeeit~
rem S-Series cameras ONLY
rem Use Endless mode with caution
rem See documentation for important info
@title OMNI Intervalometer
@param a Photo=0 Vid=1 P&V=2 Burst=3
@default a 0
@param b Delay 1st Shot (Mins)
@default b 0
@param c Delay 1st Shot (Secs)
@default c 0
@param d Number of Shots/Vids/Burst
@default d 5
@param e Interval (Minutes)
@default e 0
@param f Interval (Seconds)
@default f 0
@param g Interval (10th Seconds)
@default g 5
@param h Video/Burst Minutes
@default h 0
@param i Video/Burst Seconds
@default i 0
@param j Endless? No=0 Yes=1
@default j 0
p=b*600+c*10
t=e*600+f*10+g
v=h*600+i*10
if a<0 then a=0
if a>3 then a=3
if d<1 then d=5
if t<1 then t=1
if j<0 then j=0
if j>1 then j=1
if p<0 then p=0
if v<10 then v=10
if a=0 then v=0
u=t
get_user_tv_id k
if a=1 then k=-14
if a=2 then t=t+10*d
if a=3 then t=t+25*d
if k=-12 then t=t+330
if k=-11 then t=t+270
if k=-10 then t=t+210
if k=-9 then t=t+170
if k=-8 then t=t+130
if k=-7 then t=t+110
if k=-6 then t=t+90
if k=-5 then t=t+70
if k=-4 then t=t+60
if k=-3 then t=t+50
if k=-2 then t=t+40
if k=-1 then t=t+35
if k=0 then t=t+18
if k=1 then t=t+15
if k=2 then t=t+13
if k=3 then t=t+11
if k=4 then t=t+10
if k=5 then t=t+8
if k=6 then t=t+6
x=p+(v*d)+(t*(d-1))
print "1 Cycle Time:", x/600; "min", x%600/10; "sec"
goto "interval"
:interval
  if p>0 then gosub "pause"
  for n=1 to d
  print "Shot", n, "of", d
  if n>1 then sleep u*100
  if a=0 then click "shoot_full"
  if a=1 then gosub "vid"
  if a=2 then gosub "vid"
  if a=3 then gosub "burst"
  next n
  if j=1 then goto "interval" else end
:pause
  r=(b*60)+c
  for m=1 to r
  q=r-m
  print "Intvl Begins:", q/60; "min", q%60; "sec"
  sleep 930
  next m
  return
:vid
  if a=2 then click "shoot_full"
  if a=2 then sleep 1000
  click "video"
  sleep v*100
  click "video"
  return
:burst
  click "timer"
  press "shoot_half"
  sleep 500
  press "shoot_full"
  sleep v*100
  release "shoot_full"
  release "shoot_half"
  sleep 2000
  click "timer"
  click "timer"
  return

« Last Edit: 18 / May / 2008, 15:29:22 by andylane »

 

Related Topics