#
# Allied Vision Technologies
# 1160 x 1726 x 8-bit x 10-tap
# 80 MHz clock
#

# camera description, for camera selection GUI and apps
# camera_class should be the manufacturer's name
#
camera_class: "Allied Vision Technologies"
camera_model: "Bonito CL-400B/400fps"
camera_info:  "1160 x 1726 (half image), 386fps, 10-tap 8-bit monochrome, freerun"

# rbtfile is ignored for std camera link board but needed
# for DV FOX (fiberoptic) (v3.3.4.9 or later)
#
rbtfile:		aiagcl.bit

# actual width/height (total pixels) and depth of data from camera
# to only grab high 8-bits, set depth to 8 but leave extdepth set
# to actual depth, and adjust shift and mask accordingly
#
width:			1160
height:			1726
depth:			8
extdepth:		8

# camera link data path register bits (argument is a 2-digit hex value):
# sets the expected input data size and #taps
# bits 0-3: number of bits per pixel minus 1
# bits 4-7: number of taps minus 1
#
CL_DATA_PATH_NORM:             97

# camera link config register bits
# (arg is a 2-digit hex value, hexval shown in parens):
# 0 (01): RGB (set for RGB (except bayer). Applies to older/PCI, ignored on newer/PCIe)
# 1 (02): ignore data valid (on for most cameras though not all)
# 2 (04): generate an FVAL on every LVAL, for line scan cameras
# 3 (08): disable ROI (rarely set)
# 4 (10): generate an FVAL after every vactv lines, for line scan cameras
# 5 (20): data valid invert (rare)
# 6 (40): RGB swap -- swap red/blue
# 7 (80): enable roi pad: if ROI > img output, will pad missing bytes
#
CL_CFG_NORM:                   00

# Enable fast re-arm of acquisition
# Re-arm acquisition on falling edge of FVAL
#
CL_CFG2_NORM: 40

# freerun, no EXSYNC (CC1) or anything set
#
# MODE_CNTL_NORM: 00

# htaps/vtaps
#
htaps:	10

pclock_speed: 80

# AVT default baud rate is 115200

serial_baud: 115200
serial_timeout: 200
serial_waitc: 3e

# AVT Bonito specific commands:
#
# reset to factory defaults:  Z=1
#
# primary starting address:   A=0000
# secondary starting address: B=0000
# FPN correction:             C=00
# double ROI mode:            D=00
# exposure time:              E=000006BE
# frame duration:             F=000006BF
# digital gain:               G=00
# line address increment:     I=01
# synchronization output:     J=01
# timer prescalar value:      K=A7
# exposure control mode:      M=00
# number of lines:            N=0681
#	  sets output to 1666 lines
# Camera Link output mode:    S=01
# trigger source select:      T=03
# metadata disabled:          U=00
# dark value offset:          W=00
# serial baud rate:           s=2A
#

# Use the following init line for Freerun/10-tap/199fps
serial_init: "Z=1:W=0:S=01"

# gain control
gain_min: 0
gain_max: 2
serial_gain: "G=%X"

# dark value control
offset_min: 0
offset_max: 255
serial_offset: "W=%X"

Need a custom hardware solution?

EDT engineers work directly with customers to design, prototype, and deliver custom computing hardware for mission-critical applications.