How read from script ,values from "Miscellaneous values" menu

  • 4 Replies
  • 1017 Views
*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Advertisements
How read from script ,values from "Miscellaneous values" menu?
I need the value measured Ev (Bv + Sv) and B Scene luminance (cd/m2)

Thanks in advance, whatever the answer was.

*

Offline msl

  • *****
  • 1239
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: How read from script ,values from "Miscellaneous values" menu
« Reply #1 on: 12 / March / 2014, 06:33:22 »
=> http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page

Go to the 'Exposure Functions'. There are all relevant script functions listed that are available. You need 'get_sv96' and 'get_bv96' for your calculation.

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

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: How read from script ,values from "Miscellaneous values" menu
« Reply #2 on: 12 / March / 2014, 12:15:54 »
Thanks msl ! ;)
I made a script and the value of Evm is always different than the value shown in the 'Miscellaneous values'.
'Miscellaneous values' shows the value of Evm 2:07 and my script returns the value 199, which should be 1.99.
Why  this difference occurs?
Code: [Select]
--[[
@title test
--]]

press("shoot_half")
sleep(1000)
x=get_sv96 ()
y=get_bv96 ()
e=x+y
print("Evm", e)
release("shoot_half")

*

Offline srsa_4c

  • ******
  • 3728
Re: How read from script ,values from "Miscellaneous values" menu
« Reply #3 on: 12 / March / 2014, 13:04:42 »
I made a script and the value of Evm is always different than the value shown in the 'Miscellaneous values'.
'Miscellaneous values' shows the value of Evm 2:07 and my script returns the value 199, which should be 1.99.
Why  this difference occurs?
You're using script functions that return their value in APEX96 units. 199/96=2.07


*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: How read from script ,values from "Miscellaneous values" menu
« Reply #4 on: 12 / March / 2014, 13:55:47 »
ahh yes, thank you for the clarification. :-X

 

Related Topics