background image

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 

Summary of Contents for Piranha HS Series

Page 1: ...Piranha HS xx Detailed Getting Started Guide and Worksheet January 2005 03 32 10147 01...

Page 2: ...pan All DALSA products are manufactured using the latest state of the art equipment to ensure product reliability For further information not included in this manual or for information on DALSA s exte...

Page 3: ...ation A light source preferably with intensity control The lens that you intend to use for your application attached to the camera Terminal program or framegrabber equivalent such as Windows HyperTerm...

Page 4: ...er 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...

Page 5: ...ases it is best to select 96 stages stg 96 for optical alignment It may be necessary to reduce the number of stages if the field of view is less than 96 rows and the edges are highly reflective Highly...

Page 6: ...com port The camera doesn t echo characters so local echoing should be turned on 3 Confirm serial communication between the camera and the framegrabber by pressing the ENTER key If the camera does no...

Page 7: ...put gain or system gain to unity for all taps ssg 0 4096 OK Select a ramp input into the video chain svm 1 OK Part 3 Configure the Exposure Mode and User Controls Select the exposure mode Exposure mod...

Page 8: ...2 1 2 0 1 1 4 4 0 1 9 1 8 2 1 5 7 2 3 9 6 2 6 3 5 2 8 7 4 3 3 5 2 3 5 9 1 Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 1 readout smm 0 Area Mode Forward Internal...

Page 9: ...3 0 5 6 3 3 1 2 3 5 6 8 3 8 2 4 4 0 8 0 1 0 0 8 Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 0 readout smm 0 Area Mode Test Pattern 2 tdi 0 scd 0 svm 2 If your fr...

Page 10: ...rate in Hz or reduce the light If you using the maximum gain and the image is still dark you will need to add more light If you have a highly reflective aperture where the blacks are washed out and t...

Page 11: ...s not parallel to inspection surface and image is not uniformly in focus depth of field issues 7 Enter the wus command to save these settings for future use 8 If you plan to operate the camera in the...

Page 12: ...Open the TDI Mode framegrabber configuration file 3 Set the Camera Link mode to the configuration entered in Part 1 step 6 using the command clm desired camera link mode The camera should respond with...

Page 13: ...value from step 1 of Part 1 OK 8 Enter svm 1 to observe the camera s test pattern Grab an image with your framegrabber The test pattern should look like one of the figures below Note The following dia...

Page 14: ...Framegrabber Configuration Camera Mirror Mode Direction Configuration matches smm 0 readout smm 0 TDI Mode Reverse Internal Direction Test Pattern 1 tdi 1 scd 1 svm 1 If you see this test pattern you...

Page 15: ...ill 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...

Page 16: ...hanged 21 Enter the command wfc i 1 to save the FPN coefficients 22 If you performed FPN correction the output video should be near zero and you can skip to the next step If not the value should be ne...

Page 17: ...the camera s CCD shift direction using the scd direction command Conclusion This completes the procedure and your camera should now be imaging properly If you still need to improve your TDI image you...

Page 18: ...Piranhs HS xx Detailed Getting Started Guide 18 DALSA Corp 03 32 10147 01 strobed LED illumination with high sensitivity line scan cameras refer to DALSA document 03 32 00540...

Reviews: