WANTED: BASIC TIMING SCRIPT FOR HIGH ALT BALLOON STUCK IN IRAQ & FRUSTRATED! - Script Writing - CHDK Forum supplierdeeply

WANTED: BASIC TIMING SCRIPT FOR HIGH ALT BALLOON STUCK IN IRAQ & FRUSTRATED!

  • 2 Replies
  • 2110 Views
Advertisements
Hello,

I have a Canon PowerShot A560 Ai/Af camera and need a basic timing script. I am currently deployed to Iraq and am frustrated in that I have the CHDK loaded but have no clue on how to write the language for a script, or modify one already written for my needs.

I need to have the camera take 3 photos every 3 minutes, and then take 1 min of video and repeat until the camera is switched off manualy. Flash must also be off.

I am trying to get into High Altitude Balloon photography and am trying to work out the camer issues while deployed. Any assistance or links would be greatly appreciated.

SGT Rogers
« Last Edit: 01 / September / 2010, 07:54:56 by VALKYRIE »


*

Offline zeno

  • *****
  • 884
Can I suggest you use SDM rather than CHDK - it's much easier to switch between photo and movie modes and thus write the script you need. Here's something close:
Code: [Select]
rem SDM balloon photo/movie script
@param p number of photos per batch
@default p 3
@param i interval between photos (secs)
@default i 60
@param m length of movie (secs)
@default m 60

sync_off
while 1
   for i = 1 to p
      sleep_for_seconds i
      shoot
   next i
   sleep 500
   shoot_movie_for m
wend
As I hope you can see, this repeatedly takes 'p' photos, one every 'i' seconds, then shoots 'm' seconds of video. The defaults mean that it will take 3 photos, one every minute, then one minute of video. 
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics