Programmers User Manual

117
13.55 Electronic Zoom Setting Camera Control Command Type 2
Function Sets the electronic zoom to the designated magnification.
Command 00B7h
Length 2 byte Parameter
Value The electronic zoom magnification is designated by 2
bytes.
Status None
Reference •Available magnification setting values
00h: 1x (no electronic zoom)
01h: 1x (no electronic zoom)
02h: 2x
04h: 4x
08h: 8x
0Ch: 12x
•The electronic zoom and noise reduction, and the electronic zoom and slow
shutter cannot be set at the same time. A mode error will occur.
Format of Control Code
d0 d1 d2 d3 d4 d5 d6 d7
Header Device Num Command Parameter End mark
FFh 30h 3Xh 00h B7h p0 p1 EFh
The magnification is expressed as a two-digit hexadecimal number with the
ASCII code as a status value.
Example: p0 p1
Setting value: 16x 10h 31h 30h
Answer Format
d0 d1 d2 d3 d4 d5
Header Device Num Error Code End mark
FEh 30h 3Xh e0 e1 EFh
Error Flag indicates in 2 figures hexadecimal and returns ASCII code value
Example: e0 e1
In case of No Error : 00000000B 00h 30h 30h
In case of Parameter Error : 01010000B 50h 35h 30h
In case of Mode Error : 10010000B 90h 39h 30h
Conditions for setting of error flag
Parameter Error •In case of assigned parameter illegal
Mode Error •Not in status of Camera ON
•Not in status of Host Control Mode
Slow Shutter has been selected.