Changes between Version 140 and Version 141 of UserGuideGit


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

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuideGit

    v140 v141  
    151151== Tethered shooting ==
    152152
    153 It 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 
    155 If 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 
    157 Here is a minimalistic example script which can be used to call the external tethered shooting program (here, gphoto2):
     153It can be usefull to call an external program to make tethered shooting, instead of using the Merlin/Orion triggering.
     154
     155If a '''{{{shoot.py}}}''' python script is found in the user config. dir, the functions '''{{{mirrorLockup(stabilizationDelay)}}}''' and '''{{{shoot(bracketNumber)}}}''' contained in this script will be called instead of internal ones.
     156
     157Here is a minimalistic example script (here, we use '''gphoto2''' as tethered shooting program):
    158158
    159159{{{
     
    176176    return p.returncode, p.stdout.read()
    177177}}}
     178
     179 * ''Note 1: the tethered program needs to support command-line call.''
     180 * ''Note 2: if a function does not exist, the internal one will be used instead.''
    178181
    179182More informations about ''subprocess'' module usage can be found here: