beautypg.com

Loading a shading image into the camera, Chapter – ALLIED Vision Technologies Oscar F-810 User Manual

Page 82

background image

Description of the data path

OSCAR Technical Manual V2.4.0

82

Loading a shading image into the camera

GPDATA_BUFFER is used to load a shading image into the camera. Because
the size of a shading image is larger than GPDATA_BUFFER, input must be
handled in several steps:

It is recommended that block writes are used to write a block of n bytes with
one command into the GPDATA_BUFFER. With firmware 3.04 it is possible to
write quadlets directly into the buffer, but this takes much more time.

Figure 37: Loading the shading reference image

Note

L

Configuration

To configure this feature in an advanced register: See

Table 90: Advanced register: Shading

on page 188.

For information on GPDATA_BUFFER: See Chapter

GPDATA_BUFFER

on page 201.

Query limits from

register:

SHDG_INFO and

GPDATA_INFO

Set EnableMemWR

to true (1)

Set AddrOffset to 0

Write n databytes

in

GPDATA_BUFFER

Offset is increased

in camera after n

bytes are written

Check

EnableMemWR for

no change

Repeat steps until

all data is read

Set EnableMemWR

to false (0)

This manual is related to the following products: