Appendices
D-2
MicroHAWK F320-F / F330-F / F420-F / F430-F Smart Camera User Manual
D-1 Serial Commands
< >
= Required argument. Replace appropriately.
For example:
-u <DB_User_name>
becomes
-u av
where
av
replaces
DB_User_name
.
|
= Mutually exclusive arguments. Choose one from the list.
{ }
= Used with
|
to specify a list of choices for an argument.
[ ]
= Optional parameter.
Important:
Unless otherwise stated, commands will respond with
!OK
on success and
!ERROR
on failure.
Initiates camera calibration of gain, exposure, and focus. Each parameter is independent. Ranges are
device-dependent.
-exp enable=1
or
disable=0
autocalibrate exposure.
-expval
value of exposure in
μ
s.
-gain enable=1
or
disable=0
autocalibrate gain.
-gainval
value of gain in percentage.
-focus enable=1
or
disable=0
autocalibrate focus
-focval
value of focus in mm.
Example 1:
Command:
AUTOCAL
Response:
0;4632;134;50;300 (gain=0, exposure=4632
μ
s, focus=134, min allowable focus=50, max
allowable focus=300)
Example 2:
Command:
OFFLINE
Response:
!OK
Command:
QUERYAUTOCAL
Response: 0;4632;134;50;300 (Gain was 0.)
Command:
AUTOCAL -exp=1 -gain=0 -gainval=18 (Fixed gain at 18%.)
Response:
18;3308;128;50;300 (Gain did not change and exposure has changed from 4632
μ
s to
3308
μ
s.)
Example 3:
Command:
OFFLINE
Response:
!OK
Command:
QUERYAUTOCAL
Response:
0;3478;226;50;300 (Exposure was 3478
μ
s.)
Command:
AUTOCAL -exp=0 -expval=1000 (Fixed exposure at 1000
μ
s.)
Response:
31;1000;98;50;300 (Exposure stayed at 1000
μ
s and gain has changed from 0% to 31%.)
Important:
AUTOCAL only functions when the camera is OFFLINE.
Serial Command Syntax
AUTOCAL [-exp={0|1}] [-expval={60-100000}] [-gain={0|1}] [-gainval ={0-100}]
[-focus={0|1}] [-focval{0-9999}]
Summary of Contents for MicroHAWK F320-F
Page 1: ...Z433 E 02 84 9000402 02 User Manual MicroHAWK F320 F F330 F F420 F F430 F Smart Camera...
Page 35: ...1 Introduction 1 20 MicroHAWK F320 F F330 F F420 F F430 F Smart Camera User Manual...
Page 65: ...2 System Components 2 30 MicroHAWK F320 F F330 F F420 F F430 F Smart Camera User Manual PNP...
Page 71: ...2 System Components 2 36 MicroHAWK F320 F F330 F F420 F F430 F Smart Camera User Manual...
Page 91: ...4 Optics and Lighting 4 12 MicroHAWK F320 F F330 F F420 F F430 F Smart Camera User Manual...
Page 143: ...Appendices E 4 MicroHAWK F320 F F330 F F420 F F430 F Smart Camera User Manual...