User Tools

Site Tools


use_gphoto2_to_configure_dslr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
use_gphoto2_to_configure_dslr [2017/06/25 17:21] walkeradminuse_gphoto2_to_configure_dslr [2017/06/25 17:35] walkeradmin
Line 66: Line 66:
 /main/other/5001 /main/other/5001
 </file> </file>
 +So for example, in this list we can see a setting entitled <color #ed1c24>/main/capturesettings/aperture</color> which indicates we can control the aperture on this DSLR.
 +\\ 
 +\\ 
 +To see what the possible values for <color #ed1c24>/main/capturesettings/aperture</color> that <color #22b14c>gphoto2</color> supports, we can use the following syntax.
 +\\ 
 +<file>
 +gphoto2 --get-config /main/capturesettings/aperture
 +</file>
 +\\ 
 +The 700D DSLR I am using returns the following:
 +\\ 
 +<file>
 +Label: Aperture
 +Type: RADIO
 +Current: 4.5
 +Choice: 0 4.5
 +Choice: 1 5.6
 +Choice: 2 6.7
 +Choice: 3 8
 +Choice: 4 9.5
 +Choice: 5 11
 +Choice: 6 13
 +Choice: 7 16
 +Choice: 8 19
 +Choice: 9 22
 +</file>
 +So we can see that the current aperture is 4.5 (probably due to the lens I am using) and we have a choice to select  one of the others, lets try to set the aperture to F11.
 +\\ 
 +\\ 
 +We can set the aperture using either the absolute value (11) or the index next to the value (choice 5). Here is an example setting using the absolute value.
 +\\ 
 +<file>
 +gphoto2 --set-config-value /main/capturesettings/aperture=11
 +</file>
 +If we check the aperture setting now, using the same command as before:
 +\\ 
 +<file>
 +gphoto2 --get-config /main/capturesettings/aperture
 +
 +Label: Aperture
 +Type: RADIO
 +Current: 11
 +Choice: 0 4.5
 +Choice: 1 5.6
 +Choice: 2 6.7
 +Choice: 3 8
 +Choice: 4 9.5
 +Choice: 5 11
 +Choice: 6 13
 +Choice: 7 16
 +Choice: 8 19
 +Choice: 9 22
 +</file>
 +We can see now that the <color #ed1c24>Current: 11</color> means that we have set the aperture to F11.
 +\\ 
 +\\ 
use_gphoto2_to_configure_dslr.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1