Dual ISO and Lua

Started by garry23, March 23, 2021, 10:00:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

@a1ex

I'm not sure you are able to pick up on questions like this.

I'm playing with a script at the moment where I switch off Dual ISO between shots.

Using menu.set("Expo","Dual ISO",0) the dual ISO is switch off, ie when I exit I clearly see it's off.

The problem is, when I call camera.shoot dual iso is still active.

Are you aware of any issues with dynamically switch dual on and off in scripts?

Cheers

Garry

a1ex

To some extent, yes, some menus will not toggle correctly from Lua. A proper fix requires major change in the menu code + testing every single menu entry (there are hundreds of these, if not one thousand, at the time of writing).

Long answer: https://www.magiclantern.fm/forum/index.php?topic=19932.0

Workaround: for Dual ISO, Canon settings are changed from shoot_task, shortly after changing the menu setting. As such, a delay of 1 second or so after changing the menu might do the trick (not tested). Other menu entries (for other features) might require different tricks.

garry23

@a1ex

Many thanks for the hints. Now I know it's not me, I'll seek out a fix, if I can.

Cheers

Garry