Getting live exposure values without needing half press might be useful.
I checked in the finsig_vxworks and finsig_dryos changes for get_nd_value, get_current_nd_value and get_current_exp. These aren't 100% verified, but I checked the disassembly for a pretty good sample and didn't find any issues.
The gain value isn't an sv96 value, I saw values ranging from -155 (aimed directly at a light) to 192 (very low light)
Wouldn't it be nice if that value simply reflects under & over exposure amounts at the current Tv, Av, Sv, NDfilter, and EvAdjust settings?
On A540, calling get_current_tv96() while the sensor is off (in playback or display off mode) appears to cause crashes when the sensor is turned on again. SX160 does not suffer from this.
!bv,sv,tv,av,dg,ug=con:execwait[[p=require'propcase' press'shoot_half' repeat sleep(10) until get_shooting() return get_prop(p.BV),get_prop(p.SV),get_current_tv96(),get_current_av96(),call_func_ptr(0xFF916908),call_func_ptr(0xFF916E0C)]]esv=tv + av - bvprintf("tv=%d (%s) av=%d (%0.2f) bv=%d dg=%d esv=%d (%d) esv-dg=%d sv=%d (%d) ug=%d\n", tv,exp.tv96_to_shutter_str(tv), av,exp.av96_to_f(av), bv,dg,esv,exp.sv96_to_iso(esv),esv-dg,sv,exp.sv96_to_iso(sv),ug)
Quote from: reyalp on 09 / September / 2018, 21:22:57On A540, calling get_current_tv96() while the sensor is off (in playback or display off mode) appears to cause crashes when the sensor is turned on again. SX160 does not suffer from this.D10 also doesn't have this problem, so I suspect it only applies old cameras, but unclear whether the cutoff is digic 2, vxworks, or something else.There are variables that appear to reflect when the sensor is on, for example 0x54A0 on a540 (often referenced as 0x549C+4). It should be possible to add this to the sig finders (maybe via "Fail ImagerActivate(ErrorCode:%x)\r", but doesn't appear to exposed through a super easy event proc. Knowing whether the sensor is on might be useful in other contexts.
Started by Stimpy
Started by chocochan
« 1 2 »
Started by Sen
General Help and Assistance on using CHDK stable releases
Started by Sen
Started by reyalp
« 1 2 ... 12 13 »
General Discussion and Assistance