Retract lens comand (does it exist??? ) - Script Writing - CHDK Forum supplierdeeply

Retract lens comand (does it exist??? )

  • 13 Replies
  • 7546 Views
Retract lens comand (does it exist??? )
« on: 09 / July / 2009, 08:44:10 »
Advertisements
Hello!
Is there any command that I can use to retract the lens?
Maybe zooming out until the lens is in the case or shutting down the camera or other way?

thanks

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Retract lens comand (does it exist??? )
« Reply #1 on: 09 / July / 2009, 14:05:42 »
Not that I know of.

In REC mode this could be dangerous and probably shouldn't be tried even if there was a command. In PLAY mode I don't know of any other way than to wait for Canon's power savings delay (which may be affected by Canon menu power saving time setting).

So basically if you are asking because you want e.g. a slow intervalometer to wait with lens protected, you'll need to switch between REC and PLAY.

Re: Retract lens comand (does it exist??? )
« Reply #2 on: 09 / July / 2009, 15:16:29 »
Is there any command that I can use to retract the lens?

Yes, I have just tried the following SDM uBasic script on my A620 :-

@title Retract lens

playback_mode
sleep_for_seconds 75
record_mode
end

It works fine.
Lens retracts after about 60 seconds.

Re: Retract lens comand (does it exist??? )
« Reply #3 on: 09 / July / 2009, 17:53:10 »

So basically if you are asking because you want e.g. a slow intervalometer to wait with lens protected, you'll need to switch between REC and PLAY.


I didn't notice the ubasic command to return to record mode?

@microfunguy: why bother cluttering up the command namespace with 'sleep_for_seconds 75' when 'sleep 75000' was already available?


Re: Retract lens comand (does it exist??? )
« Reply #4 on: 09 / July / 2009, 18:47:02 »
So if I understand it correctly I must turn to playback mode and wait for lens to retract?

Thank you all for your help :)

Re: Retract lens comand (does it exist??? )
« Reply #5 on: 10 / July / 2009, 12:16:47 »
Hello!
I have tryed the playback_mode command but it crashes on the G9 any other way?

Thanks

Re: Retract lens comand (does it exist??? )
« Reply #6 on: 10 / July / 2009, 12:45:29 »
I have tryed the playback_mode command but it crashes on the G9 any other way?

It is only supported in SDM 1.80


Please try that.

rename your existing DISKBOOT.BIN and replace with SDM version.

Let us know if that works.


Re: Retract lens comand (does it exist??? )
« Reply #7 on: 11 / July / 2009, 13:15:29 »
Hello!
Yes Microfunguy, with SDM 1.80 the playback_mode works realy well, but instead I am not able to shoot in sequence has I do with the oficial release. The options menu is very diferent and stereo foto oriented.



Re: Retract lens comand (does it exist??? )
« Reply #8 on: 11 / July / 2009, 14:27:24 »
I am not able to shoot in sequence

Do you mean time-lapse ?
You certainly can !

See here and here.

The time-lapse script is in Common_files.zip.
« Last Edit: 11 / July / 2009, 14:29:20 by Microfunguy »

Re: Retract lens comand (does it exist??? )
« Reply #9 on: 12 / July / 2009, 09:14:02 »
No, Not in time-lapse. I has talking about setting continuous mode.
If I set the continuous mode manually on the camera the script shoot continuously until I press the button again. But after changing to playback mode (in order to retract the lens) if i try to return to record mode the continous mode isn't activated anymore.....
I am looking now for a command that can set continuous mode inside the script.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal