function dcimdl(destdir,del,pretend) if pretend then pretend = '-pretend ' else pretend = '' end local dcim,err=con:listdir('A/DCIM') if not dcim then printf('error listing directory %s\n',tostring(err)) return end for i,dname in ipairs(dcim) do if dname ~= 'CANONMSC' then cli:print_status(cli:execute('mdl '..pretend..' -fmatch=%.[JDC][PNR][G2W]$ DCIM/'..dname..' '..destdir)) end end if del then cli:print_status(cli:execute('rm '..pretend..' -skip_topdirs DCIM')) endendfunction shoot_dcimdl(tv, av, sv, destdir) cli:execute('shoot -tv='..tv..' -av='..av..' -sv='..sv..'') --con:execwait('shoot -tv='..tv..' -av='..av..' -sv='..sv..'') sys.sleep(1600) local l,r=con:execwait('return get_meminfo().free_size') print(" free", r) printf(" free: %s\n",r) dcimdl(destdir, true, false)endfunction loop(n) for i=1,n do print('myshoot', i) printf('myshoot %d ', i) shoot_dcimdl(1/8,2,200,"C:\\CANON_S90\\") sys.sleep(1400) if not con:is_connected() then return; end endend
Because RC transfer begs for write holdoff, I am just wondering ... since srsa is working on RC, could he possibly craft out the write holdoff solution and give it to you so I could try it out? Please don't be angry with me
action_push_delay(conf.script_shoot_delay*100);
Because an SD card can occasionally stall a write way beyond the delay setting, the only way to rule out camera hardware contention as a potential source of this error at this point, would be ....
If you have a suggestion how this signal could be implemented, I'm all ears Instead of issuing Code: [Select]action_push_delay(conf.script_shoot_delay*100); in AS_SHOOT, what should be done? Is this related to state_shooting_progress? If so, that variable is only set to SHOOTING_PROGRESS_DONE in core/main.c, depending on a propcase which is evaluated by shooting_in_progress() in core/shooting.c ...
if ((state_shooting_progress == SHOOTING_PROGRESS_PROCESSING) && (!shooting_in_progress()) && shooting_is_save_complete())
The other issue is that on cameras with native RAW and RAW + JPEG setting, FileWriteTask will be launched twice. This condition will need to be detected somehow.
Since I don't want to cause chaos in the test branch, could you merge(?) the necessary changesets there?
Should this be done by simply merging all trunk changesets since the creation of ptp-remote-capture-test?
@reyalpI am ready to test anything you need. The USB 1.0 bench is freed up so if you'd like to give the SX110 a work-over too in parallel at one point, I can help.
Here's a screen shot instead of text because the DOS and console outputs are different. Note that in this case the two files were saved on SD but not transferred to PC, and the test continued on till the end (400). Could this be related to the last mysterious error? Any ideas what could be the source?
Started by smilem General Help and Assistance on using CHDK stable releases
Started by SticK « 1 2 ... 70 71 » Creative Uses of CHDK
Started by SticK CHDK Releases
Started by andrew.stephens.754365 General Help and Assistance on using CHDK stable releases
Started by reyalp RAW Shooting and Processing