Manual focus for a single trigger - General Discussion and Assistance - CHDK Forum

Manual focus for a single trigger

  • 3 Replies
  • 4111 Views
Manual focus for a single trigger
« on: 02 / September / 2011, 16:51:01 »
Advertisements
We are testing CHDK with a Canon A495.
Our deal is to put the camera in a production-like line so we can take a picture every time a product is in front of  it.
The problem is that the remote trigger needs to be shooted twice, since the first one adjust the focus and the second one (after 3 seconds) takes the picture.
This happens even though we set the "Override Subject Distance Value" to 300 mm.
How can we set this camera via CHDK to take the picture with the first trigger?

Re: Manual focus for a single trigger
« Reply #1 on: 02 / September / 2011, 19:42:57 »
How can we set this camera via CHDK to take the picture with the first trigger?

You pretty much have to use a script.  Something like this should work :

Code: [Select]
@title USB Remote
@param a Focus delay (seconds)
@default a 2

:loop1
    print "wait for USB"
:loop2
    wait_click 1
    is_key k "remote"
    if k<>1 then goto "loop2"
    print "focus"
    press "shoot_half"
    sleep a*1000
    print "shoot"
    click "shoot_full"
    release "shoot_half"
goto "loop1"

end

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline tpont

  • **
  • 81
Re: Manual focus for a single trigger
« Reply #2 on: 02 / October / 2011, 12:56:43 »
Thanks, loading scripts was much easier than I had imagined. However, using the script gives the same problem. Still the long delay before the shot is taken. I've also noticed that the batteries (in the camera) are depleted VERY quickly. I went from a fresh pair to battery warning in 15 minutes (!). But maybe the battery stats are wonky. I'll get back to reading this thread and testing some more later this week so any additional ideas are very much appreciated.

Re: Manual focus for a single trigger
« Reply #3 on: 03 / October / 2011, 05:34:36 »
any additional ideas are very much appreciated.

Using SDM , in Bracketing/Overrides menu set 'focus mode' to 'Manual'.


http://stereo.jpn.org/eng/sdm/index.htm

 

Related Topics


SimplePortal © 2008-2014, SimplePortal