Changes between Version 139 and Version 140 of UserGuideGit


Ignore:
Timestamp:
Mar 2, 2009, 1:04:26 PM (16 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuideGit

    v139 v140  
    151151== Tethered shooting ==
    152152
    153 It is possible to use an external program to make tethered shooting. The program needs to be run through a shell, where all parameters are given on command-line. If a '''{{{shoot.py}}}''' python script is found in the user config. dir, the 2 functions '''{{{mirrorLockup(stabilizationDelay)}}}''' and '''{{{shoot(bracketNumber)}}}''' will be called instead of internal ones. Note that if a function does not exists, the internal one will be called instead.
    154 
    155 Here is a minimalistic example script which can be used:
     153It can be usefull to call an external program to make tethered shooting, instead of using the Merlin/rion triggering. The program needs to support command-line call.
     154
     155If a '''{{{shoot.py}}}''' python script is found in the user config. dir, the functions '''{{{mirrorLockup(stabilizationDelay)}}}''' and '''{{{shoot(bracketNumber)}}}''' will be called instead of internal ones. Note that if a function does not exist, the internal one will be used instead.
     156
     157Here is a minimalistic example script which can be used to call the external tethered shooting program (here, gphoto2):
    156158
    157159{{{
     
    166168
    167169    # Launch the external command
    168     p = subprocess.Popen(["gphoto2", "--help"], stdout=subprocess.PIPE)
     170    p = subprocess.Popen(["gphoto2", "--capture-image"], stdout=subprocess.PIPE)
    169171
    170172    # Wait end of execution