G10 Ultra Intervalometer - General Help and Assistance on using CHDK stable releases - CHDK Forum

G10 Ultra Intervalometer

  • 8 Replies
  • 2354 Views
G10 Ultra Intervalometer
« on: 28 / February / 2012, 07:08:36 »
Advertisements
I just installed CHDK on my Canon G10 because I'm doing a project that involves time lapse. I got CHDK working just fine, but I'm having trouble with the Ultra Intervalometer script. It was working at first, but it was just very slow between each photo (at least 4 seconds), even though I had it sent to just 1 second between photos. So after messing around with some different scripts to see if they would work better, now EVERY script doesnt work. If I start a script and press the shutter button, I get:

****STARTED*****
****FINSIHED*****

with "uBasic: 1 unk stmt" in the top left-had corner

So basically my problem is two-fold:
1. Why won't scripts work AT ALL anymore?
2. Why is ultra intervalometer slow slow in between photos?

*

Offline zeno

  • *****
  • 887
Re: G10 Ultra Intervalometer
« Reply #1 on: 28 / February / 2012, 07:56:56 »
That error message means there's something wrong with the format of the scripts (it means line 1 is an unknown basic command). You probably messed up the format (e.g. line endings) if you edited them on your computer and then copied them back. If you don't have the original versions then  I suggest you download them again.

Reasons for long gaps between photos include not setting the review period off and saving a raw as well as a jpeg.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: G10 Ultra Intervalometer
« Reply #2 on: 28 / February / 2012, 07:59:01 »
I had it sent to just 1 second between photos.
2. Why is ultra intervalometer slow slow in between photos?

Even with a fast memory card that has just been low-level formatted in the camera, the G10 will shoot at 0.7fps in continuous-shooting mode only.

Post the script.

Re: G10 Ultra Intervalometer
« Reply #3 on: 28 / February / 2012, 08:55:44 »
Here is the script:

 rem Author - Keoeeit
 rem Upgraded by Mika Tanninen
 rem Time accuracy and shutdown for a710is by Viktoras Stanaitis
 rem h-accuracy for delay, j-accuracy for interval
 h=-1
 j=-1755
 @title Ultra Intervalometer
 @param a Delay 1st Shot (Mins)
 @default a 0
 @param b Delay 1st Shot (Secs)
 @default b 0
 @param c Number of Shots (0 inf)
 @default c 0
 @param d Interval (Minutes)
 @default d 0
 @param e Interval (Seconds)
 @default e 10
 @param f Interval (10th Seconds)
 @default f 0
 n=0
 t=(d*600+e*10+f)*100+j
 if c<1 then let c=0
 if t<100 then let t=100
 g=(a*60)+b+h
 if g<=0 then goto "interval"
 for m=1 to g
  print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
  sleep 930
  next m
 :interval
   n=n+1
   if c=0 then print "Shot", n else print "Shot", n, "of", c
   shoot
   if n=c then shut_down
   sleep t
   goto "interval"

I'm using a mac. I pasted this into TextEdit, saved it, "get info" it, removed .rtf to make it .bas, copied and pasted that into the scripts folder. Is this the wrong way to do it? It worked this way at first.

I turned off photo review. That must be why it was so slow, but I cant test it because the script wont work at all.


Re: G10 Ultra Intervalometer
« Reply #4 on: 28 / February / 2012, 09:04:52 »
I'm using a mac. I pasted this into TextEdit, saved it, "get info" it, removed .rtf to make it .bas, copied and pasted that into the scripts folder. Is this the wrong way to do it? It worked this way at first.
If all you did was change the file extension from .rtf to .bas then the file format itself internally is probably still rtf ( Rich Text Format )  which can include lots of formatting stuff unrelated to the script.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline zeno

  • *****
  • 887
Re: G10 Ultra Intervalometer
« Reply #5 on: 28 / February / 2012, 09:16:58 »
TextEdit is NOT the editor to use for scripts on a Mac. If you must use it, make sure you convert the file to plain text before saving. Otherwise, as waterwingz says, it will still be in RTF format.

A much better editor for scripts (and much else) on the Mac is TextWrangler (which is free)  - see http://www.barebones.com/products/textwrangler/
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: G10 Ultra Intervalometer
« Reply #6 on: 28 / February / 2012, 11:58:02 »
TextWrangler worked great. The scripts work again. However, I still can't get my camera to take photos faster than about 2.5 seconds. I'd like to be able to get 1 second intervals.

Re: G10 Ultra Intervalometer
« Reply #7 on: 28 / February / 2012, 17:00:00 »
TextWrangler worked great. The scripts work again. However, I still can't get my camera to take photos faster than about 2.5 seconds. I'd like to be able to get 1 second intervals.
The shoot commmand does a full exposure calculation and focus operation with each shot. Assuming your subject is not moving and your exposure is not changing,  you can lock the focus at the start with a script command.  I also believe that you can use a single half-press command and then cycle full-press commands to shoot quite a bit faster.   I'll test that out on my G10 tonight.

Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline fe50

  • ******
  • 3115
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: G10 Ultra Intervalometer
« Reply #8 on: 29 / February / 2012, 01:08:32 »
However, I still can't get my camera to take photos faster than about 2.5 seconds. I'd like to be able to get 1 second intervals.
You'll get the fastest rate possible on your camera's hardware with continuous mode & a script like this one:
* http://chdk.wikia.com/wiki/User:Fe50#fast_shooter

 

Related Topics