Delay in interval shooting not working - Script Writing - CHDK Forum

Delay in interval shooting not working

  • 6 Replies
  • 5741 Views
Delay in interval shooting not working
« on: 17 / July / 2008, 11:03:14 »
Advertisements
Hello everyone,

I'm using this very simple script to do an interval shooting using a SX100IS, Allbest build:

Code: (freebasic) [Select]
@title Interval script
@param a Shoot count(*10)
@default a 20
@param b pause (seconds)
@default b 10

sleep 1000

if a<1 then let a=1
if b<1 then let b=1
let b=b*1000
let a=a*10

for s=1 to a
sleep b
    print "Shoot", s, "of", a
shoot
next s
end

When i select 2 seconds for b and the exposure time is one second, it's shooting about every 7th second. With b=1 it's a bit less, like every 6th second. Shouldn't it be 4 seconds 'faster'? Am I missing something?

Thanks for your help,
roka.

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Delay in interval shooting not working
« Reply #1 on: 17 / July / 2008, 11:18:40 »
There's "script shoot delay" (default 20(=2sec)?) in script menu. That delay takes place after every "shoot" command.

*

Offline LjL

  • ****
  • 266
  • A720IS
Re: Delay in interval shooting not working
« Reply #2 on: 17 / July / 2008, 11:20:01 »
Well, keep in mind that "shoot" takes some time to focus and meter, although 4 whole seconds definitely seems way too long. Perhaps you should disable review?

Re: Delay in interval shooting not working
« Reply #3 on: 17 / July / 2008, 12:32:49 »
Thank you both - helped! Shooting every 3 seconds now, as it should!

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Delay in interval shooting not working
« Reply #4 on: 18 / July / 2008, 02:43:53 »
There's "script shoot delay" (default 20(=2sec)?) in script menu. That delay takes place after every "shoot" command.

we should set this default value way lower, to maybe 2. watcha think?

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Delay in interval shooting not working
« Reply #5 on: 18 / July / 2008, 05:32:05 »
There's "script shoot delay" (default 20(=2sec)?) in script menu. That delay takes place after every "shoot" command.
we should set this default value way lower, to maybe 2. watcha think?

Hi PhyrePhoX,
a lower value should be ok, but i think it could happen that some people then get problems with their "hand optimized" scripts  ;)
( OffT: you should instruct "gehtnix" by PM to check this, otherwise his hair will get blood dark red  :lol )

When is this "script shoot delay" really used ? - only after the shoot command, what's with key emulated shoots ?

About the ubasic shoot command: is the camera "ready" directly after this (in the next script line), or after the script shoot delay ?   question upon question...

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Delay in interval shooting not working
« Reply #6 on: 18 / July / 2008, 05:42:14 »
well imo the delay is saved when you first start chdk on a fresh sd card in a fresh cfg. so people who just update their chdk dont get the value overwritten, so people with customized scripts should not get problems.
i think the delay was set to so high because it was introduced in a time when the internal shoot stuff wasnt as properly described and coded as it is now.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal