supplierdeeply

A720 & AE lock

  • 3 Replies
  • 546 Views
*

Offline msl

  • *****
  • 1227
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
A720 & AE lock
« on: 28 / February / 2015, 05:45:12 »
Advertisements
I have a strange problem with the AE lock at the A720.

If I activate the AE lock via the key shortcut (half shutter & +/-), the CHDK UI disappears. The ALT mode is possible. Than the UI is visible again. After leaving the ALT mode the UI disappears again.

With a script it is similar. After a half shoot procedure, setting set_aelock(1) and the first shoot the UI disappears and the script waits at the position after shoot(). Other variants of shoot() produce the same situation.

With the SX220 and the same script is all fine.

msl
« Last Edit: 28 / February / 2015, 07:32:26 by msl »
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline msl

  • *****
  • 1227
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: A720 & AE lock
« Reply #1 on: 28 / February / 2015, 07:49:56 »
A 'quick&dirty' script test:
Code: [Select]
count = 0
press("shoot_half")
repeat
    sleep(50)
    count = count+1
    if count > 40 then timeout = true end
until get_shooting() or timeout
release("shoot_half")
repeat sleep(50) until not get_shooting()

set_aelock(1)

--set_focus(100) --set focus is valid, but script stops with press/release variant

--shoot() -- script stops after this command

press("shoot_full")  -- script runs fine
release("shoot_full")

sleep(1000)
set_aelock(0)
print("ready")

AE lock and set_focus() are needed for a focus-stacking project. And as I said with the SX220 is all fine.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline srsa_4c

  • ******
  • 3530
Re: A720 & AE lock
« Reply #2 on: 28 / February / 2015, 09:31:04 »
You have mentioned a couple of problems. See these threads:
CHDK OSD obscuring display
set_aelock() - for video modes only ?
Bug? A570/ CHDK 1.3 (r. 3487): CHDK-Display disappears after shooting a picture.
There doesn't seem to be a reliable, generic solution for propset 2 cameras...

*

Offline msl

  • *****
  • 1227
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: A720 & AE lock
« Reply #3 on: 28 / February / 2015, 10:50:25 »
Thanks for the links. I had forgotten these topics. :-[

Now I understand the problem better. That means, a general solution for propset 2 is difficult or not possible.

We could build an alternative function for set_aelock () in scripts, using override functions, e.g.:
Code: [Select]
if propset() == 2 then
    set_tv96_direct(get_tv96)
    set_av96_direct(get_av96)
else
    set_aelock(1)
end
This is more a basic example for one shot.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!


 

Related Topics