How read from script ,values from "Miscellaneous values" menu - Script Writing - CHDK Forum

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

  • 4 Replies
  • 4053 Views
*

Offline blackhole

  • *****
  • 946
  • 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

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
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
CHDK-DE:  CHDK-DE links

*

Offline blackhole

  • *****
  • 946
  • 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

  • ******
  • 4451
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

  • *****
  • 946
  • 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


SimplePortal © 2008-2014, SimplePortal