Property Cases without R/W status specified, unknown? - Script Writing - CHDK Forum

Property Cases without R/W status specified, unknown?

  • 1 Replies
  • 1468 Views
Property Cases without R/W status specified, unknown?
« on: 30 / November / 2009, 23:36:31 »
Advertisements
I'm attempting to figure out just how much I can configure my camera via script so i'm taking a look at the long list of Property Case values -

http://chdk.wikia.com/wiki/PropertyCase

Few prop cases have R/W status listed. Do we have an idea on the blank ones? Should I fill my findings as i poke at the ones without data?

*

Offline reyalp

  • ******
  • 12878
Re: Property Cases without R/W status specified, unknown?
« Reply #1 on: 30 / November / 2009, 23:44:47 »
Few prop cases have R/W status listed. Do we have an idea on the blank ones? Should I fill my findings as i poke at the ones without data?
Some of the writable ones used in the code are probably not listed there, but otherwise it's safe to assume anything not specified one way or the other is unknown.

A good start would be going through the propset.h files, grepping those names in the code, and updating the wiki as needed.

Some things to keep in mind:
- propcases are actually variable size. lua, ubasic and much of CHDK treat them all as signed shorts (leading to the signedness bug for PROPCASE_SHOOTING_MODE values, among other things). Some are longer than a single word. Adding full support from lua is on my TODO list.

- writing to some propcases is only effective at certain times. E.g. if you write to say the Tv propcase outside of a half shoot, your value will be clobbered by camera AE.
Don't forget what the H stands for.

 

Related Topics