Piranhs HS-xx Detailed Getting Started Guide
4
DALSA Corp.
03-32-10147-01
Part 1: Creating Framegrabber Configuration
Files
In total, you will need at least two framegrabber files: one for Area Mode and
one for TDI Mode. Although, your final goal will be to image in TDI Mode, you
will use Area Mode for aligning and focusing the camera to your object. In order
to create your framegrabber files, you must determine some preliminary camera
operating conditions such as number of taps, bit depth, line rate, etc. The
following steps will help you to determine these required operating conditions
and set up your framegrabber configuration files.
1.
Determine the line rate required by your application.
Line rate = [transport speed inches per second] x [dots per inch]
Record the required line rate _______________
2.
Record the minimum throughput needed in your application
Minimum Throughput = Number of horizontal pixels in sensor x Line rate
Record the minimum throughput _______________
3.
Referring to the
clm
command in the camera user’s manual, determine the
most compatible Camera Link Mode matching your desired throughput and
line rate value, bit depth, number of taps, and Camera Link configuration.
Figure 2: How to Read the Camera Link Mode Table
Camera Link Mode Configuration (Controlled by
clm command)
Readout Direction(Controlled by
smm
command)
Pixel Rate
Configuration
(Controlled by sot
command)
Command
Camera Link
Configuration
Camera Link Taps
Bit
Depth
smm 0 increment =1
smm 1 increment = -1
clm 2
Base
2 Camera Link taps
where:
1 = CCD taps 1 +2
2 = CCD taps 3+4
8
smm
0
=CL tap 1
(1-2048)
CL tap 2
(2049-4096)
smm 1
= CL tap 1
(4096-2049)
CL tap 2
(2048-1)
sot 160
= 80 MHz
strobe
(max line rate
36kHz)
sot 80
= 40 MHz
strobe
(Max line rate
18kHz)
Find the rows in the table
with a line rate greater than
or equal to desired line rate
recorded in step 1.
From the rows determined in part A,
find the
values in the table
with a throughput greater than your
required throughput recorded in step 2.
sot
From the rows determined by
part B, find the Camera Link modes
with your desired bit depth.
From the remaining rows determined
in part C, select an acceptable Camera Link
configuration. If none of the remaining
configurations are acceptable for your system,
you will have to reduce your bit depth
or line rate.
Record the
clm
value from the table.
clm
___________
Record the
sot
value from the table.
sot
____________
The
clm
command is described
in the Configuring Data Readout
section of chapter 3 of the camera
user’s manual.