ASSERT!! CtrlSrv.c Line 731Task name: PhySw...00017740: UI:Button:0x00001135:00017740: UI:LogicalEvent:0x00001134:adr:0x1,Para:100017740: UI:Button:0x00001134:00017740: UI:LogicalEvent:0x000008af:adr:0x1,Para:100017740: UI:Button:0x000008AF:RotateEDialRight00017740: UI:LogicalEvent:0x00001135:adr:0x1,Para:100017740: UI:Button:0x00001135:...
local start = max-hlw -- hlw= 1..10 if total > 0 then -- overexposed i = 0 repeat wheel_right() -- move 1 stop, but note camera must be set to 1/3 stops wheel_right() wheel_right() histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total <= 0
Same lines repeated in romlog until out of memory? QuoteASSERT!! CtrlSrv.c Line 731Task name: PhySw...00017740: UI:Button:0x00001135:00017740: UI:LogicalEvent:0x00001134:adr:0x1,Para:100017740: UI:Button:0x00001134:00017740: UI:LogicalEvent:0x000008af:adr:0x1,Para:100017740: UI:Button:0x000008AF:RotateEDialRight00017740: UI:LogicalEvent:0x00001135:adr:0x1,Para:100017740: UI:Button:0x00001135:...Code: [Select] local start = max-hlw -- hlw= 1..10 if total > 0 then -- overexposed i = 0 repeat wheel_right() -- move 1 stop, but note camera must be set to 1/3 stops wheel_right() wheel_right() histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total <= 0 Correction is -3 EV..+3EV, so might still be some counts in the high bins, so total always > 0.
function set_ETTR() do local histo={} local total = 0 histo,total=get_live_histo() total = 0 local max = #histo local start = max-hlw for i = start,(max-1),1 do total = total + histo[i] end -- get the total count in the requested quartiles local sl = 50 if total <= 0 then -- underexposed repeat wheel_left() sleep(sl) histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total > limit end if total > limit then repeat wheel_right() sleep(sl) histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total <= limit end press("shoot_half") repeat sleep(10) until get_shooting() s = get_tv96() set_user_tv96(s) release("shoot_half") repeat sleep(10) until (not get_shooting()) return endend
Quote from: Caefix on 11 / June / 2022, 12:40:16Same lines repeated in romlog until out of memory?
Same lines repeated in romlog until out of memory?
until total <= 0 or counter == 9
Quote from: pigeonhill on 11 / June / 2022, 12:48:09Quote from: Caefix on 11 / June / 2022, 12:40:16Same lines repeated in romlog until out of memory? Something like ...Code: [Select] until total <= 0 or counter == 9 would prevent worst case setting -> endless loop.
function set_ETTR() do local histo={} local total = 0 histo,total=get_live_histo() total = 0 local max = #histo local start = max-hlw for i = start,(max-1),1 do total = total + histo[i] end -- get the total count in the requested quartiles local sl = 50 if total <= 0 then -- underexposed repeat wheel_left() sleep(sl) histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total > limit or get_prop(props.USER_TV) <= -480 end if total > limit then repeat wheel_right() sleep(sl) histo,total=get_live_histo() total = 0 for i = start,(max-1),1 do total = total + histo[i] end until total <= limit or get_prop(props.USER_TV) >= 1056 end press("shoot_half") repeat sleep(10) until get_shooting() s = get_tv96() set_user_tv96(s) release("shoot_half") repeat sleep(10) until (not get_shooting()) return endend
I will download it.
Quote from: Caefix on 11 / June / 2022, 14:01:56I will download it. ... but, remember, I wrote for my use
Started by waldo « 1 2 3 » General Discussion and Assistance
Started by cyril42e General Discussion and Assistance
Started by Bernd R DryOS Development
Started by CNW Script Writing
Started by pwcal2 Feature Requests