Turning off backlight - Script Writing - CHDK Forum supplierdeeply

Turning off backlight

  • 4 Replies
  • 2744 Views
Turning off backlight
« on: 03 / February / 2009, 05:24:27 »
Advertisements
I recently noticed that there is a new command available to scripts, set_backlight(0) which switches off the backlight, obviously of interest to timelapse scripts etc. I have however been trying to modify the "yet another accurate intervalometer" lua script to incorporate both this and the AF lock to save battery life and wear on the camera. Initially the backlight turns off but then comes back on following the first shot, I have put an extra set_backlight(0) after the release shoot_full but this seems to have no effect, I have also put it after the "repeat until get_shooting() == false" but again to no effect.

Any ideas?


Re: Turning off backlight
« Reply #1 on: 03 / February / 2009, 07:52:57 »
Any ideas?

SDM 1.76 does both of those actions in its new time-lapse, bracketing and time-lapse with bracketing functions.
There is also a unique function for time-lapse sunrises.
The stereo information header at the top of the screen may be turned-off for those only interested in general photography.

It will be released at the end of the week but if you contact me with your camera details and an email address that will accept attachments containing executable files (DISKBOOT.BIN) I can send it to you now.


David

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Turning off backlight
« Reply #2 on: 03 / February / 2009, 12:30:25 »
I have also put it after the "repeat until get_shooting() == false" but again to no effect.

Try adding some sleep after that as well.

What turns the LCD on is the camera readjusting it's live view after a shot. Sounds like get_shooting() is turning false a little bit too soon for this purpose for you, at least in the amount of light you tried it in.

Also, the timelapse script probably spends time in a loop checking for time, sleeping, checking for time, sleeping ...

You could add set_backlight(0) inside that loop (I do believe it's safe to call it repeatedly although I can't speak for all cameras out there, if even for mine)

Re: Turning off backlight
« Reply #3 on: 03 / February / 2009, 13:15:50 »
fudgey: Thanks for the suggestion, I put it into the loop and all seems fine now, as you said seems to be a timing issue.

Microfunguy: I have to admit that I have always been slightly confused as to where the SDM build fits in with general photography, I assumed it was specialist but what you say sounds interesting and I will probably have a play with that when it comes out.

Thanks to you both,

Dave


Re: Turning off backlight
« Reply #4 on: 03 / February / 2009, 14:51:23 »
I will probably have a play with that when it comes out.

It is a painless process ..    :)
Assuming that you already have a bootable card, rename your existing CFG and DISKBOOT.BIN files and copy the SDM DISKBOOT.BIN to the card.

Copy 'time_lapse.bas' to your Scripts folder.


David

 

Related Topics