Programmers User Manual

118
13.56 Electronic Zoom Setting Verification Camera Control Command Type 2
Function Returns the electronic zoom magnification that was set.
Command 00B8h
Parameter None
Length 2 byte Status
Value Electronic zoom magnification.
Reference •Electronic zoom magnification setting values
00h: 1x (no electronic zoom)
01h: 1x (no electronic zoom)
02h: 2x
04h: 4x
08h: 8x
0Ch: 12x
•The electronic zoom magnification is returned as a two-digit hexadecimal
number.
Format of Control Code
d0 d1 d2 d3 d4 d5
Header Device Num Command End mark
FFh 30h 3Xh 00h B8h EFh
Answer Format
No Error
d0 d1 d2 d3 d4 d5 d6 d7
Header Device Num Error Code Status End mark
FEh 30h 3Xh 30h 30h s0 s1 EFh
The magnification is expressed as a two-digit hexadecimal number with the
ASCII code as a status value.
Example: s0 s1
Setting value: 2x 02h 30h 32h
Setting value: 16x 10h 31h 30h
Generated Error
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 Mode Error : 10010000B 90h 39h 30h
Conditions for setting of error flag
Mode Error •Not in status of Camera ON
•Not in status of Host Control Mode