Remote (fast) shooting - Completed and Working Scripts - CHDK Forum

Remote (fast) shooting

  • 3 Replies
  • 9727 Views
Remote (fast) shooting
« on: 02 / December / 2007, 06:25:27 »
Advertisements
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:

Code: [Select]
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:

Code: [Select]
@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.)
« Last Edit: 12 / December / 2007, 16:45:59 by Woodsman »

*

Offline a710is

  • ****
  • 250
  • A710 IS
Re: Remote (fast) shooting
« Reply #1 on: 02 / December / 2007, 09:20:00 »
on my A710 after running the short script, when I press the button it just closes te script
the long script locks my camera

Re: Remote (fast) shooting
« Reply #2 on: 02 / December / 2007, 10:45:03 »
on my A710 after running the short script, when I press the button it just closes te script

Have you checked 'Remote enable' in Scripting Parameters ?

Quote
the long script locks my camera

If you are not using 'StereoData Maker', replace the LED commands with set_led

*

Offline a710is

  • ****
  • 250
  • A710 IS
Re: Remote (fast) shooting
« Reply #3 on: 02 / December / 2007, 13:19:34 »
1. yes, I have
2. no, I was using Fingalo's version

 

Related Topics


SimplePortal © 2008-2014, SimplePortal