Setting camera drive mode - Script Writing - CHDK Forum

Setting camera drive mode

  • 4 Replies
  • 5688 Views
*

Offline waldo

  • ***
  • 238
Setting camera drive mode
« on: 22 / February / 2009, 18:29:45 »
Advertisements
I have created some scripts that use bracketing.  I can use bracketing in continuous mode and I can use bracketing in custom self-timer mode.  So far, so good.  But in my case, I would like to set the camera's drive mode from "single" to "continuous" or "custom self timer" via a script.  My camera always defaults to single shot mode on power-up and I am looking for a way to run an auto-start script on power-up to set up everything for bracketing.

Is there a prop case or some other way to change the drive mode? (SD800)  Thanks.

Re: Setting camera drive mode
« Reply #1 on: 22 / February / 2009, 18:50:10 »
Save your settings via Canon's menu and then start your camera in "C" mode. Camera will start with your saved settings. With s3is it is possible to start camera in "continuous" or "custom self timer" drive mode.

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Setting camera drive mode
« Reply #2 on: 22 / February / 2009, 19:28:31 »
Save your settings via Canon's menu and then start your camera in "C" mode. Camera will start with your saved settings. With s3is it is possible to start camera in "continuous" or "custom self timer" drive mode.

The problem is...the SD800 do not have a "C" mode, as all the cameras of the Ixus series...

@waldo
Have you tried the script method (autostarted script, emulating the keypresses) ?

A sample script from my SD870...

Code: (sdlbasic) [Select]
@title SD870 Bootup
if autostarted = 0 then goto "Exit"
if get_drive_mode = 0 then
  click "shoot_half"
  sleep 900
  click "down"
  sleep 40
  click "down"
  sleep 40
  click "set"
  sleep 40
endif
:Exit
  cls
  exit_alt
end
If your camera automatically starts in record mode, you don't need line 4 & line 5; maybe you have to adjust the keypresses a bit...

*

Offline waldo

  • ***
  • 238
Re: Setting camera drive mode
« Reply #3 on: 22 / February / 2009, 20:09:43 »
Yes, of course.  Thank you.  Normally I ignore the "keypress" approach because it depends on what keys have been pressed earlier and other things.  But in this case, that would work well, since this script would run at power-up.

In this case with this camera, the script would press "Down" five times.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Setting camera drive mode
« Reply #4 on: 23 / February / 2009, 13:33:37 »
Look for drive mode in http://chdk.wikia.com/wiki/PropertyCase. At least for Digic III it's been tagged read only, so it probably won't work. But to be sure you'll have to test on your camera. While testing, note that icons on the display will most certainly not change even if effective drive mode changes (i.e. test by shooting for real, not by looking at the LCD).

 

Related Topics


SimplePortal © 2008-2014, SimplePortal