118
C H A P T E R 5
Scripting
Sensor speed ( Sv)
get_iso x
uBasic
x = get_iso()
Lua
set_iso x
uBasic
set_iso(x)
Lua
Retrieves and sets the ISO speed
(Sv)
index
(Table 5-3)
. The index values > 0 are
mapped to ISO values of 50 and above. The index values –1 and 0 have a spe-
cial meaning and stand for
HiISO
and
AutoISO
.
get_iso_mode x
uBasic
x = get_iso_mode()
Lua
set_iso_mode x
uBasic
set_iso_mode(x)
Lua
Retrieves and sets the ISO mode
(–1 =
HiISO,
0 =
AutoISO,
50, 100, 200, 400, 800).
get_iso_real x
uBasic
x = get_iso_real()
Lua
set_iso_real x
uBasic
set_iso_real(x)
Lua
Retrieves and sets the real ISO value. This is the real value used to control the
sensor.
get_iso_market x
uBasic
get_iso_market(x)
Lua
Retrieves the “marketing” ISO value—the value shown on the display. This
value is higher than the true ISO value (section 4.3.1).
get_sv96 x
uBasic
x = get_sv96()
Lua
set_sv96 x
uBasic
set_sv96(x)
Lua
Retrieves and sets the internal sensor speed
(Sv)
with 96 units per stop.
ISO Index
Sv96
ISO mode
–1
–
HiISO
0
–
AutoISO
1
384
50
2
480
100
3
576
200
4
672
400
Table 5-3
ISO inde x vs. ISO value
Summary of Contents for Camera
Page 1: ......
Page 2: ...The Canon Camera Hackers Manual ...
Page 3: ......
Page 4: ...Berthold Daum The Canon Camera Hackers Manual Teach Your Camera New Tricks ...
Page 19: ...10 CH APTER 2 Cameras and Operating Systems ...
Page 25: ...16 CH APTER 3 ...
Page 85: ...76 CH APTER 4 Teach Your Camera New Tricks ...
Page 213: ...204 CH APTER 6 ...
Page 253: ...244 AP PENDIX ...