USB Remote + AF Lock - General Help and Assistance on using CHDK stable releases - CHDK Forum

USB Remote + AF Lock

  • 5 Replies
  • 3145 Views
USB Remote + AF Lock
« on: 17 / March / 2011, 13:20:44 »
Advertisements
I'm using Canon's own AF Lock (on an A480), and am using a USB remote.  Currently it is necessary for me to press the trigger twice for the camera to take a shot -- the first would be the normal autofocus half-click, and the second is to take the shot.  I'd like to just shoot directly on the first shot, since I've already set the focus manually.  Is there a way to make this happen?  I've checked out the information on setting parameters (here: http://chdk.wikia.com/wiki/CHDK_User_Manual#Remote_Parameters) and can't figure it out.

Thanks!

Re: USB Remote + AF Lock
« Reply #1 on: 17 / March / 2011, 13:24:16 »
I have no idea about CHDK but with SDM just set focus mode to Manual in Bracketing/Overrides menu.


David

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: USB Remote + AF Lock
« Reply #2 on: 17 / March / 2011, 15:46:54 »
Use a little script and you can take a photo without half-click-function for autofocus.

Code: [Select]
@title Remote Shoot
while 1
    p=get_usb_power
    sleep 200
    if p>0 then
        shoot
    endif
wend
end

msl
CHDK-DE:  CHDK-DE links

Re: USB Remote + AF Lock
« Reply #3 on: 17 / March / 2011, 16:05:09 »
Thanks!  Now going to try to figure out scripting...

Re: USB Remote + AF Lock
« Reply #4 on: 17 / March / 2011, 16:15:58 »
Would it work to copy the code into a text file, save it as remoteshoot.bas and then place it in the Scripts folder in chdk on the SD Card?  Currently there are two subfolders in there plus one .bas called default. Seems like then I'd navigate to scripting parameters on the camera, locate it and turn it on? Sorry to be dense -- am looking around but am overwhelmed by information.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: USB Remote + AF Lock
« Reply #5 on: 18 / March / 2011, 02:10:14 »
Would it work to copy the code into a text file, save it as remoteshoot.bas and then place it in the Scripts folder in chdk on the SD Card?
Yes, that's the way CHDK scripting works...

Since the camera use only 8.3 (DOS style) filenames, use a shorter name for the script, e.g. rshoot.bas ...

See also
* http://chdk.wikia.com/wiki/CHDK_User_Manual#Scripting_Parameters
* http://chdk.wikia.com/wiki/CHDK_firmware_usage#Script_menu

 

Related Topics


SimplePortal © 2008-2014, SimplePortal