Hi!
I have tested several possibilities for fast shooting based on "remote" USB voltage signal and found out that the following one works the fastest:
do
until (is_key "remote")
click "shoot_full"
It takes only 10ms from checking to performing "shoot_full".
I have tested procedure with two A640 cameras connected in parallel via USB signal and the highest difference between both shots was lower than 10ms (shooting of the cameras is synchronized within 10ms - based on about 60 measurements).
The complete script which performs focusing after first click on USB button and final shoot after the second click on the same button is here:
@title Focus Shutter
:loop
do
until (is_key "remote")
press "shoot_half"
blue_led_on
sleep 500
do
until (is_key "remote")
click "shoot_full"
blue_led_off
sleep 500
release "shoot_half"
goto "loop"
end
This can be useful when synchronous shots by multiple cameras should be performed. Of course, the main impact can be for stereoscopy (simultaneous shooting of two cameras).
However, speed of shooting might be even better if the following statements can be included into ONE uBASIC command (so, rapid checking of USB signal and then immediately call click "shoot_fool" - all in one statement):
do
until (is_key "remote")
click "shoot_full"
Is it possible to do that? It might significantly decrease time lag from applying the voltage to USB to actually performing shooting. Everybody could gain from such a function.
Even if it cannot be made, CHDK & uBASIC is great!
Damir
(moderated edit: Added "Lamp" message icon for easier finding later of useful working scripts.)