Changes between Version 157 and Version 158 of UserGuideGit


Ignore:
Timestamp:
May 11, 2009, 1:12:26 PM (16 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuideGit

    v157 v158  
    1010 * [#Cutomization Cutomization]
    1111  * [#Stylesheet Style sheet]
    12  * [#Tetheredshooting Tethered shooting]
    1312 * [#Referencemanual Reference manual]
    1413  * [#Mainwindow Main window]
     
    1817   * [#Shootingtab Shooting tab]
    1918   * [#Mosaictab Mosaic tab]
    20    * [#Cameratab Camera tab]
    21    * [#Lenstab Lens tab]
     19   * [#Cameralenstab Camera/lens tab]
     20   * [#Pluginstab Plugins tab]
    2221   * [#Datatab Data tab]
    2322   * [#Timertab Timer tab]
     
    9190            20 picts @ +40°
    9291            50 picts @  10°/-10°
    93             20 picts @ -40°
     92            20 picts @ -40°
    9493            55 picts @ -70°
    9594        </tooltip>
     
    152151== Tethered shooting ==
    153152
    154 It can be usefull to call an external program to make tethered shooting, instead of using the Merlin/Orion triggering.
    155 
    156 If a '''{{{shoot.py}}}''' python script is found in the user config. dir, the functions '''{{{init()}}}''', '''{{{mirrorLockup()}}}''' and '''{{{shoot(bracketNumber)}}}''' contained in this script will be called instead of internal ones.
    157 
    158 Here is a minimalistic example script:
    159 
    160 {{{
    161 #!python
    162 import subprocess
    163 
    164 
    165 def init():
    166     """ Init the shooting sequence.
    167 
    168     @return: error code, stdout, stderr
    169     @rtype: tuple of int, str, str
    170     """
    171 
    172     # See shoot() function
    173     return 0, "", ""
    174 
    175 
    176 def mirrorLockup():
    177     """ Lockup the mirror.
    178 
    179     @return: error code, stdout, stderr
    180     @rtype: tuple of int, str, str
    181     """
    182 
    183     # See shoot() function
    184     return 0, "", ""
    185 
    186 
    187 def shoot(bracketNumber):
    188     """ Shoot.
    189 
    190     @param bracketNumber: number of the current bracket picture
    191     @type bracketNumber: int
    192 
    193     @return: error code, stdout, stderr
    194     @rtype: tuple of int, str, str
    195     """
    196 
    197     # Launch external command
    198     args = ["gphoto2", "--capture-image"]
    199     p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    200 
    201     # Wait end of execution
    202     stdout, stderr = p.communicate()
    203 
    204     return p.returncode, stdout, stderr
    205 }}}
    206 
    207 The external program name (here, '''"gphoto2"''') must be the first element of the '''{{{args}}}''' list; optional params (here '''"--capture-image"''') can be given as additional elements of the list. If you want to give the '''{{{bracketNumber}}}''' value, use '''{{{"%d" % bracketNumber}}}''' (or '''{{{str(bracketNumber)}}}''') as param value.
    208 
    209 Under Windows, the full path of the program must be given, like '''{{{"C:\\Program Files\\notepad.exe"}}}'''.
    210 
    211  * ''Note:the tethered program needs to support command-line call.''
    212 
    213 More informations about ''subprocess'' module usage can be found here:
    214 
    215  * [http://www.python.org/doc/2.5.4/lib/node528.html]
    216  * [http://www.python.org/doc/2.5.4/lib/node532.html]
     153Tethered shooting is now done through plugins.
    217154
    218155== Reference manual ==
     
    229166 * '''Hardware > Clear limits''': reset all limits
    230167 * '''Hardware > Goto Home...''': goto home position
    231  * '''Hardware > Goto Initial...''': goto inital position (when turned on)
     168 * '''Hardware > Goto Initial...''': goto inital position
     169 * '''Hardware > Plugins...''': open the plugins selection dialog
    232170 * '''Help > Manual''': open this documentation (network connection needed)
    233171 * '''Help > View log...''': open log dialog
     
    273211 * '''Connexion status'''
    274212
    275 === Preferences dialog ===
     213=== Plugins dialog ===
    276214
    277215==== Plugins tab ====
    278216
    279  * '''Yaw axis''': plugin to use for yaw axis
    280  * '''Pitch Axis''':  plugin to use for pitch axis
    281  * '''Shutter''':  plugin to use for shutter
    282  * '''Configure...''': button to configure each plugin
     217 * '''Yaw axis''': plugin to use for yaw axis / driver for this plugin
     218 * '''Pitch Axis''':  plugin to use for pitch axis / driver for this plugin
     219 * '''Shutter''':  plugin to use for shutter / driver for this plugin
    283220
    284221==== Driver tab ====
     
    305242 * '''CR''': if set, go back to the start of the row/columns before starting a new one
    306243
    307 ==== Camera tab ====
    308 
    309  * '''Time value''': shooting time. If set to 0, skip shooting sequence
    310  * '''Pulse width (high/low)''': width of the shutter triggering pulse (high level duration, and minimum low level duration between too consecutive shots)
    311  * '''Bracketing''': number of picture to take at each position, and the intent of the bracketing
    312  * '''Sensor (coef/ratio)''': ratio to 24x36 size, width vs height ratio
     244==== Camera/lens tab ====
     245
     246 * '''Sensor (coef, ratio)''': ratio to 24x36 size, width vs height ratio
    313247 * '''Sensor resolution''': resolution of the sensor
    314 
    315 ==== Lens tab ====
    316 
    317  * '''Type''': type of the lens (''rectilinear'' or ''fisheye'')
    318  * '''Focal''': real focal of the lens (''rectilinear'' only)
     248 * '''Lens (type, focal)''': type of the lens (''rectilinear'' or ''fisheye''), real focal of the lens (''rectilinear'' only)
    319249 * '''Optical multiplier''': optional optical multiplier coef. (''rectilinear'' only)
     250
     251==== Plugins tab ====
     252
     253 * '''Configure...''': button to configure each plugin
    320254
    321255==== Data tab ====