User`s manual

Basic Operation & Standard Features
3-32 BASLER A620
f
DRAFT
3.12.2 Customizable Formats and Modes
Format 7, Mode 0 is available on A620f cameras.
Format 7, Mode 0
Format 7, Mode 0 is used to enable and set up the area of interest (AOI) feature described in
Section 3.7. Format 7, Mode 0 is parameterized by using the Format 7, Mode 0 control and status
registers (see pages 4-29 to 4-35).
When the camera is operating in Format 7, Mode 0, the frame rate can be adjusted by setting the
number of bytes transmitted in each packet. The number of bytes per packet is set by the Bytes
Per Packet field of the Bytes Per Packet register.
The value that appears in the Max Bytes Per Packet field of the Packet Para Inquiry register will
show the maximum allowed bytes per packet setting given the current AOI settings. When the
bytes per packet is set to the maximum, the camera will transmit frames at its maximum specified
rate. By default, the AOI is set to use the full sensor area and the bytes per packet is set to 4096.
If you set the bytes per packet to a value lower than the maximum, the camera will transmit frames
at a lower rate. The rate is calculated by the formula:
Keep in mind that when you lower the bytes per packet setting, the number of bytes needed to
transmit a frame (the packets per frame) will increase. Due to limitations in the DCAM structure,
a maximum of 4095 packets per frame is allowed. If you set the bytes per packet too low, the
number of packets per frame will exceed the 4095 packet limit and the camera will not transmit
frames properly.
Color Codings
In Format 7, Mode 0, the Mono 8 and Mono 16 color codings are available.
When the Mono 8 ID is set in the Coding ID field of the Color Coding ID register for Format 7,
Mode 0, the camera outputs 8 bits per pixel.
When the Mono 16 ID is set in the Coding ID field of the Color Coding ID register for Format 7,
Mode 0, the camera outputs 16 bits per pixel but only 10 bits are effective. The effective pixel data
fills from the LSB and the unused bits are filled with zeros. Pixel data is stored in the PC memory
in little endian format, i.e., the low byte for each pixel is stored at the lower address and the high
byte is stored at the neighboring higher address.
When the camera is set for Mono 16, the maximum frame rate at full resolution is 12.5 fps.
L
When the camera is operating in Format 7, the Current Video Frame Rate control reg-
ister is not used and has no effect on camera operation.
L
Color code definitions can vary from camera model to camera model. This is especially
true for older models of Basler cameras.
Frames/s
1
Packets per Frame x 125 µs
---------------------------------------------------------------------------=