press("shoot_half")repeat sleep(50) until get_shooting() == true
I have suspected infinite cycle some time ago, so I have counters already there....Next thing I have tried was "poor programmers debugger" ... i have printed numbers after every step of script and it printed last number before entering "half_press", so I expect it does not exit it.
--[[rem 26-Oct-2008 by msl @title MujCVAK Tv,Ne-ISO@param a integer value [Tv]@default a 0@param b key delay [ms]@default b 80@param c shoot delay [s]@default c 0]] function print_Tv() tv_output = {"64s","50s","40s","32s","25s","20s","15s","13s","10s","8s","6s", "5s","4s","3.2s","2.5s","2s","1.6s","1.3s","1s","0.8s","0.6s","0.5s","0.4s", "0.3s","1/4s","1/5s","1/6s","1/8s","1/10s","1/13s","1/15s","1/20s","1/25s", "1/30s","1/40s","1/50s","1/60s","1/80s","1/100s","1/125s","1/160s","1/200s", "1/250s","1/320s","1/400s","1/500s","1/640s","1/800s","1/1000s","1/1250s", "1/1600s","1/2000s","1/2500s","1/3200s","1/4000s","1/5000s","1/6400s", "1/8000s","1/10000s"} print_tv = "Tv : "..tv_output[tv_input+19]end --script start if a < -18 then a = -18 endif a > 40 then a = 40 endif b < 50 then b = 50 endif c < 0 then c = 0 endtv_input = akey_delay = bshoot_delay = cmujav=0mujtv=0mujtmp=0max_zoom = get_zoom_steps()zoom = get_zoom()mujiso_orig=get_iso_real()if mujiso == 0 then print("Nastav ISO na pevne")else print("Iso_start:",mujiso)end repeat press "shoot_half" cykl=500 repeat sleep(10) if (cykl>0) then cykl = cykl -1 else break end until get_shooting() == true sleep(20) TV = get_prop(262) tv_input= TV/32 print("TV: "..TV.." ") mujtmp=get_propset() muj1=get_prop(23) muj2=get_prop(296) if muj1>450 then posun=10 else posun=0 end TV = (tv_input+posun) * 32 if get_propset() == 2 then set_prop(262,TV) else set_prop(69,TV) end sleep(10) press "shoot_full" release "shoot_full" release "shoot_half" cykl=500 repeat sleep(10); if (cykl>0) then cykl = cykl -1 else break end until get_shooting() == trueuntil false
Since the Ixus series don't have a MF mode, try setting the camera to INF manually or to set a fix focus with the camera's AF lock feature...
press("shoot_half")repeat sleep(100) until get_shooting() == true release("shoot_half")repeat sleep(100) until get_shooting() == false set_aflock(1)
Started by image13 General Discussion and Assistance
Started by jjudd General Help and Assistance on using CHDK stable releases
Started by Aristoc « 1 2 » Script Writing
Started by Jerrycai General Help and Assistance on using CHDK stable releases
Started by muellerdave General Help and Assistance on using CHDK stable releases