Table of Contents

Advertisement

Quick Links

Piranha4
Camera User's Manual
Monochrome 2k and 4k
sensors | cameras | frame grabbers | processors | software | vision solutions
03-032-20176-07
www.teledynedalsa.com
Teledyne DALSA
03-032-20176-07

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P4-CM-04K07D and is the answer not in the manual?

Questions and answers

Summary of Contents for Teledyne P4-CM-04K07D

  • Page 1 Piranha4 Camera User’s Manual Monochrome 2k and 4k sensors | cameras | frame grabbers | processors | software | vision solutions 03-032-20176-07 www.teledynedalsa.com Teledyne DALSA 03-032-20176-07...
  • Page 2 All information provided in this manual is believed to be accurate and reliable. No responsibility is assumed by Teledyne DALSA for its use. Teledyne DALSA reserves the right to make changes to this information without notice. Reproduction of this manual in whole or in part, by any means, is prohibited without prior permission having been obtained from Teledyne DALSA.
  • Page 3: Table Of Contents

    Check LED Status ................... 27 Software Interface ................... 27 Using Sapera CamExpert with Piranha4 Cameras ..........28 CamExpert Panes ................... 29 4. Camera Operation ___________________________________________________________________________________ 31 Factory Settings ....................31 Area Mode ......................31 Check Camera and Sensor Information ..............33 Teledyne DALSA 03-032-20176-07...
  • Page 4 Serial Port Control Category ................. 80 Serial Port Control Feature Descriptions ..........81 File Access Control Category ................82 File Access Control Feature Descriptions ..........83 File Access via the CamExpert Tool............85 Download a List of Camera Parameters ........... 86 03-032-20176-07 Teledyne DALSA...
  • Page 5 Setting Up Communication between the Camera and the Frame Grabber 109 Declarations of Conformity_______________________________________________________________________________ 112 FCC Statement of Conformance .............. 112 EU and UKCA Declaration of Conformity ..........112 Revision History ______________________________________________________________________________________ 113 Contact Information ____________________________________________________________________________________ 114 Sales Information ....................114 Technical Support ....................114 Teledyne DALSA 03-032-20176-07...
  • Page 6: System Precautions And Cleaning

    Image sensors and the camera bodies housing are susceptible to damage from electrostatic discharge (ESD). Electrostatic charge introduced to the sensor window surface can induce charge buildup on the underside of the window. The charge normally dissipates within 24 hours and the sensor returns to normal operation. 03-032-20176-07 Teledyne DALSA...
  • Page 7: The Piranha4 Camera

    2. The Piranha4 Camera Camera Highlights Teledyne DALSA expands its Piranha4™ dual line CMOS camera family with 2K and 4K resolution models. The new Piranha4 models offer higher speeds and more responsive pixels in a choice of sizes and resolutions. Programmable features include multiple region-of-interest, high dynamic range operation, and rapid bi-directional switching, and are designed to meet today’s demanding imaging...
  • Page 8: Camera Performance Specifications

    + 12 V to + 24 V DC ± 5% Power Dissipation < 11 W (4K), < 8.3 W (2K) Size 62 mm (W) x 62 mm (H) x 48 mm (D) Mass < 340 g Operating Temp 0 °C to 65 °C, front plate temperature 03-032-20176-07 Teledyne DALSA...
  • Page 9: Flash Memory Size

    10 kHz line rate • Light source: broadband, quartz halogen, 3250 K with 700 nm IR cut-off filter. • Front plate temperature: 45º C Flash Memory Size Camera Flash Memory Size P4-CM-02K05D-00-R 16 MByte P4-CM-02K10D-00-R 16 MByte P4-CM-04K05D-00-R 16 MByte Teledyne DALSA 03-032-20176-07...
  • Page 10: Environmental Considerations

    GenApi module of the GenICam™ specification. The camera uses the GenICam™ Generic Control Protocol (GenCP V1.0) to communicate over the Camera Link serial port. For more information see www.genicam.org. Responsivity The responsivity graph describes the sensor response to different wavelengths of light (excluding lens and light source characteristics). 03-032-20176-07 Teledyne DALSA...
  • Page 11 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Figure 1: Spectral Responsivity vs. Wavelength (Dual Line) Figure 2: QE % vs. Wavelength Teledyne DALSA 03-032-20176-07...
  • Page 12 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Figure 3: Relationship between FPN and Temperature 03-032-20176-07 Teledyne DALSA...
  • Page 13: Mechanicals

    Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Mechanicals Figure 4: 2K (Top) and 4K (Bottom) Camera Mechanicals Teledyne DALSA 03-032-20176-07...
  • Page 14 M58 to F-mount adapter, heavy duty, 12mm BFD, for 4K model AC-LC-00001 M42x1 to C-mount adapter, 12mm BFD, for 2K model AC-LA-00115 M42x1 to F-mount adapter, heavy duty, 12mm BFD, for 2K model AC-MS-00108 Heat sink for 2k and 4k models 03-032-20176-07 Teledyne DALSA...
  • Page 15: Camera Mounting And Heat Sink Considerations

    Teledyne DALSA recognises that each customer’s application can be unique. In consideration, the P4 camera heat sinks have been designed in such a way that they can be repositioned on the different faces of the camera or removed entirely, depending on the mounting configuration and its heat sinking potential.
  • Page 16: Quick, Simple Steps To Acquire An Image

    Piranha4 camera, an overview of the steps required to get this camera operational and acquiring images quickly can be found in Appendix D: Quick Setup and Image Acquisition. Teledyne DALSA 03-032-20176-07...
  • Page 17: Software And Hardware Setup

    Appendix B: ASCII Commands. 4. Operate the Camera At this point you will be ready to start operating the camera in order to acquire images, set camera functions, and save settings. Teledyne DALSA 03-032-20176-07...
  • Page 18: Step 1. Install And Configure The Frame Grabber And Software

    Protocol (GenCP V1.0) to communicate with the camera over the Camera Link serial port. When communications are first established Sapera will when connecting for the first time download the GenICam™ XML Description file. This file details how to access and control the camera. 03-032-20176-07 Teledyne DALSA...
  • Page 19: Step 2. Connect Data, Trigger, And Power Cables

    Figure 8: Input and Output, Trigger, and Power Connectors WARNING! Grounding Instructions Static electricity can damage electronic components. It’s critical that you discharge any static electrical charge by touching a grounded surface, such as the metal computer chassis, before handling the camera hardware. Teledyne DALSA 03-032-20176-07...
  • Page 20: Data Connector: Camera Link

    The figure below shows the SDR26 Camera Link Connector and the tables that follow list the Camera Link Base, Medium, and Full configurations. For detailed information on Camera Link please refer to the Camera Link Road Map available from the Knowledge Center on the Teledyne DALSA Web site: (http://www.teledynedalsa.com/mv/knowledge/appnotes.aspx). Figure 9. Camera Link Connector...
  • Page 21 Not Used Tx24/Rx24 LVAL Tx24/Rx24 LVAL Tx24/Rx24 LVAL Tx25/Rx25 FVAL Tx25/Rx25 FVAL Tx25/Rx25 FVAL Tx26/Rx26 Not Used Tx26/Rx26 Not Used Tx26/Rx26 Not Used Tx27/Rx27 D0(6) Tx27/Rx27 D3(6) Tx27/Rx27 D6(6) Tap 1 bits are D0(x)...Tap 8 bits are D7(x) Teledyne DALSA 03-032-20176-07...
  • Page 22: Camera Link Bit Definitions

    Pixels (7, Pixels (6, Pixels (8, 9, 17, ... 10, 18, ... 11, 19, ... 12, 20, ... 13, 21, ... 15, 23, ... 14, 22, ... 16, 24, ... 4081, 4082, 4083, 4084, 4085, 4087, 4086, 4088, 03-032-20176-07 Teledyne DALSA...
  • Page 23: Camera Link Drive Capability

    * Keep this signal in low status when idle. The exposure time must not be greater than the camera’s allowance— 3,000 µs. Table 5: Camera Control Configuration For additional Camera Link documentation refer to the Teledyne DALSA Web site’s Knowledge Center application notes.
  • Page 24: Input Signals, Camera Link

    Camera Link Implementation Road Map, available at our Knowledge Center, for the standard location of these signals. Clocking Signal Indicates LVAL (high) Outputting valid line DVAL Not used STROBE (rising edge) Valid data FVAL Set to 0 03-032-20176-07 Teledyne DALSA...
  • Page 25: Power Connector

    LED indicates the condition with the highest priority. Color of Status LED Meaning No power or hardware malfunction Blinking Powering up or calibrating Green Ready Error. Check the built-in self test (BiST) register for the specific error Teledyne DALSA 03-032-20176-07...
  • Page 26: Step 3. Establish Communication With The Camera

    3. Select the frame grabber device by clicking on the name. Note: The first time you set up the camera you will need to establish a communication link between the camera and frame grabber. 03-032-20176-07 Teledyne DALSA...
  • Page 27: Connect To The Camera

    If the camera is operating correctly at this point, the diagnostic LED will shine green. Software Interface All the camera features can be controlled through the CamExpert interface. For example, under the Camera Control menu in the camera window you can control the line rate and exposure times. Teledyne DALSA 03-032-20176-07...
  • Page 28: Using Sapera Camexpert With Piranha4 Cameras

    CamExpert user setting. A note on the CamExpert examples shown here: The examples shown for illustrative purposes and may not entirely reflect the features and parameters available from the camera model used in your application. 03-032-20176-07 Teledyne DALSA...
  • Page 29: Camexpert Panes

    • Display pane: Provides a live or single frame acquisition display. Frame buffer parameters are shown in an information bar above the image window. • Control Buttons: The Display pane includes CamExpert control buttons. These are: Teledyne DALSA 03-032-20176-07...
  • Page 30 • Output Message pane: Displays messages from CamExpert or the device driver. At this point you are ready to start operating the camera in order to acquire images, set camera functions, and save settings. 03-032-20176-07 Teledyne DALSA...
  • Page 31: Camera Operation

    It is important that the exposure time in area mode be appropriate for the set line rate. The exposure time should not be longer than the inverse of the line rate or else the image will smear. The set scan direction is Teledyne DALSA 03-032-20176-07...
  • Page 32 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera also important. If the direction is wrong the image will look choppy, as can be seen in the following figure. Figure 14. Image with incorrect scan direction Figure 15. Image with proper scan direction 03-032-20176-07 Teledyne DALSA...
  • Page 33: Check Camera And Sensor Information

    The camera information parameters are grouped together as members of the Camera Information set. Figure 16. CamExpert’s Camera Information Window Verify Temperature and Voltage To determine the voltage and temperature at the camera, use the Refresh Voltage and Refresh Temperature features found in the Camera Information set. Teledyne DALSA 03-032-20176-07...
  • Page 34: Saving And Restoring Camera Settings

    User Set Default Selector. The chosen set automatically saves as the default setting and is the set loaded when the camera is reset or powered up. The relationship between these four settings is illustrated in Figure 17. Relationship between the Camera Settings: 03-032-20176-07 Teledyne DALSA...
  • Page 35 To restore the last saved user settings, select the User Set parameter you want to restore and then select the User Set Load parameter. Factory Settings Teledyne DALSA 03-032-20176-07...
  • Page 36: Camera Link Configuration

    TDI Stages 2 one line is delayed by one EXSYNC before being summed with the other line. The result is a 20 µm tall pixel for vertical binning while TDI Stage 2 maintains the 10 µm pixel height. There is no line rate difference between these two modes. 03-032-20176-07 Teledyne DALSA...
  • Page 37: Sensitivity Modes And Pixel Readout

    In TDI mode, the camera uses a 10.56 µm x 10.56 µm pixel and captures the same image twice, resulting in a brighter image. Figure 19: Single Line Mode Examples In single line mode, the camera uses a 10.56 µm x 10.56 µm pixel and captures the image using one sensor (Sensor 1). Teledyne DALSA 03-032-20176-07...
  • Page 38: Trigger Modes

    Camera line rate in Hz. Only available when the start line trigger parameter is disabled (Trigger Mode off). Exposure Mode Set the operation mode for the camera’s exposure. Trigger Width or Timed. Trigger Width is only available when Trigger Mode is enabled. 03-032-20176-07 Teledyne DALSA...
  • Page 39: Exposure Modes In Detail

    In this mode, the line rate is set externally with the falling edge of EXSYNC generating the rising edge of a programmable exposure time. GenICam parameters to set: • I / O Controls > Trigger Mode > On • Camera Control > Exposure Mode > Timed Teledyne DALSA 03-032-20176-07...
  • Page 40 Exposure = X Sensor Sensor Sensor Readout Readout Readout LVAL 10.2us Notes: 1. Exposure time > 4 micro-seconds 2. Sensor Readout time = 9.5 micro-seconds 3. One additional falling edge during exposure is latched Figure 21. Exposure Modes 03-032-20176-07 Teledyne DALSA...
  • Page 41: Set Line Rate

    41 kHz (4K), 82 kHz (2K) Medium, 8-bit 81 kHz(4K), 100 kHz (2K) Full (TDI) , 8-bit 100 kHz (4K and 2K) Full (Area) , 8-bit 160 kHz (4K), 200 kHz (2K) Deca (Area) , 8-bit 200 kHz (4K) Teledyne DALSA 03-032-20176-07...
  • Page 42 Table 8: 85 MHz Camera Link Clock Rate. Maximum Line Rates of 100 kHz TDI and 200 kHz Area. Number Line Rate Formula (Hz) of AOI Configuration Base Medium Full Deca Base Medium Full Deca Base Medium Full Deca 03-032-20176-07 Teledyne DALSA...
  • Page 43 Line Rate Formula (Hz) of AOI Configuration Base Medium Full Deca Table 9: 66 MHz Camera Link Clock Rate. Maximum Line Rates of 100 kHz TDI and 200 kHz Area. Base Medium Full Deca Base Medium Full Deca Teledyne DALSA 03-032-20176-07...
  • Page 44: Set Exposure Time

    The user can evaluate gain and black level by using CamExpert. The parameters that control gain and black level are grouped together in the Camera Controls set. 03-032-20176-07 Teledyne DALSA...
  • Page 45: Set Image Size

    Serial Port Control Action Parameter Options Control the baud rate used by the Baud Rate 9600 (factory default) camera’s serial port 19200 57600 115200 230400* 460800* 921600* Note: During connection CamExpert automatically sets the camera to maximum allowable baud. Teledyne DALSA 03-032-20176-07...
  • Page 46: Pixel Format

    When in TDI stages 2 or Area mode, this command lets you select the Internal or external direction control. Use this feature to accommodate object direction change on a web and to mount the camera "upside down." Scan Direction Read the current direction. 03-032-20176-07 Teledyne DALSA...
  • Page 47: Camera Direction

    Set the tap readout from left to right or from right to left. This feature is especially useful if you want to mount the camera “upside down.” Image Format Control Parameter Description Line Mirroring Off: All pixels are read out from left to right. On: All pixels are read out from right to left. Teledyne DALSA 03-032-20176-07...
  • Page 48: Resetting The Camera

    Calibrating the Camera Important Note: to ensure best results, the conditions under which you calibrate the camera (e.g. temperature and illumination) should be as close to the actual operating conditions as possible. Figure 23: Flat Field Calibration in CamExpert 03-032-20176-07 Teledyne DALSA...
  • Page 49 Add –timeout 60 to increase the command timeout to 60 seconds (See below). Note that you must include a character space between the closing quotation mark in the target and the hyphen before the timeout value. • Repeat for desktop short-cut Figure 24: Setting the camera’s timeout value Teledyne DALSA 03-032-20176-07...
  • Page 50 3. Range 0 to 511 DN, 12 bit 4. Default value is 0 DN for each pixel flatfieldCalibrationPRNU 1. Use “flatfieldCorrectionAlgorithm” to calculate the per pixel gain to achieve the specified target output. 2. Range 0 to 15.9998x 03-032-20176-07 Teledyne DALSA...
  • Page 51 2. Range -512 to 511 DN, scaled down according to pixel format 3. Positive values may be used to measure dark noise Gain 1. Floating point digital multiplier applied to each pixel 2. Range 1x to 10x Teledyne DALSA 03-032-20176-07...
  • Page 52: Appendix A: Genicam Commands

    Beginner, Expert, or Guru. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 53: Camera Information Feature Descriptions

    1.00 Beginner Vendor Name DeviceVendorName Displays the device vendor name. (RO) 1.00 Beginner Device Version DeviceVersion Displays the device version. This tag will also 1.00 highlight if the firmware is a beta or custom Beginner design. (RO) Teledyne DALSA 03-032-20176-07...
  • Page 54 Select the User-defined Configuration space UserSet1 to save to or load from features settings previously saved by the user. UserSet 2 UserSet2 Select the User-defined Configuration space UserSet2 to save to or load from features settings previously saved by the user. 03-032-20176-07 Teledyne DALSA...
  • Page 55 Displays the status of the LED on the back of the 1.00 camera. (RO) DFNC Beginner Temperature DeviceTemperature Displays the internal operating temperature of 1.00 the camera. (RO) DFNC Beginner Refresh refreshTemperature Press to display the current internal operating 1.00 Temperature temperature of the camera. DFNC Beginner Teledyne DALSA 03-032-20176-07...
  • Page 56: 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. 03-032-20176-07 Teledyne DALSA...
  • Page 57: Camera Control Category

    Parameters in gray are read only, either always or due to another parameter being disabled. Parameters in black are user set in CamExpert or programmable via an imaging application. Teledyne DALSA 03-032-20176-07...
  • Page 58: Camera Control Feature Descriptions

    Allows the top line to have exposure time set Bottom Line BottomLine Allows the bottom line to have the exposure time set. Exposure Time ExposureTime Sets the exposure time (in microseconds) when 1.00 the Exposure Mode feature is set to Timed. Beginner 03-032-20176-07 Teledyne DALSA...
  • Page 59 This represents a DC offset applied to the Beginner video signal, in DN (digital number) units. Device Scan DeviceScanType Selects mode of operation of the camera between 1.00 Type Line scan mode and Area scan mode Beginner Line Scan LineScan Area Scan AreaScan Teledyne DALSA 03-032-20176-07...
  • Page 60: Multi-Exposure Mode

    Note: to initiate multi-exposure mode, set TDI stage = 1 (stg 1) and ensure that the camera is in line scan mode (dst 0). The exposure time selector (ses) command is used to select which line to apply the exposure time. 03-032-20176-07 Teledyne DALSA...
  • Page 61 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Above: image with shorter exposure time. Above: image with longer exposure time. Otherwise, identical to the first image. Above: top and bottom images fused. Teledyne DALSA 03-032-20176-07...
  • Page 62 Flat-Field Region of Interest While in multi-exposure mode, setting up a flat-field region of interest results the same region of interest coordinates to be applied to both lines. 03-032-20176-07 Teledyne DALSA...
  • Page 63 The same output AOI will be applied to both the top and bottom lines while in multi-exposure mode. Line Rate While in multi-exposure mode the maximum line rate available is limited by the longest exposure time. Exposure Time Limitation The exposure time of the two lines must differ by greater than 1 µs. Teledyne DALSA 03-032-20176-07...
  • Page 64: Digital I/O Control Feature Descriptions

    This group includes the controls for line rate, exposure time, scan direction, and gain. Parameters in gray are read-only, either always or due to another parameter being enabled or disabled. Parameters in black are user set in CamExpert or programmable via an imaging application. 03-032-20176-07 Teledyne DALSA...
  • Page 65: Flat Field Category

    Parameters in gray are read only, either always or due to another parameter being disabled. Parameters in black are user set in CamExpert or programmable via an imaging application. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 66: Flat Field Control Feature Description

    Feature Description Device Version & View Mode flatfieldCorrectionMode 1.00 FPN and flat field coefficients Beginner disabled. FPN and flat field coefficients DFNC enabled. Initialize Initialize Reset all FPN to 0 and all flat field coefficients to 1. 03-032-20176-07 Teledyne DALSA...
  • Page 67 DFNC ROI Width flatfieldCalibrationROIWidth Sets the width of the region on 1.00 interest where a flat field Beginner calibration will be performed DFNC Calibrate FPN flatfieldCalibrationFPN Initiates the FPN calibration 1.00 process Beginner DFNC Teledyne DALSA 03-032-20176-07...
  • Page 68: Region Of Interest (Roi)

    Parameters in gray are read only, either always or due to another parameter being disabled. Parameters in black are user set in CamExpert or programmable via an imaging application. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 69: Image Format Control Feature Description

    Sensor output data path is 10 bits per pixel. Sensor output data path is 12 bits per pixel. Multiple AOI Mode multipleAOIMode Turns on an output Area of Interest 1.00 Area of interest is off Beginner Active Active Area of interest is on DFNC Teledyne DALSA 03-032-20176-07...
  • Page 70: Binning

    (added) together: 2. Note: TDI stages must be set to 1 before vertical binning can be changed to 2x. Binning Horizontal BinningHorizontal This feature represents the number of horizontal photo- sensitive cells that must be combined (added) together. 03-032-20176-07 Teledyne DALSA...
  • Page 71: Area Of Interest (Aoi) Setup

    3. To set up each AOI individually use the AOI Selector to point to the AOI to be set up. 4. AOI Offset X is used indicate the starting pixel of the AOI. 5. AOI Width is used to indicate the width of the AOI. Teledyne DALSA 03-032-20176-07...
  • Page 72 1. Must be off to 2. Set up the number of set up the AOI. AOI desired to max of 4. 3. Select area to set up. 4. Select beginning of selected area 5. Set up width of selected area 03-032-20176-07 Teledyne DALSA...
  • Page 73 1. The AOI mode must be changed to Active. 2. Be sure to set the frame grabber image width to the sum of all AOI widths set up in the camera. Once all AOI are set up change to active. Teledyne DALSA 03-032-20176-07...
  • Page 74: Instructions On Using The Camera Scan Direction To Control Camera Parameters

    Source set to Internal and the Internal Direction set to reverse. 2. Set up all the desired parameters, including flat field corrections. First, setup parameters for the reverse direction. 3. Save the camera parameters to a User set other than the default user set. 03-032-20176-07 Teledyne DALSA...
  • Page 75 5. Set up all the desired parameters including doing a flat field. Setup parameters for forward direction. 6. Save the camera set to User Set other than the saved to for the reverse direction. The forward direction user set and the default user set must be the same. Teledyne DALSA 03-032-20176-07...
  • Page 76 If using external direction control through CC3 ensure that the Direction Source is both set to external and saved in the user set. Also ensure that the polarity on CC3 is set appropriately for the desired direction. 03-032-20176-07 Teledyne DALSA...
  • Page 77: Transport Layer Control Category

    Parameters in gray are read only, either always or due to another parameter being disabled. Parameters in black are user set in CamExpert or programmable via an imaging application. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 78: Transport Layer Feature Descriptions

    GenCP Beginner Camera Link ClConfiguration Camera Link Output configuration 1.00 Configuration Base Beginner Medium Full Deca Camera Link clDeviceClockFrequency Set the camera link clock rate 1.00 Configuration CL85MHz Beginner CL66MHz Tap Geometry DeviceTapGeometry (RO) 1.00 Beginner 03-032-20176-07 Teledyne DALSA...
  • Page 79: Acquisition And Transfer Control Category

    Parameters in black are user set in CamExpert or programmable via an imaging application. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 80: Serial Port Control Category

    Genie TS serial port as an interface from an Ethernet network to a serial port control system for other devices. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 81: Serial Port Control Feature Descriptions

    Sets the bits per character (bpc) to use (RO). 1.00 Eight Bits bpc8 Use 8 bits per character Beginner DFNC Stop Bits deviceSerialPortNumberOf Sets the number of stop bits to use. 1.00 StopBits Beginner Stopbits1 Stopbits1 Use 1 stop bit DFNC Teledyne DALSA 03-032-20176-07...
  • Page 82: File Access Control Category

    P4. The supported data files are for P4 firmware updates, Flat Field coefficients. LUT data tables, and a custom image for use as an internal test pattern. Features listed in the description table but tagged as Invisible are usually for Teledyne DALSA or third party software usage—not typically needed by end user applications.
  • Page 83: File Access Control Feature Descriptions

    Defines the intermediate access buffer that 1.00 allows the exchange of data between the device Guru file storage and the application. File Access Offset FileAccessOffset Controls the mapping offset between the 1.00 device file storage and the file access buffer. Guru Teledyne DALSA 03-032-20176-07...
  • Page 84 File Operation Result FileOperationResult Displays the file operation result. For Read or 1.00 Write operations, the number of successfully Guru read/written bytes is returned. (RO) File Size FileSize Represents the size of the selected file in bytes. 1.00 Guru 03-032-20176-07 Teledyne DALSA...
  • Page 85: File Access Via The Camexpert Tool

    6. Click the Upload button to execute the file transfer to the camera. 7. Note that firmware changes require a device reset command from the Camera Information Controls and, additionally, CamExpert should be shut down and restarted following a reset. Teledyne DALSA 03-032-20176-07...
  • Page 86: Download A List Of Camera Parameters

    2. Click on Settings 3. In the “Type” drop down box select “Miscellaneous.” 4. In the “File selector” drop down box select “CameraData.” 5. Hit “Download” Save the text file and send the file to Teledyne DALSA customer support. 03-032-20176-07 Teledyne DALSA...
  • Page 87 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Teledyne DALSA 03-032-20176-07...
  • Page 88: Appendix B: Ascii Commands

    Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Appendix B: ASCII Commands The following commands can be used to control the Teledyne DALSA Piranha4 cameras. Accessing the Three Letter Commands (TLC) To access the TLC an ASCII-based communications interface application, such as HyperTerminal.
  • Page 89: Port Configuration

    To enter a floating point number prefix it with a “F” – for example “ssg 0 f1.5” • Error codes returned are the same as the GenICam™ interface – see Diagnostics | Error Codes • Follow each command with the carriage return character – 0x0D Teledyne DALSA 03-032-20176-07...
  • Page 90: Disabling The Esc Key For Direct Access To Ascii Commands

    Camera Link Speed Mnemonic Argument(s) Frequency 0. 85 MHz 1. 66 MHz Description Camera Link clock frequency Full Name Camera Link Mode Mnemonic Argument(s) Mode 0. Base 1. Medium 2. Full 3. Deca (4K only) Description Camera Link Mode 03-032-20176-07 Teledyne DALSA...
  • Page 91 Device Scan Type Mnemonic Argument(s) Mode 0. Line Scan 1. Area Scan Description Use this command to switch between Area and Single Line modes. • Notes STG must equal 1 to enter the area mode DST = 1 Teledyne DALSA 03-032-20176-07...
  • Page 92 3. Scan direction controlled user set loading Description Set flat field mode Notes Full Name Set Flatfield Scan Direction Reverse Set Mnemonic Argument(s) User Set Number 1 to 8 Description Set scan direction controlled reverse set Notes 03-032-20176-07 Teledyne DALSA...
  • Page 93 The “get” command displays the current value(s) of the feature specified in the string parameter. Note that the parameter is preceded by a single quote “’”. Using this command will be easier for control software than parsing the output from the “gcp” command. Notes Teledyne DALSA 03-032-20176-07...
  • Page 94 - Gain <0:System 1:Bottom Line 2:Top Line> f<gain> - TDI Stages <1|2> - External Trigger <0:Off 1:On> - Test Pattern <0, 1, 3-6> - Default User Set <0-8> - Load User Set <0-8> - Save User Set <1-8> - Temperature - Input Voltage 03-032-20176-07 Teledyne DALSA...
  • Page 95 Pixel coefficients outside this region are not changed • Last pixel must be greater than or equal to first pixel Full Name Reset Flatfield Coefficients Mnemonic Argument(s) Description Reset all user FPN values to zero and all user PRNU coefficients to one Notes Teledyne DALSA 03-032-20176-07...
  • Page 96 1. Active / Enable Description Set AOI mode Notes Full Name Set Binning Horizontal Mnemonic Argument(s) Binning 1. Single pixel 2. Binning of 2 pixels Description Set horizontal binning • Available in all modes: single line, TDI and Area Notes 03-032-20176-07 Teledyne DALSA...
  • Page 97 Description Set exposure selector- when in multi exposure mode (see SME command) the exposure time for the top and bottom lines can be set independently • Notes When not in multiple exposure mode “All” is only selection Teledyne DALSA 03-032-20176-07...
  • Page 98 1. Multi-Exposure On Description Set multi-exposure mode allowing each line to have independent exposure times and gains. Notes Full Name Mirroring Mnemonic Argument(s) Mode 0. Off 1. Image is flipped on the vertical axis Description Set mirroring mode Notes 03-032-20176-07 Teledyne DALSA...
  • Page 99 Set gain as a single value multiplied by all pixels. • Notes When not in multiexposure mode System gain in only available • Floating point number: 1.0 to 10.0. • Note that gain value must be preceded by an “f” (e.g. ssg 0 f1.5) Teledyne DALSA 03-032-20176-07...
  • Page 100 Set selector Factory set 1-8. User sets Description Select user set to load when camera is reset • Notes The settings include all those listed by the GCP command plus the user FPN coefficients, and user PRNU coefficients 03-032-20176-07 Teledyne DALSA...
  • Page 101 Mnemonic Argument(s) Description Display internal temperature in degrees Celsius • Notes Measured with an accuracy of ± 1.5 ºC. Full Name Voltage Mnemonic Argument(s) Description Display supply voltage • Notes Measured with an accuracy ± 0.1 V. Teledyne DALSA 03-032-20176-07...
  • Page 102: Appendix C: Error And Warning Messages

    1,0000,0000,0000 NO_FPN Correction 10,0000,0000,0000 NO_FPN Correction 100,0000,0000,0000 NO_PRNU Correction 1000,0000,0000,0000 NO_FEED Through Correction 1,0000,0000,0000,0000 NO_LINEARITY Correction 10,0000,0000,0000,0000 SYNC_ERROR 100,0000,0000,0000,0000 OVER_TEMPERATURE 1000,0000,0000,0000,0000 SPI Failure 1,0000,0000,0000,0000,0000 NO_USER_FPN 10,0000,0000,0000,0000,0000 PLL_LOCK_FAILED 100,0000,0000,0000,0000,0000 INVALID_CCI 1000,0000,0000,0000,0000,0000 No LUT 1,0000,0000,0000,0000,0000,0000 Incompatible FPGA code 10,0000,0000,0000,0000,0000,0000 03-032-20176-07 Teledyne DALSA...
  • Page 103 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera Operational Error Codes Code Description 0X8002 Invalid Parameter 0xC01C CPA_TOO_MANY_OUTLIERS 0x401E USER_FPN_CLIPPING 0x401F FLAT_FIELD_CLIPPING Teledyne DALSA 03-032-20176-07...
  • Page 104: Appendix D: Quick Setup And Image Acquisition

    CamExpert provides an easy-to-use GUI that can be used to set up and evaluate the camera. • The camera also comes with Teledyne DALSA’s three letter command (TLC) interface option, which can be accessed using a suitable terminal program such as HyperTerminal™.
  • Page 105 The image may be darker at the edges due to lens vignetting, but this will be improved once the camera is calibrated. • Calibration is performed using a white reference where your object is normally located. Use a white material that has no texture, such as a non glossy plastic. Teledyne DALSA 03-032-20176-07...
  • Page 106 On completion of the ‘cpa’ command, you should see an image from the camera that is flat field corrected with the lens at the target level you set. You are now ready to evaluate the image quality of the P4 camera under your operating conditions. 03-032-20176-07 Teledyne DALSA...
  • Page 107: Appendix E: The Sensor Window

    (dark spot) and overcorrecting where the shadow used to be (white spot). While the dark spot can be potentially cleaned, the white spot is an FFC artifact that can only be corrected by another FFC calibration. Teledyne DALSA 03-032-20176-07...
  • Page 108: Cleaning The Sensor Window

    This procedure requires you to use multiple swabs. • Discard the swab after both sides of the swab have been used once. • Repeat until there is no visible contamination present. 03-032-20176-07 Teledyne DALSA...
  • Page 109: Appendix F: Camera, Frame Grabber Communication

    Teledyne DALSA Camera Link cameras support the GenCP Camera Link standards. To configure Teledyne DALSA GenCP Camera Link Cameras: 1. Install the Teledyne DALSA frame grabber in the host computer; refer to the hardware installation manual. 2. Install Sapera LT and the Teledyne DALSA frame grabber driver.
  • Page 110 Piranha4 2K and 4K Dual Line Monochrome CMOS Camera 7. Start the CamExpert application. In the Device tab, select CameraLink mode. 03-032-20176-07 Teledyne DALSA...
  • Page 111 8. Modify the camera and frame grabber parameter settings as required. At present, when using GenCP cameras, the camera and frame grabber parameters must be adjusted separately. Test the image acquisition by clicking the Grab button. 9. Save the frame grabber configuration to a new *.ccf file. Teledyne DALSA 03-032-20176-07...
  • Page 112: Declarations Of Conformity

    This equipment is intended to be a component of a larger industrial system. EU and UKCA Declaration of Conformity Teledyne DALSA declares that this product complies with applicable standards and regulations. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
  • Page 113: Revision History

    October 4, 2017 - Revised the description of the SVM test pattern command parameters to 15 August 2018 the correct 0, 1, 3 – 6. - Environmental specifications (storage, humidity, MTBF) added. Updated Declarations of Conformaty. 30 September 2021 Teledyne DALSA 03-032-20176-07...
  • Page 114: Contact Information

    Sales Information Visit our web site: www.teledynedalsa.com Email: info@teledynedalsa.com Canadian Sales Teledyne DALSA — Head office Teledyne DALSA — Montreal office 605 McMurray Road 880 Rue McCaffrey Waterloo, Ontario, Canada, N2V 2E9 Saint-Laurent, Quebec, Canada, H4T 2C7 Tel: 519 886 6000...

Table of Contents