Property 105 - set display mode - bug or read-only? - LUA Scripting - CHDK Forum
supplierdeeply

Property 105 - set display mode - bug or read-only?

  • 2 Replies
  • 5239 Views
Property 105 - set display mode - bug or read-only?
« on: 23 / May / 2010, 15:09:30 »
Advertisements
Hi,
I have a question concerning propsets, esp. propset 105 for setting the display mode on a digic IV camera.
On http://chdk.wikia.com/wiki/PropertyCase#Digic_III_.26_Digic_IV , it's not stated whether or not I can do write to this property.
On my Ixus 65, I can set the displaymode, but it has no effect. Question is: Should this work, but doesn't because of a bug, or is this a read-only property?

I tested the behaviour of my camera with the script attached, but display mode actually never changed. The method getDisplayMode() stated otherwise though.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Property 105 - set display mode - bug or read-only?
« Reply #1 on: 23 / May / 2010, 16:07:48 »
Writing to propcases is a sort of experimental science and a hopeful hack that just happens to work rather well for us... but certainly you can't call any odd or missing behavior a bug when dealing with them.

You can write to any propcase, but the camera only acts on some -- and even then the effect is often partial, usually the GUI isn't aware of your changes even though the all the shooting code is. The wiki documents what people have found over the years. If a propcase appears to change with camera operation, it's meaning has been described. If writing to it seems to have an effect, it's been tagged read&write and if not, it's read only. If it hasn't been tagged, nobody's bothered to check and/or document it yet.

Apparently this one's a read only propcase.

Btw, note that propset is what we call a set of propcases (Canon shuffles the propcase numbers sometimes, we know of 3 sets...and note that they don't actually follow the digic version II/III/IV).

Re: Property 105 - set display mode - bug or read-only?
« Reply #2 on: 24 / May / 2010, 14:38:22 »
Thanks for your answer

Btw, note that propset is what we call a set of propcases (Canon shuffles the propcase numbers sometimes, we know of 3 sets...and note that they don't actually follow the digic version II/III/IV).

I use "get_propset()" to determine which propset to use, I guess that's safe, isn't it?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal