background image

Piranhs HS-xx Detailed Getting Started Guide 

 

DALSA Corp. 

 

 

03-32-10147-01 

the throughput is too low for internally generated line/frame rate.  The 
warning can be ignored.   

8.

 

Execute the following commands to ensure that the camera is configured as 
expected. 

Table 3: Camera Configuration Commands (Area Mode) 

Description 

Command 

Camera Response 

Part 1. Configure the Sensor Readout 

Set the vertical 

binning

 

factor to 1 

sbv 1 

OK> or a warning message 
depending on internal frame 
rate 

Set the horizontal binning 
factor to 1 

sbh 1 

OK> or a warning message 
depending on CLM and 
throughput 

Set the number of stages to 96 

stg 96 

OK> or a warning message 
depending on internal frame 
rate 

Part 2: Configure the Video Chain 

Set the analog offset. 
Typically, this should be 3x 
the random noise. 100 DN 12 
bit is a good value and will 
work. 

sao 0 100 

OK> 

Set the A/D offset or digital 
offset subtract value to 0 for 
all taps 

sdo 0 0 

OK> 

Set the optical background 
subtract value to zero for all 
taps 

ssb 0 0 

OK> 

Set the Digital output 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 mode 7 operates 
using the maximum exposure 
time. 

sem 7 

OK> 

Select internal frame rate. 
17Hz gives approximately a 
20:1 smear ratio and is a good 
starting point (if operating 
the 4k@sot 160 or 8k@sot 
320). Generally a 20:1 or 10:1 
smear ratio is sufficient for 
focus. (max

 line rate in TDI 

mode/1000 to 2000).

 

ssf 17 

OK> 
 

Select Internal Forward 
direction. 

scd 0 

OK> 

9.

 

Enter 

svm 1

 to observe the camera’s test pattern. Grab an image with your 

framegrabber. Ensure that you are viewing your entire image. The test 
pattern should look like the one below. 

Note:

 The following diagrams show 

In this procedure, binning is set to 
1 (no binning) for best camera 
resolution. Higher binning factors 

are sometimes used for extremely 
low light conditions or to achieve 
better MTF since the pixel size is 

effectively increased by the 
binning factor. Refer to the 
camera’s user’s manual for more 

information on binning. 

 

 

Smear is expected with lighting 
that is not strobed. The effects of 

smear can be reduced by using a 
long integration time.  
 

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: