Bracketing and EV correction script (one more) - page 2 - Script Writing - CHDK Forum

Bracketing and EV correction script (one more)

  • 36 Replies
  • 22739 Views
Re: Bracketing and EV correction script (one more)
« Reply #10 on: 10 / June / 2008, 08:42:20 »
Advertisements
May anyone help me getting this one to work onto my SD750??  :-[
I copied script, named Simple_bracketing.bas, load onto SDcard, load it on CHDK, set the parameters (a,b,c), exit menu but still ALT mode, press shutter.

CHDK shows error:   Ubasic2:parse err

May anyone help?

I just want a simple bracketing script:  3 pics, shot in a row, at +1/0/-1 EV.

Thanks!

GAZZA
_______________________________

Canon Ixus75/SD750

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Bracketing and EV correction script (one more)
« Reply #11 on: 10 / June / 2008, 09:06:17 »
Hi Gazza#9,
do you use the script from the wikia (this one) ?

Your SD750 is a Digic III cam: so for Digic III change get_prop 205 p into get_prop 206 p (it appears twice) and all set_prop commands changed from set_prop 25 and set_prop 26 to set_prop 107 and set_prop 207 respectively. (from wikia)

Also there should be 1 empty line at the end of the script (after the end statement)...

...you also can do this without a script, you know ?

Extra Photo Operations -- Bracketing in continuous mode -- set "TV bracketing value" to "1 Ev", set Bracketing type to [+/-]

-> then shoot with continous mode, or better set custom timer to 3 shots & use it...

-> You'll get the first shoot with Tv=0, the second with Tv=+1 and the third with Tv -1 ...
« Last Edit: 10 / June / 2008, 09:15:47 by fe50 »

Re: Bracketing and EV correction script (one more)
« Reply #12 on: 10 / June / 2008, 14:58:01 »
Hi Gazza#9,
do you use the script from the wikia (this one) ?

Your SD750 is a Digic III cam: so for Digic III change get_prop 205 p into get_prop 206 p (it appears twice) and all set_prop commands changed from set_prop 25 and set_prop 26 to set_prop 107 and set_prop 207 respectively. (from wikia)

Also there should be 1 empty line at the end of the script (after the end statement)...

Mkay....I checked if my SD750 was a DigiII or DigiIII and...couldn't get a correct answer.
Somewehere I read it was a DigiII, somewhere a DigiIII.
Oki dokie; Gonna change those lines in the script, plus the empty line at the end.
Thanks!;-)

Quote
...you also can do this without a script, you know ?

Extra Photo Operations -- Bracketing in continuous mode -- set "TV bracketing value" to "1 Ev", set Bracketing type to [+/-]

-> then shoot with continous mode, or better set custom timer to 3 shots & use it...

-> You'll get the first shoot with Tv=0, the second with Tv=+1 and the third with Tv -1 ...

Oh!!. Great!
But...I think it's easier to use the scritp, which will do all by himself.
Load script, run it and..wait till 3 pics are taken ;)

Anyway, I will try both ways...and see which one i prefer ;)
Thanks mate!  :-)

GAZZA
_______________________________

Canon Ixus75/SD750

Re: Bracketing and EV correction script (one more)
« Reply #13 on: 12 / June / 2008, 00:31:10 »
How could I add a 3~5 second pause after the script is engaged? My set button is a little hard and the first shot is always off a little bit because of it.


*

Offline vk2him

  • *
  • 22
  • Canon S5IS
Re: Bracketing and EV correction script (one more)
« Reply #14 on: 12 / June / 2008, 06:10:30 »
Two options

1) Add a sleep 3000 to the script on the first line
2) Use the custom timer method described by fe50 above

Cheers

*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Bracketing and EV correction script (one more)
« Reply #15 on: 12 / June / 2008, 06:18:28 »
And there is an option in the "Script" menu: "Script shot delay (.1s)".

The default is .20s but you can increase it.

This way, when you push the button you have time to let go off the camera.

*

Offline vk2him

  • *
  • 22
  • Canon S5IS
Re: Bracketing and EV correction script (one more)
« Reply #16 on: 12 / June / 2008, 06:25:50 »
And there is an option in the "Script" menu: "Script shot delay (.1s)".

The default is .20s but you can increase it.

I thought about that, but according to the instructions isn't that delay after a shot is taken, meaning the first shot has no delay:

 Script shoot delay (.1s)
    A small time-delay after a shot is taken, before the next command in the script is executed.

Maybe I have misread/misunderstood this?  ::)
Cheers

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Bracketing and EV correction script (one more)
« Reply #17 on: 12 / June / 2008, 06:38:45 »
And there is an option in the "Script" menu: "Script shot delay (.1s)".

The default is .20s but you can increase it.

This way, when you push the button you have time to let go off the camera.


i have to correct you there, the default is 2 seconds, not 0.2 seconds :)


*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Bracketing and EV correction script (one more)
« Reply #18 on: 12 / June / 2008, 07:35:27 »
In core/kbd.c in the source
Code: [Select]
kbd_sched_delay(conf.script_shoot_delay*100);// XXX FIXME find out how to wait to jpeg save finished
is executed by function ubasic_camera_shoot before

Code: [Select]
KBD_STACK_PUSH(KEY_SHOOT_FULL)
So the delay is always before the ubasic shot command is executed, also on the first shot of a script...

I'm not really sure with this, can one of the developers confirm it ?


*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Bracketing and EV correction script (one more)
« Reply #19 on: 12 / June / 2008, 08:07:20 »
Quote
i have to correct you there, the default is 2 seconds, not 0.2 seconds

But of course! 0.1 * 20 = 2. You are right.

But then, why is vk2him messing up his first shot? 2 seconds should be enough time to move away his hand.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal