3) use eventprocs. For this, you need to set "Enable Lua Native Calls" in the misc menu, then callcall_event_proc("SS.Create")once after the camera starts.Call call_event_proc("SS.MFOn") to enable MF, and call_event_proc("SS.MFOff") to disable it.
Quote3) use eventprocs. For this, you need to set "Enable Lua Native Calls" in the misc menu, then callcall_event_proc("SS.Create")once after the camera starts.Call call_event_proc("SS.MFOn") to enable MF, and call_event_proc("SS.MFOff") to disable it.I tried what you said on the third option, and when I ran it I received the following message:ERROR: :80: attempt to index global 'SS' (a nil value)user code: 1
call_event_proc("SS.Create")call_event_proc("SS.MFOn")
Is the focus now on manual?
How do I set a value to it?
Ok, it seems like the problem was because I used a per of " nested inside another per of ".So now, when I use 'SS.Create' & 'SS.MFOn' it's seems like working well...
$init = $exec." -c -erec -e\"luar call_event_proc('SS.Create'); call_event_proc('SS.MFOn'); set_prop(220,2); set_focus(150);\" ";
$captureCommand = $exec." -c -e\"shoot -tv=1/1000 -sv=50 -av=2 -dl\" ";
The capture command runs inside a loop with 0.25 second sleep between each iteration (prevents failures)Code: [Select]$captureCommand = $exec." -c -e\"shoot -tv=1/1000 -sv=50 -av=2 -dl\" ";Do you think all -tv -av -sv etc. increases time consumption?
How can I get rid of it and set it only once in the $init command?
The capture command runs inside a loop with 0.25 second sleep between each iteration (prevents failures)
1) use remoteshoot instead of shoot. This takes most of the same options but downloads directly over USB instead of saving on the card and then downloading. Note this means the images will NOT be saved on the card.
2) Instead of launching, connecting, shooting and disconnecting every shot, just start chdkptp once and pipe the shoot or remoteshoot commands to it. This saves you the connection overhead, and also probably avoids the problem mentioned in:
Started by stesch Script Writing
Started by jiffer General Discussion and Assistance
Started by danmitchell36 General Discussion and Assistance
Started by tscheckoff Firmware Dumping
Started by DavidAHood General Help and Assistance on using CHDK stable releases