Dalsa Piranha 4 Color P4-CC-04K07T-00-R User Manual

Dalsa Piranha 4 Color P4-CC-04K07T-00-R User Manual

Hide thumbs Also See for Piranha 4 Color P4-CC-04K07T-00-R:
Table of Contents

Advertisement

Quick Links

All manuals and user guides at all-guides.com
Piranha 4 Color
P4-CC-04K07T-00-R Camera User's Manual
03-032-20180-01
www.teledynedalsa.com

Advertisement

Table of Contents
loading

Summary of Contents for Dalsa Piranha 4 Color P4-CC-04K07T-00-R

  • Page 1 All manuals and user guides at all-guides.com Piranha 4 Color P4-CC-04K07T-00-R Camera User’s Manual 03-032-20180-01 www.teledynedalsa.com...
  • Page 2 Piranha4 4K Camera Color User's Manual © 2013 Teled yne DALSA, Inc. All information provid ed in this manual is believed to be accurate and reliable. No responsibility is assumed by Teled yne DALSA for its use. Teled yne DALSA reserves the right to make changes to this information w ithout notice.
  • Page 3: Table Of Contents

    Step 3. Establish Communication with the Camera ......................32 Power on the camera ............................32 Connect to the frame grabber ......................... 32 Connect to the camera ............................ 32 Check LED Status ............................33 Software Interface ............................33 Using Sapera CamExpert with Piranha4 Cameras ......................34 Teledyne DALSA 03-032-20180-01...
  • Page 4 Transport Layer Feature Descriptions ......................79 Acquisition and Transfer Control Category ........................80 Acquisition and Transfer Control Feature Descriptions................... 80 Serial Port Control Category .............................. 81 Serial Port Control Feature Descriptions ......................81 File Access Control Category .............................. 82 03-032-20180-01 Teledyne DALSA...
  • Page 5 A simple workaround accomplishes this ......................109 Sample Code ..............................110 Appendix F: Camera, Frame Grabber Communication _______________________________________________________ 111 Setting Up Communication between the Camera and the Frame Grabber ............ 111 EMC Declaration _________________________________________________________________________________ 113 Revision History _________________________________________________________________________________ 114 Index ________________________________________________________________________________________ 115 Teledyne DALSA 03-032-20180-01...
  • Page 6: System Precautions

    The charge norm ally d issip ates w ithin 24 hours and the sensor returns to normal operation. Ad d itional information on cleaning the sensor w ind ow and protecting it against d ust, oil, blemishes, and scratches can be fou nd here, Append ix D: The Sensor Wind ow 03-032-20180-01 Teledyne DALSA...
  • Page 7: The Piranha4 Color Camera

    1. The Piranha4 Color Camera Camera Highlights Based on Teled yne DALSA's unique CMOS color line scan sensor architecture, the new Piranha4 4k Trilinear color camera provid es outstand ing signal-to-noise perform ance for high speed im aging. The P4- 4k has 4k resolution w ith a 10 µm x 10 µm pixel size for optim ized optical d esign.
  • Page 8: Camera Performance Specifications

    Sensor to Camera Front Distance 12 mm Sensor Alignment (aligned to sid es of camera) Flatness 50 µm  y (parallelism) 0.08° or 81 µm ± 100 µm ± 100 µm ± 250 µm  z ± 0.2° 03-032-20180-01 Teledyne DALSA...
  • Page 9: Certifications

    4080 pixels for the camera ‘s initial release. This restriction w ill be resolved in a future release. Details of w hen the full 4096 pixel cameras w ill be available can be obtained from your Teled yne DALSA Key Account Manager. Compliance...
  • Page 10: Sensor Responsivity And Design

    LED sources. When infrared light is present w ith this camera color fid elity is red uced . To prevent infrared from d istorting the images you scan, use an IR cut off filter such as a BG-38 on the lens. 03-032-20180-01 Teledyne DALSA...
  • Page 11 All manuals and user guides at all-guides.com Piranha4 4K Color Camera User's Manual [ADD GRAPH ] Figure 2: Calibration Source Relative Intensity vs. Wavelength Teledyne DALSA 03-032-20180-00...
  • Page 12: Spatial Correction And Trilinear Sensor Design

    0 to 5 to compensate for rectangular pixels—w hether they are too long or to short. The follow ing examp les of im age artefacts show black to w hite image transitions and the associated corrected im age after applying a specific ssa setting. 03-032-20180-01 Teledyne DALSA...
  • Page 13 Line Spatial Correction = 3 (ssa = 3) Line Spatial Correction = 4.3 (ssa = 4.3) Example 3. Target running faster than example 1. same EXSYNC (trigger) frequency Line Spatial Correction = 3 (ssa = 3) Line Spatial Correction = 1.73 (ssa = 1.73) Teledyne DALSA 03-032-20180-01...
  • Page 14 Line Spatial Correction = 3 (ssa = 3) Line Spatial Correction = 1 (ssa = 1) Example 5. Target running faster than EXSYNC Line Spatial Correction = 3 (ssa = 3) Line Spatial Correction = 5 (ssa = 5) 03-032-20180-01 Teledyne DALSA...
  • Page 15: Camera Direction

    Selectable camera d irection accomm od ates an object d irection change on a w eb and allow s you to m ount the camera ―upsid e d ow n‖. Note: The exam ple here assu mes the u se of a lens (w hich inverts the image). Figure 4: Object Movement and Camera Direction Example, with a Lens Teledyne DALSA 03-032-20180-01...
  • Page 16: Mechanicals

    All manuals and user guides at all-guides.com Piranha4 4K Camera Color User's Manual Mechanicals [ADD MECH AN ICAL FROM PDF 03-129-20071-01] Figure 6: Camera Mechanical (shown with optional heat sink below) [ADD H EATSIN K MECH AN ICAL FROM PDF 03-129-20071-01] 03-032-20180-00 Teledyne DALSA...
  • Page 17 Figure 6: Nikon M58 to F-Mount Adapter Figure 7: Piranha4 Heat Sink Accessories Kit Optional Lens Mount and Heat Sink Accessories Part No. Description AC-LN-00002-A0-R M58 to F-mount ad apter (12m m BFD), heavy d uty AC-MS-00108-00-R Heat sink for P4-4k/ 2k cameras Teledyne DALSA 03-032-20180-01...
  • Page 18: Camera Mounting And Heat Sink Considerations

    Teled yne DALSA recognises that each customer‘s app lication can be u nique. In consid eration, the P4 camera heat sinks have been d esigned in such a w ay that they can be repositioned on the d ifferent faces of the camera or removed entirely, d epend ing on the mou nting configuration and its heat sinking potential.
  • Page 19: Quick, Simple Steps To Acquire An Image

    Piranha4 camera, an overview of the steps requ ired to get this camera op erational and acquiring images quickly can be found in Append ix C: Quick Setup and Image Acquisition Teledyne DALSA 03-032-20180-01...
  • Page 20: Software And Hardware Setup

    Append ix B: ASCII Com mand 4. Operate the Camera At this p oint you w ill be read y to start operating the camera in ord er to acqu ire images, set camera functions, and save settings. 03-032-20180-01 Teledyne DALSA...
  • Page 21: Step 1. Install And Configure The Frame Grabber And Software

    These cameras imp lement the Camera link specification, w hich d efines the d evice capabilities. The Camera link XML d evice d escription file is embed d ed w ithin the camera firm w are a llow ing Camera link-comp liant applications to recognize the cameras‘ capabilities immed iately after connection. Teledyne DALSA 03-032-20180-01...
  • Page 22: Step 2. Connect Data, Trigger, And Power Cables

    Static electricity can d am age electronic comp onents. It‘s critical that you d ischarge any static electrical charge by touching a ground ed surface, such as the metal computer chassis, before hand ling the camera hard w are. 03-032-20180-01 Teledyne DALSA...
  • Page 23: Data Connector: Camera Link

    Camera Link configuration s. For d etailed inform ation on Camera Link please refer to the Camera Link Road Map available from the Know led ge Center on the Teled yne DALSA Web site. Figure 9. SDR26 Camera Link Connector Data 2...
  • Page 24: Camera Timing

    All manuals and user guides at all-guides.com Piranha4 4K Camera Color User's Manual Direction Spare Table 4: Camera Control Configuration For ad d itional Camera Link d ocumentation refer to the Teled yne DALSA Web site‘s Know led ge Center application notes. Camera Timing N ote: Inform ation on setting up the camera‘s AOI can be found here, Area of Interest (AOI) Setup .
  • Page 25 The RGB outp ut form at is comp atible w ith the Camera Link specification for Med ium RGB. Line rates up to 70 kH z can be achieved by using the Area of Interest (AOI) feature; w here the smaller the AOI, the greater the p otential line rate. Teledyne DALSA 03-032-20180-01...
  • Page 26 RGB d ata from the frame grabber buffer by the host app lication. Line rates up to 70 kH z can be achieved by u sing the Area of Interest (AOI) feature; w here the smaller the AOI, the greater the potential line rate. 03-032-20180-01 Teledyne DALSA...
  • Page 27 RGB d ata from the frame grabber buffer by the hos t app lication. Line rates up to 70 kH z can be achieved by u sing the Area of Interest (AOI) feature; w here the smaller the AOI, the greater the potential line rate. Teledyne DALSA 03-032-20180-01...
  • Page 28 The RGB outp ut form at is comp atible w ith the Camera Link specification for Med ium RGB. Line rates up to 70 kH z can be achieved by using the Area of Interest (AOI) feature; w here the smaller the AOI, the greater the p otential line rate. 03-032-20180-01 Teledyne DALSA...
  • Page 29 The RGB outp ut form at is comp atible w ith the Camera Link specification for Med ium RGB. Line rates up to 70 kH z can be achieved by using the Area of Interest (AOI) feature; w here the smaller the AOI, the greater the p otential line rate. Teledyne DALSA 03-032-20180-01...
  • Page 30: Camera Link Cable Quality And Length

    PX4 and PX8 15 m Comp onent Express 30 m H ew tech Input Signals, Camera Link The camera accepts control inputs through the Camera Link SDR26F connector. The camera ships in internal sync, and internally program med integration. 03-032-20180-01 Teledyne DALSA...
  • Page 31: Output Signals, Camera Link Clocking Signals

    The camera requires a single voltage inp ut +12 VDC to +24 VDC. The camera meets all perform ance specifications using stand ard sw itching pow er supplies, although w ell-regulated linear su pplies provid e optimum perform ance. Teledyne DALSA 03-032-20180-01...
  • Page 32: Leds

    1. Start a new Sapera CamExpert application (or equivalent Camera Link compliant interface) by d ouble clicking the d esktop icon created d uring the softw are installation. 2. In the Devices list area on the left sid e, select the COM port below the Camera Link label. 03-032-20180-01 Teledyne DALSA...
  • Page 33: Check Led Status

    If the camera is operating correctly at this point, the d iagnostic LED w ill shine green. Software Interface All the camera features can be controlled through the CamExpert interface. For example, und er the Sensor Control menu in the camera w ind ow you can control the line rate and exposure times. Teledyne DALSA 03-032-20180-01...
  • Page 34: Using Sapera Camexpert With Piranha4 Cameras

    Note: The availability of the features is d epend ent on the CamExpert u ser setting. A note on the CamExpert examples show n here: The examples s how n for illustrative purposes and may not entirely reflect the features and parameters available from the camera model used in your application. 03-032-20180-01 Teledyne DALSA...
  • Page 35: Camexpert Panes

    All manuals and user guides at all-guides.com Piranha4 4K Color Camera User's Manual CamExpert Panes Figure 11. CamExpert’s Camera Control Window Teledyne DALSA 03-032-20180-01...
  • Page 36 Control Buttons: The Display p ane includ es CamExpert control buttons. These are: Acquisition control button: Click once to start live grab, click again to stop. Single frame grab: Click to acquire one frame from d evice. 03-032-20180-01 Teledyne DALSA...
  • Page 37: Review A Test Image

    Green Value: {204, 205, 206…} Blue Value: Values roll over at 255. At this p oint you are read y to start operating the camera in ord er to acquire im ages, set camera functions, and save settings. Teledyne DALSA 03-032-20180-01...
  • Page 38: Camera Operation

    CamExpert GUI show n in the follow ing examples. Parameters such as camera m od el, firm w are version, sensor characteristics, etc. are read to uniquely id entify the connected d evice. The camera inform ation parameters are grouped together as members of the Cam era Information set. 03-032-20180-01 Teledyne DALSA...
  • Page 39: Verify Temperature And Voltage

    The voltage d isplayed is the camera‘s input voltage. Note: The voltage measurement feature of the camera provid es resu lts typ ically w ithin 1%. This measurement can be used to set the app lied voltage to the camera. Teledyne DALSA 03-032-20180-01...
  • Page 40: Saving And Restoring Camera Settings

    User Set Default Selector. The chosen set autom atically saves as the d efault setting and is the set load ed w hen the camera is reset or pow ered up. The relationship betw een these three settings is illustrated in Figure 14. Relationship betw een the Camera Settings: 03-032-20180-01 Teledyne DALSA...
  • Page 41 To restore the last saved user settings, select the User Set parameter you w ant to restore and then select the User Set Load p arameter. Teledyne DALSA 03-032-20180-01...
  • Page 42: Camera Link Configuration

    The camera can grab images in one of three w ays. You d etermine the three im aging mod es using a combination of the Exposure Mod e parameters (includ ing I/ O param eters), Exposure Time and Line Rate parameters. 03-032-20180-01 Teledyne DALSA...
  • Page 43 Internally generated . Allow s for an ind epend ent exposu re time to be applied to each ind ivid u al color. Exposure Time Sets the exposure time (in microsecond s). Exposure Mod e feature mu st be set to Timed Teledyne DALSA 03-032-20180-01...
  • Page 44: Exposure Modes In Detail

    In this m od e, the line rate is set externally w ith the falling ed ge of EXSYN C generating the rising ed ge of a programm able exposure time. GenICam parameters to set:  I / O Controls > Trigger Mode > On  Sensor Control > Exposure Mode > Timed 03-032-20180-01 Teledyne DALSA...
  • Page 45 Exposure = X Sensor Sensor Sensor Readout Readout Readout LVAL 27.5us Notes: 1. Exposure time > 7 micro-seconds 2. Sensor Readout time = 14 micro-seconds 3. One additional falling edge during exposure is latched Figure 16. Exposure Modes Teledyne DALSA 03-032-20180-01...
  • Page 46: Set Line Rate

    41 kH z Full 55 kH z Deca 69 kH z (Deca RGB8) Note: 70 kHz line rate can be achieved using AOI mode for all Camera Link Mode. For more information, see Area of Interest (AOI) Setup. 03-032-20180-01 Teledyne DALSA...
  • Page 47 85 MH z Base RGB8 Max: 70KH z Med ium RGB8 Max: 70KH z Full RGB8 Max: 70KH z Deca RGB8 Max: 70KH z 85 MH z Base RGB8 Max: 70KH z Med ium RGB8 Max: 70KH z Teledyne DALSA 03-032-20180-01...
  • Page 48 Deca RGB8 Max: 70KH z Number Line Rate Formula (Hz) Clock of AOI Configuration Rate 66 MH z Base RGB8 Max: 70KH z Med ium RGB8 Max: 70KH z Full RGB8 Max:70KH z Deca RGB8 Max: 70KH z 03-032-20180-01 Teledyne DALSA...
  • Page 49 Max: 70KH z Med ium RGB8 Max: 70KH z Full RGB8 Max: 70KH z Deca RGB8 Max: 70KH z 66 MH z Base RGB8 Max: 70KH z Med ium RGB8 Max: 70KH z Full RGB8 Max: 70KH z Teledyne DALSA 03-032-20180-01...
  • Page 50: Set Exposure Time

    Wid th of the im age. H eight H eight of the image in lines. Pixel Form at 8 bit d epth to Camera Link. Test Im age Selector Select an internal test im age: Color Ramp Grey Ramp 03-032-20180-01 Teledyne DALSA...
  • Page 51: Set Baud Rate

    Use the Pixel Form at feature, found in the Image Format Control set, to select the format of the pixel to use d uring im age acquisition . Image Format Control Parameter Description Pixel Form at RGB8, RGB10, RGB12 Teledyne DALSA 03-032-20180-01...
  • Page 52: Camera Direction Control

    The feature Camera Reset, part of the Transport Layer set, resets the camera. The camera resets w ith the d efault settings, includ ing a baud rate of 9600. Camera Information Parameter Description Camera Reset Resets the camera and pu ts in the d efau lt settings, includ ing a 9600 baud rate. 03-032-20180-01 Teledyne DALSA...
  • Page 53: Calibrating The Camera

    2. Photo resp onse non uniformity (PRN U) calibration is used to correct for variations in the illu mination intensity and / or lens vignetting. When performed , this calibration w ill cause the Teledyne DALSA 03-032-20180-01...
  • Page 54 Teled yne DALSA‘s Sapera Processing softw are. This tool w ill generate the d esired color correction file that can be d ow nload ed to the camera.
  • Page 55 Becau se of the low pass filter this algorithm is not able to correct pixel-to-pixel variations and so it is preferable to u se the ―Basic‖ algorithm if p ossible. Teledyne DALSA 03-032-20180-01...
  • Page 56 1. Floating point d igital m ultiplier applied to each pixel 2. Range 1x to 10x N ote: An application note describing a color transformation matrix calibration (document #03- 032-20181) is available. Please contact Teledyne D ALSA Support for more information. 03-032-20180-01 Teledyne DALSA...
  • Page 57: Appendix A: Genicam Commands

    This append ix lists the available GenICam camera features. Access these features using the CamExpert interface. Features listed in the d escription table but tagged as Invisible are typ ically reserved for Teled yne DALSA Support or third party softw are usage, and not typically required by end user ap plications.
  • Page 58: Camera Information Feature Descriptions

    . Ad d itionally the Device Version colum n w ill ind icate w hich parameter is a member of the DALSA Features N aming Convention (using the tag D FN C), verses the GenICam Stand ard Features N aming Convention (SFN C not show n).
  • Page 59 UserSet6 to save to or load from features settings previously saved by the user. UserSet7 UserSet7 Select the User-d efined Configuration sp ace UserSet7 to save to or load from features settings previously saved by the user. Teledyne DALSA 03-032-20180-01...
  • Page 60 (RO) DFN C Beginner Refresh Voltage refreshVoltage Press to d isplay the current input voltage of 1.00 the camera at the p ow er connector DFN C Beginner License Key securityUpgrad e 1.00 DFN C Guru 03-032-20180-01 Teledyne DALSA...
  • Page 61: Camera Configuration Selection Dialog

    UserSetSelector). To reset the camera to the factory configuration, select Factory Setting and click Load . To save a current camera configuration, select User Set 1 to 8 and click Save. Select a saved user set and click Load to restore a saved configuration. Teledyne DALSA 03-032-20180-01...
  • Page 62: Camera Control Category

    Parameters in gray are read only, either alw ays or d ue to another parameter being d isabled . Parameters in black are u ser set in CamExpert or program mable via an im aging application. 03-032-20180-01 Teledyne DALSA...
  • Page 63: Camera Control Feature Descriptions

    . Ad d itionally the firm w are colu mn w ill ind icate w hich parameter is a member of the DALSA Features N aming Convention (DFN C), verses the GenICam Stand ard Features N aming Convention (SFN C not show n).
  • Page 64 Transform ation value in the matrix Beginner Value Selector Gain00 Green Blue Offset Gain00 Gain01 Gain02 Offset1 Gain01 Green Gain10 Gain11 Gain12 Offset2 Gain02 Blue Gain30 Gain31 Gain32 Offset3 Gain10 Gain11 Gain12 Gain20 Gain21 Gain22 Offset1 Offset2 Offset3 03-032-20180-01 Teledyne DALSA...
  • Page 65: Independent Exposure Control

    Ad just the ind epend ent exposure control using either the GUI or the 3-letter com mand s: CamExpert GUI In the Camera Control Set Parameter Value Exposure Time Color Selector All, Red , Green, Blue Exposure Time Teledyne DALSA 03-032-20180-01...
  • Page 66 For example, if the revised blue value is less than the current blue value, enter the green and red valu es first. If the new blue value is greater than the cu rrent blue value, enter the blue value first. 03-032-20180-01 Teledyne DALSA...
  • Page 67: Digital I/O Control Feature Descriptions

    . Ad d itionally , the firmw are colu m n ind icates w hich parameter is a member of the DALSA Features N aming Convention (DFN C), verses the GenICam Stand ard Features N aming Convention (SFN C not show n). The Device Version number represents the camera softw are functional group, not a firmw are revision nu mber.
  • Page 68: Flat Field Category

    Cam Expert or program mable via an im aging application. Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 69 DFN C Calibrate FPN flatfield CalibrationFPN Initiates the FPN calibration 1.00 process Beginner DFN C Calibrate PRN U flatfield CalibrationPRN U Initiates the PRN U or Flatfield 1.00 process Beginner DFN C Teledyne DALSA 03-032-20180-01...
  • Page 70: Region Of Interest (Roi)

    Cam Expert or program mable via an im aging application. Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 71: Image Format Control Feature Description

    . Ad d itionally the firm w are colu mn w ill ind icate w hich parameter is a member of the DALSA Features N aming Convention (DFN C), verses the GenICam Stand ard Features N aming Convention (SFN C not show n).
  • Page 72: Area Of Interest (Aoi) Setup

    3. To set up each AOI ind ivid u al u se the AOI Selector to point to the AOI to be set u p. 4. AOI Offset X is used ind icate the starting pixel of the AOI. 5. AOI Wid th is used to ind icate the w id th of the that AOI. 03-032-20180-01 Teledyne DALSA...
  • Page 73 2. Set up the number of set up the AOI. AOI d esired to max of 4. 3. Select area to set up. 4. Select beginning of selected area 5. Set up w id th of selected area Teledyne DALSA 03-032-20180-01...
  • Page 74 1. The AOI m od e mu st be changed to Active. 2. Be sure to set the frame grabber image w id th to the su m of all AOI w id ths set up in the camera. Once all AOI are set up change to active. 03-032-20180-01 Teledyne DALSA...
  • Page 75: Instructions On Using The Camera Scan Direction To Control Camera Parameters

    2. Set up all the d esired parameters, includ ing flat field corrections. First, setup parameters for reverse d irection. 3. Save the camera p arameters to a User set other than the d efault user set. Teledyne DALSA 03-032-20180-01...
  • Page 76 CC3 and the Direction Source set to external or by having the Direction Source set to Internal and the Internal Direction set to forw ard . 5. Set up all the d esired parameters includ ing d oing a flat field . Setup parameters for forw ard d irection. 03-032-20180-01 Teledyne DALSA...
  • Page 77 . Set the Flat Field mod e to Scan d irection Controlled . 7. In the Flat Field area change the mod e to Scan Direction Controlled . Teledyne DALSA 03-032-20180-01...
  • Page 78: Transport Layer Control Category

    Cam Expert or program mable via an im aging application. Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 79: Transport Layer Feature Descriptions

    . Ad d itionally the firm w are colu mn w ill ind icate w hich parameter is a member of the DALSA Features N aming Convention (DFN C), verses the GenICam Stand ard Features N aming Convention (SFN C not show n).
  • Page 80: Acquisition And Transfer Control Category

    . Parameters in black are user set in CamExpert or program m able via an im aging application. Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 81: Serial Port Control Category

    Genie TS serial p ort as an interface from an Ethernet netw ork to a serial port control system for other d evices. Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 82: File Access Control Category

    Features listed in the d escription table but tagged as Invisible are usually for Teled yne DALSA or third party softw are usage—not typically need ed by end user applications.
  • Page 83: File Access Control Feature Descriptions

    Controls the m apping offset betw een the 1.00 d evice file storage and the file access buffer. Guru File Access Length FileAccessLength Controls the m apping length betw een the 1.00 d evice file storage and the file access buffer. Guru Teledyne DALSA 03-032-20180-01...
  • Page 84: File Access Via The Camexpert Tool

    File Access via the CamExpert Tool 1. Click on the ―Setting…‖ bu tton to show the file selection menu. 2. From the Type d rop m enu, select the file type that w ill be upload ed to the camera. 03-032-20180-01 Teledyne DALSA...
  • Page 85: Download A List Of Camera Parameters

    3. In the ―Type‖ d rop d ow n box select ―Miscellaneous.‖ 4. In the ―File selector‖ d rop d ow n box select ―CameraData .‖ 5. H it ―Dow nload ‖ Save the text file and send the file to Teled yne DALSA customer supp ort. Teledyne DALSA 03-032-20180-01...
  • Page 86 All manuals and user guides at all-guides.com Piranha4 4K Camera Color User's Manual 03-032-20180-01 Teledyne DALSA...
  • Page 87: Appendix B: Ascii Commands

    Piranha4 4K Color Camera User's Manual Appendix B: ASCII Commands The follow ing com mand s can be used to control the Teled yne DALSA Piranha4 cameras. Accessing the Three Letter Commands (TLC) To access the TLC an ASCII-based commu nications interface application, such as H yper Terminal.
  • Page 88: Port Configuration

    To enter a floating point nu mber prefix it w ith a ―F‖ – for exam ple ―ssg 0 f1.5‖  Error cod es returned are the same as the GenICam™ interface – see Diagnostics | Error Cod es  Follow each com mand w ith the carriage return character – 0x0D 03-032-20180-01 Teledyne DALSA...
  • Page 89: Commands

    Color Matrix Selector Mnemonic Argument(s) Device 0. Factory 1. User # of lines to average 0 or 1, w hen factory selected above then 0. White LED 1. N o correction (u nity matrix) D escription Color matrix selector Teledyne DALSA 03-032-20180-01...
  • Page 90 Floating Point Value Gains: -32 to 32  Offsets: 0 to 255 Color Transform ation Matrix D escription  Value must be im med iately preced ed w ith a ―F‖ (e.g. ctv 0 f1.5) N otes 03-032-20180-01 Teledyne DALSA...
  • Page 91 Set flat field mod e N otes Full N ame Set Flatfield Scan D irection Reverse Set Mnemonic Argument(s) User Set N umber 1 to 8 Set scan d irection controlled reverse set D escription N otes Teledyne DALSA 03-032-20180-01...
  • Page 92 N ote that the p arameter is preced ed by a single quote ―‘‖. Using this com mand w ill be easier for control softw are than p arsing the outpu t from the ―gcp‖ com mand . 03-032-20180-01 Teledyne DALSA...
  • Page 93 0: sensor video, 1: mono ramp, 2: color ramp Default User Set Set number 0-8 Load User Set Last set loaded 0-8 Save User Set Last set saved 0-8 Temperature No value returned Input Voltage No value returned Teledyne DALSA 03-032-20180-01...
  • Page 94 - Internal Line Rate <Hz> - Gain <1-Red/2-Green/3-Blue> f<gain> - External Trigger <0:Off 1:On> - Test Pattern <0-2> - Default User Set <0-8> - Load User Set <0-8> - Save User Set <1-8> - Temperature - Input Voltage USER> 03-032-20180-01 Teledyne DALSA...
  • Page 95 Reset all user FPN values to zero and all u ser PRN U coefficients t o one N otes Full N ame Set AOI Count Mnemonic N umber of AOI‘s 1 to 4 Argument(s) D escription Set AOI Counter N otes Teledyne DALSA 03-032-20180-01...
  • Page 96 Set sensor scan d irection N otes Full N ame Select Exposure Time Color Selector Mnemonic Argument(s) Color Selector 0. All 1. Red 2. Green 3. Blue D escription Select the color to apply an exposure time value to. N otes 03-032-20180-01 Teledyne DALSA...
  • Page 97 1. Image is flipped on the vertical axis D escription Set mirroring m od e N otes Full N ame Pixel Format Mnemonic Argument(s) Selector 0. RGB8 1. RGB10 2. RGB12 D escription Set pixel format N otes Teledyne DALSA 03-032-20180-01...
  • Page 98 Mnemonic Argument(s) Selector 0. System 1. Red 2. Green 3. Blue Gain 1 to 10 D escription Set gain  Multiplier must be immed iately preced ed w ith a ―F‖ (e.g. ssg 0 f1.5) N otes 03-032-20180-01 Teledyne DALSA...
  • Page 99 1 to 8 D escription Save user set  N otes Saves all the current settings listed by the GCP com m and plus the user FPN coefficients, u ser PRN U coefficients, and color correction m atrix Teledyne DALSA 03-032-20180-01...
  • Page 100 Piranha4 4K Camera Color User's Manual Full N ame Temperature Mnemonic Argument(s) D escription Display internal temperatu re in d egrees Celsiu s N otes Full N ame Voltage Mnemonic Argument(s) D escription Display supply voltage N otes 03-032-20180-01 Teledyne DALSA...
  • Page 101: Appendix C: Quick Setup And Image Acquisition

    CamExpert provid es an easy-to-use GUI that can be used to set up and evaluate the camera.  The camera also comes w ith Teled yne DALSA‘s three letter com m and (TLC) interface option, w hich can be accessed using a su itable terminal program such as H yperTerm inal™.
  • Page 102 .  Calibration is performed u sing a w hite reference w here your object is normally located . Use a w hite m aterial that has no texture, such as a non glossy plastic. 03-032-20180-01 Teledyne DALSA...
  • Page 103 A softw are tool to generate this is available w ith the Sapera Essentials processing applications, w hich can be d ow nload ed from the Teled yne DALSA w eb site (60 d ay free trial).
  • Page 104: Appendix D: The Sensor Window

    (d ark spot) and overcorrecting w here the shad ow used to be (w hite spot). While the d ark spot can be p ote ntially cleaned , the w hite spot is an FFC artifact that can only be corrected by another FFC calibration. 03-032-20180-01 Teledyne DALSA...
  • Page 105: Cleaning The Sensor Window

    . This proced ure requires you to use multiple sw abs.  Discard the sw ab after both sid es of the sw ab have been use d once.  Repeat until there is no visible contamination present. Teledyne DALSA 03-032-20180-01...
  • Page 106: Appendix E. Color Deca And Full Mode Acquisition

    Sapera 7.10 or later is required . Programming Deca Mode The RGB 9.1 Deca mod e utilizes Camera Link 10-tap, 8-bit mod e to achieve RGB form atting. Below is the Camera Link p ort assignment of Deca m od e. 03-032-20180-01 Teledyne DALSA...
  • Page 107: A Simple Workaround Accomplishes This

    2) Treat acquired buffer as SapForm atRGBR888 (24bit/ pixel). Sapera LT provid es a feature to share buffer components betw een tw o SapBuffer objects. Bu ffer type may be d ifferent betw een the tw o SapBuffer objects. This can be a trick to convert buffer format w ithout buffer copy. Teledyne DALSA 03-032-20180-01...
  • Page 108: Sample Code

    Programming Full Mode The RGB 6.2 Full mod e utilizes Camera Link 8-tap, 8-bit mod e to achieve RGB formatting. Below is the Camera Link p ort assignment of Full m od e. 03-032-20180-01 Teledyne DALSA...
  • Page 109: A Simple Workaround Accomplishes This

    2) Treat acquired buffer as SapForm atRGBR888 (24bit/ pixel). Sapera LT provid es a feature to share buffer components betw een tw o SapBuffer objects. Bu ffer type may be d ifferent betw een the tw o SapBuffer objects. This can be a trick to convert buffer format w ithout buffer copy. Teledyne DALSA 03-032-20180-01...
  • Page 110: Sample Code

    Buffers = new Sap Buffer(N UMBUFFERS, pData, w id th / 3, height,SapForm atRGB888); m_View Buffers->Create(); If you d eclare above m_View Buffer as the source buffer of SapView object, you can d isplay RGB im age w ithout any ad d itional processing. 03-032-20180-01 Teledyne DALSA...
  • Page 111: Appendix F: Camera, Frame Grabber Communication

    Teled yne DALSA Camera Link cameras sup port the GenCP Camera Link stand ard s. To configure Teled yne DALSA GenCP Camera Link Cameras: 1. Install the Teled yne DALSA frame grabber in the host computer; refer to the hard w are installation m anu al.
  • Page 112 GenCP cameras, the camera and frame grabber p aram eters must be ad ju sted sep arately. Test the im age acquisition by clicking the Grab button. 9. Save the frame grabber configuration to a new *.ccf file. 03-032-20180-01 Teledyne DALSA...
  • Page 113: Emc Declaration

    EN 61326-1 (2006) EN 55024 (2010) CISPR-22 ICES-003 CISPR-11 FCC Part 15 Place of issue: Waterloo, Ontario, Canad a Date of Issue: Febru ary 4, 2013 H ank H elmond Director of Qu ality, TELEDYN E DALSA Corp. Teledyne DALSA 03-032-20180-01...
  • Page 114: Revision History

    10 May 2013 - Trigger source and trigger mod e parameters removed fr om manual. - RGB10 and RGB12 ad d ed to SPF command . - Full and Deca timing diagrams revised . - Formatting revisions. 03-032-20180-01 Teledyne DALSA...
  • Page 115: Index

    42 pixel format, 51 external frame rate, pow er programmable exposure time, connector, 31 connectors, 31 externally controlled, 44 guidelines, 32 internally controlled, 44 pinout, 31 exposure mod es precautions, 6 descriptions of, 42 exposure time Teledyne DALSA 03-032-20180-01...
  • Page 116 10 revision history, 114 temperature verify, 39 safety, 6 test patterns, 37 Sapera, 34 trigger mod es, 42 sensor controls, 62, 67, 70, 80 settings current, 41 default, 42 voltage factory, 38, 42 verify, 39 loading, 40 03-032-20180-01 Teledyne DALSA...

Table of Contents