21
21
4.4.3 Port Control (Serial Port Control for Camera Functions)
Camera control is done in similar way as Camera
Link serial control. There are 3 separate serial ports
and the camera control is using the Serial Port 0.
The
GP-series
control is register-base architecture
in 16-bit address followed by 32-bit data.
Write
command is 57 (Hex),
Read
command is 52
(Hex). All commands are in Hexadecimal.
So, mark two locations of Hexadecimal selection.
In this basic command process, the communication
must be done in the 8-bit packets. Each 8-bit, you
have to hit the space bar. You can test by typing
“52 00 10 “<send> (gain setting).
It will respond with the 32-bit data in Hex with
“0D” (
Acknowledgement
).
In this example, the data is 00 00 00 50. (Fig. 28)
There are two other ports.
•
Serial Port 1 is used for RS-485.
•
Bulk Port 0 (high speed serial port) is used
for Audio IO.
Internal I2C control uses the same Serial Port 0 as
the camera control.
See section 3.2.2 for more detail.
For
Write
command, please refer command sheet
in section 5.
Let’s try 57 00 12 00 00 00 12<send> (or 57-send,
00-send, 12-send, 00-send, 00-send, 00-send, 12-
send). You will see a test pattern.
Go back to the default by typing “57 00 12 00 00 00
02” (8-bit linear output for B/W), or “57 00 12 00 00
00 03” (Color Gamma 8-bit). (Fig. 29)
GEViCAM Inc
Fig. 29
Fig. 28
Summary of Contents for GP-151400
Page 39: ...39 39 GEViCAM Inc MEMO ...