Piranhs HS-xx Detailed Getting Started Guide
15
DALSA Corp.
03-32-10147-01
9.
Enter
svm 2
to select a different test pattern and observe that the new
pattern is captured by the framegrabber.
4k
10
08
203
2
3056
408
0
8k
24
0
49
6
752
1264
152
0
1776
20
32
228
8
254
4
280
0
30
56
3312
35
68
38
24
408
0
10
08
Framegrabber Configuration
Camera Mirror Mode
Direction
Configuration matches smm 1 readout
smm 1
TDI Mode, Test Pattern 2
(
tdi 1
,
scd
0
,
svm 2
)
If your framegrabber file matches
your mirroring mode, you will see
this pattern.
Camera and framegrabber settings
are listed under the test pattern.
Notice how the framegrabber
configuration matches the camera
mirroring mode.
Configuration matches smm 0 readout
smm 0
scd 0 or 1
If you do not see the test pattern above, you may see one of the following:
4k
1008
2032
3056
4080
8k
240
496
75
2
126
4
15
20
17
76
203
2
228
8
254
4
280
0
305
6
331
2
356
8
382
4
408
0
100
8
Framegrabber Configuration
Camera Mirror Mode
Direction
Configuration matches smm 1 readout
smm 0
TDI Mode, Test Pattern 2
(
tdi 1
,
scd
1
,
svm 2
)
If you see this test pattern, your
framegrabber configuration file
does
not match
your mirroring mode.
You will need to reconstruct the
pixel readout definitions in your
framegrabber configuration file.
Repeat Part 1.
Configuration matches smm 0 readout
smm 1
scd 0 or 1
10.
Return to internal forward direction using the command
scd 0
.
11.
Replace the test target used for focus with a uniform white field.
Note:
White
paper is often not sufficient because the grain in the white paper will distort
the correction. White plastic or white ceramic will lead to better balancing.
12.
Enter
svm 0
to image the white field. The camera should respond with OK
and the test pattern should no longer be imaged by the framegrabber.
13.
Enter number of stages using the command
stg number of stages
.
14.
Select a full region of interest by entering
roi 1 1 number of sensor
pixels 1
.
15.
Calibrate the analog gain using the
ccg
1 0 target
output
value
in a
range from
1024
to
4055
referenced to the 12 bit A/D data width. This
algorithm adjusts analog gain so that between 8% and 13% of ROI pixels per
tap are above target. If the camera returns a warning then more/less light or
more/less stages are needed.
16.
Review the image captured and set the region of interest using the command
roi
xyxy
. The region of interest is the region of the image where you expect
to have a good image. It is also the region used in automated gain routines
and flat field correction algorithms. In most applications, the field of view
exceeds the required object size and these extraneous areas should be