EasyManua.ls Logo

Canon Camera - 5.6 Property Cases

Canon Camera
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.5 CHDK commands 119
ISO Index Sv96 ISO mode
5 768 800
6 864 1600
7 960 3200
8 1056 6400
Light values ( Bv, Ev)
get_bv96 x uBasic
x = get_bv96() Lua
Retrieves the scene brightness (Bv) with 96 units per stop.
get_ev x uBasic
x = get_ev() Lua
set_ev x uBasic
set_ev(x) Lua
Gets and sets the exposure value (Ev) with 96 units per stop.
5.5.3 Focus-related commands
These commands allow reading focus-related values such as subject dis-
tance, depth of field, and so on. They also allow setting the subject distance
to a fixed value and then locking the autofocus system. On cameras with
an explicit manual focus mode, the camera must be switched manually to
that mode before the focus can be set via a script command. On cameras
without an explicit manual focus mode, no action is required.
get_focus_mode x uBasic
x = get_focus_mode uBasic
x = get_focus_mode() Lua
Returns the focus mode: 0 = auto, 1 = manual.
get_focus d uBasic
d = get_focus uBasic
d = get_focus() Lua
set_focus d uBasic
set_focus(d) Lua
Retrieves and sets the focus distance in millimeters. The value of –1 resp. 65535 indi-
cates an infinite distance.
Table 5-3 Continued

Table of Contents

Related product manuals