background image

Piranhs HS-xx Detailed Getting Started Guide 

 

10 

DALSA Corp. 

 

 

03-32-10147-01 

11.

 

If you are planning to use an external EXSYNC source to generate your 
frame rate, enter 

sem 3

 to operate the camera in an externally controlled 

frame rate, otherwise skip to Part 4. This mode accepts an external trigger on 
the falling edge of CC1.  

12.

 

Enter 

svm 1

 and observe that the test pattern displayed by the framegrabber 

returns to the original ramp. This indicates that the camera is receiving the 
external trigger.  
If the captured test pattern doesn’t change, check: 

 

The shaft encoder connection 

 

That the shaft encoder is generating pulses and is rotating 

 

The framegrabber configuration file for the CC1 line. 

Part 4: Focusing and Aligning the Camera in 

Area Mode 

1.

 

Enter 

sem 7

 to return to an internally generated frame rate. 

2.

 

Enter 

svm 0

 to select real video for output. The test pattern should now be 

replaced by a real image.  

3.

 

It may be necessary to adjust the gain or light level to observe an image on 
the screen. If you need to adjust the video output, use the command 

sag

 

i

 

where 

i

 is the gain value in a range from -10 to +10dB. 

 

If you are using the minimum gain value and the framegrabber still 
shows a white image, you will need to increase the camera’s frame 
rate. Use the command 

ssf f

 where 

f

 is the new frame 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 the edge of the image is clipped at white, reduce the 
number of stages 

stg

 

i

, where 

i

 is the number of stages, until the 

bloomed part of the image is eliminated. If you reduce the number 
of stages, you will have to create another framegrabber 
configuration file to handle the reduced image height. When using 
fewer stages it is important that the direction be identical to the TDI 
direction so that the same portion of the image sensor is used. If you 
are using the TDI camera in both directions, then the aperture needs 
to be adjusted so that is not part of the field of view. 

4.

 

Using a test alignment object, position the camera to required magnification 
(field of view) necessary for your system (for example, 600 dpi will require 
that there is 3000 pixels measured between 5 inches on the test target). Use 
the framegrabber tools to measure this distance.  

5.

 

Focus the lens. The black to white transition should occur in as few pixels as 
possible.  

6.

 

Align the camera so that it is square to the test target. If there is a 10 row tilt 
in the line over 1000 pixels then this will result in about a 1 pixel blurring (96 
stage operation) in TDI mode of operation. See diagram for good alignment 
definitions. 

Readout is triggered by an 
EXSYNC pulse. EXSYNC pulses 

arriving during readout of the  
test pattern are ignored. 
 

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: