***STARTED******FINISHED***
...It gave no error but simply resulted in a quick Code: [Select]***STARTED******FINISHED***and no pictures taken. Can you tell I know nothing about writing scripts? (But I'm willing to learn. )
if(b>9999) then b=b-9999end
--[[@title Long-Exposure Continuous Shooting@param a Exposure Time (Seconds)@default a 10@range a 1 60@param b Number of Shots@default b 10@range b 0 9999]]--This is an array of TV96 values for exposure times 1-60 seconds.--It is indexed by the exposure time in seconds.expVAL = {0, -96, -152, -192, -223, -248, -270, -288, -304, -319, -332, -344, -355, -366, -375, -384, -392, -400, -408, 415, -422, -428, -434, -440, -446, -451, -456, -462, -466, -471, -476, -480, -484, -488, -492, -496, -500, -504, -507, -511, -514, -518, -521, -524, -527, -530, -533, -536, -539, -542, -545, -547, -550, -552, -555, -558, -560, -562, -565, -567}--This is the main part of the script.--MUST BE IN CONTINUOUS DRIVE MODEif(b>0)then b=b+get_exp_count()endif(b>9999) then b=b-9999 end -- starts from 1 againprint("exp:",expVAL[a])sleep(2000)set_iso_real( 80 )set_tv96_direct( expVAL[a] )press("shoot_full") -- holds shutter down in continuous moderepeat sleep(10) until get_exp_count()==b
But reyalp, I had made those changes as mentioned above but it still didn't work.
Should there be spaces in between some of the statements.
if(b>9999)thenif ( b > 9999) thenif b>9999 then
ifb>9999then
If I immediately rerun the script, it shoots with a 5 second exposure on the second try and every subsequent try. Changing the shutter time sometimes causes it to shoot at 1/20 the first time and then back to the new time after that.
I would expect this has something to do with the fact it doesn't pre-shoot, just does shoot_full immediately.
press("shoot_half") repeat sleep(50) until get_shooting() == trueset_iso_real( 80 )set_tv96_direct( expVAL[a] )press("shoot_full") repeat sleep(10) until get_exp_count()==brelease("shoot_full")release("shoot_half")
but it did not override the exposure time at all
The override functions need to be called before half_shoot.
--[[@title Long-Exposure Continuous Shooting@param a Exposure Time (Seconds)@default a 10@range a 1 60@param b Number of Shots@default b 10@range b 0 9999]]--This is an array of TV96 values for exposure times 1-60 seconds.--It is indexed by the exposure time in seconds.expVAL = {0, -96, -152, -192, -223, -248, -270, -288, -304, -319, -332, -344, -355, -366, -375, -384, -392, -400, -408, 415, -422, -428, -434, -440, -446, -451, -456, -462, -466, -471, -476, -480, -484, -488, -492, -496, -500, -504, -507, -511, -514, -518, -521, -524, -527, -530, -533, -536, -539, -542, -545, -547, -550, -552, -555, -558, -560, -562, -565, -567}--This is the main part of the script.--MUST BE IN CONTINUOUS DRIVE MODEif(b>0)then b=b+get_exp_count()endif(b>9999) then b=b-9999 end -- starts from 1 againprint("exp:",expVAL[a])sleep(2000)set_iso_real( 80 )set_tv96_direct( expVAL[a] )press("shoot_half")repeat sleep(50) until get_shooting() == truepress("shoot_full") repeat sleep(10) until get_exp_count()==brelease("shoot_full")release("shoot_half")
Started by fbonomi Creative Uses of CHDK
Started by dom-a « 1 2 » Creative Uses of CHDK
Started by outslider « 1 2 3 4 5 » Creative Uses of CHDK
Started by Anoop Kumar Script Writing
Started by thangggg123 Script Writing