118
C H A P T E R 5
ISO inde x vs. ISO value
Scripting
Sensor speed ( Sv)
get_iso x
x = get_iso()
set_iso x
set_iso(x)
Retrieves and sets the ISO speed (Sv) index
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
x = get_iso_mode()
set_iso_mode x
set_iso_mode(x)
Retrieves and sets the ISO mode
(–1 = HiISO, 0 = AutoISO, 50, 100, 200, 400, 800).
get_iso_real x
x = get_iso_real()
set_iso_real x
set_iso_real(x)
Retrieves and sets the real ISO value. This is the real value used to control the
sensor.
get_iso_market x
get_iso_market(x)
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
x = get_sv96()
set_sv96 x
set_sv96(x)
Retrieves and sets the internal sensor speed (Sv) with 96 units per stop.
Table 5-3
ISO Index
–1
0
1
2
3
4
uBasic
Lua
uBasic
Lua
(Table
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
uBasic
Lua
Sv96
ISO mode
–
HiISO
–
AutoISO
384
50
480
100
576
200
672
400
5-3). The index values > 0 are