Table of Contents

Advertisement

Quick Links

DRAFT
Basler L800k
USER'S MANUAL
Document Number: DA000688
Version: 08
Language: 000 (English)
Release Date: 16 February 2007

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the L800k and is the answer not in the manual?

Questions and answers

Summary of Contents for Basler L800k

  • Page 1 DRAFT Basler L800k USER’S MANUAL Document Number: DA000688 Version: 08 Language: 000 (English) Release Date: 16 February 2007...
  • Page 2 Basler customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Basler for any damages resulting from such improper use or sale. Warranty Note Do not open the housing of the camera.
  • Page 3 Contacting Basler Support Worldwide Europe: Basler AG An der Strusbek 60 - 62 22926 Ahrensburg Germany Tel.: +49-4102-463-500 Fax.: +49-4102-463-599 vc.support.europe@baslerweb.com Americas: Basler, Inc. 855 Springdale Drive, Suite 160 Exton, PA 19341 U.S.A. Tel.: +1-877-934-8472 Fax.: +1-877-934-7608 vc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd...
  • Page 5: Table Of Contents

    2.2.2 Power Cable ..........2-5 2.3 Camera Link Implementation in the L800k ....... 2-6 2.4 Input Signals .
  • Page 6 3.9.4.2 Changes to the Maximum Line Rate ..... . 3-35 3.9.4.3 Enabling/Disabling Two-line Averaging ....3-35 BASLER L800...
  • Page 7 4.2.2 Feature Control and Status Registers ......4-12 4.2.2.1 “Raw” Value Fields vs. “Absolute” Value Fields ....4-12 BASLER L800...
  • Page 8 Shading Value CSR ........4-51 4.3 Using Binary Read/Write Commands on the L800k ..... . . 4-52 4.3.1 The Binary Read/Write Command Protocol .
  • Page 9 6.2.4 RS-644 Serial Communication ........6-8 6.3 Before Calling Basler Technical Support ....... . 6-9 Revision History .
  • Page 10 Draft Contents BASLER L800...
  • Page 11: Introduction

    CCT+. To see the camera version ID number: ⇒ ⇒ 1. Double click the CCT+ icon on your desktop or click Start All Programs Basler Vision ⇒ ⇒ Technologies CCT+ CCT+. The CCT+ window will open and the software will connect to your camera.
  • Page 12: Camera Models

    . Passages that are only valid for a specific version will be so indicated. Version L801 L802 L803 Camera Link 20 MHz 40 MHz 60 MHz Pixel Clock Max Line Rate 4.7 kHz 9.4 kHz 14.1 kHz Table 1-1: Versions of the L800 Camera BASLER L800...
  • Page 13: Performance Specifications

    (For proper operation, exposure time should not be less than 10% of the line period.) Video Output Type Camera Link LVDS - Base configuration RS-644 LVDS when used with an optional Basler Interface Converter (k-BIC) Video Data Output Single tap (one pixel per clock cycle),...
  • Page 14: Spectral Response

    Using a filter with a higher cut-off point than 700 ... 720 nm will increase the camera’s response, but keep in mind that the response increase will occur because the camera is reacting to IR light, not visible light. BASLER L800...
  • Page 15: Environmental Requirements

    50° C. Provide additional cooling such as fans or heat sinks if necessary. Warning! Without sufficient cooling, the camera can get hot enough during opera- tion to cause burning when touched. BASLER L800...
  • Page 16: Precautions

    To clean the surface of the camera housing, use a soft, dry cloth. To remove severe stains, use a soft cloth dampened with a small quantity of neutral detergent, then wipe dry. Do not use volatile solvents such as benzine and thinners; they can damage the surface finish. BASLER L800...
  • Page 17: Camera Interface

    • a 6-pin, micro-miniature, push-pull receptacle used to provide power to the camera. A status LED located on the back of the camera is used to indicate power present and signal integrity. Figure 2-1 shows the connectors and the LED. Figure 2-1: Connectors and LED BASLER L800...
  • Page 18: Pin Assignments And Pin Numbering

    Serial Communication Data Receive LVDS SerTC- 1, 13, Input Ground DC Ground DC Gnd 14, 26 Pins 1, 13, 14 and 26 are all tied together inside of the camera. Table 2-1: Pin Assignments for the 26-pin MDR Connector BASLER L800...
  • Page 19 The camera housing is not grounded and is electrically isolated from the circuit boards inside of the camera. BASLER L800...
  • Page 20: Connector Types

    7R-6PB) or the equivalent. The recommended mating connector is the Hirose micro-miniature locking plug (part # HR10A-7P-6S). A plug of this type will be shipped with each camera. The plug should be used to terminate the cable on the power supply for the camera. BASLER L800...
  • Page 21: Cable Information

    2.2.1 Camera Link Cable A Camera Link compatible MDR cable assembly is available from Basler as a stock item (part # 1000013041 for a 3 meter cable and part # 1000013042 for a 5 meter cable). As an alternate, you can use the cable assembly manufactured by 3M (part # 14X26-SZLB-XXX-0LC).
  • Page 22: Camera Link Implementation In The L800K

    Draft Camera Interface 2.3 Camera Link Implementation in the L800k The schematic in Figure shows the interface for L800 cameras and a typical implementation for the frame grabber interface. The L800 uses a National Semiconductor DS90CR285 as a Camera Link transmitter. For a Camera Link receiver, we recommend that you use the National Semiconductor DS90CR286, the National Semiconductor DS90CR286A or an equivalent.
  • Page 23 Draft Camera Interface Figure 2-3: Camera / Frame Grabber Interface BASLER L800...
  • Page 24: Input Signals

    The period of the ExSync signal determines the camera’s line rate: -------------------------------------------------------- - Line Rate ExSync Signal Period Note that ExSync is edge sensitive and therefore must toggle. Minimum high time for the ExSync signal is 0.1 µs. BASLER L800...
  • Page 25: Output Signals

    Pixel data is only valid when this bit is high. 2.5.3 Data Valid Bit The data valid bit indicates that valid pixel data is being transmitted. Pixel data is only valid when the line valid bit and the data valid bit are both high. BASLER L800...
  • Page 26: Video Data

    TxIN24 RxOUT24 Line Valid Line Valid Not Used TxIN23 RxOUT23 Not Used Not Used Not Used TxIN25 RxOUT25 Not Used Not Used CL PClk TxCLKIn RxCLKOut Pixel Clock Pixel Clock Table 2-3: Bit Assignments: Single Output Mode BASLER L800 2-10...
  • Page 27 Not Used Not Used TxIN25 RxOUT25 Not Used Not Used Not Used Not Used CL PClk TxCLKIn RxCLKOut Pixel Clock Pixel Clock Pixel Clock Pixel Clock Table 2-4: Bit Assignments: Dual Output Mode, Dual Separated Output Mode BASLER L800 2-11...
  • Page 28: L800K Video Data Output Modes

    Draft Camera Interface 2.5.5 L800k Video Data Output Modes cameras can operate in single 10 bit, single 8 bit, dual 10 bit, dual 8 bit, dual separated 10 L800 bit or dual separated 8 bit output mode. 2.5.5.1 Operation in Single Output Mode (10 or 8 Bit Depth) In single 10 bit mode, the pixel clock operates at 20 / 40 / 60 MHz for the L801k / L802k / L803k respectively.
  • Page 29 When the AOI and Stamp features are used, N could be more or less than 8160 (see Sections and 3.8). Timing diagrams are not to scale. Figure 2-4: L800 Single 10 or 8 Bit Output Mode with Edge or Level-controlled Exposure BASLER L800 2-13...
  • Page 30 When the AOI and Stamp features are used, N could be more or less than 8160 (see Sections and 3.8). Timing diagrams are not to scale. Figure 2-5: L800 Single 10 or 8 Bit Output Mode with Programmable Exposure BASLER L800 2-14...
  • Page 31: Operation In Dual Output Mode (10 Or 8 Bit Depth)

    8 bit mode, only 8 bits of data per pixel will be transmitted. When the AOI and Counter Stamp features are used, the number of cycles could be more or less than 4080. See Sections for more information. BASLER L800 2-15...
  • Page 32 When the AOI and Stamp features are used, N could be more or less than 8160 (see Sections and 3.8). Timing diagrams are not to scale. Figure 2-6: L800 Dual 10 or 8 Bit Output Mode with Edge or Level-controlled Exposure BASLER L800 2-16...
  • Page 33 When the AOI and Stamp features are used, N could be more or less than 8160 (see Sections and 3.8). Timing diagrams are not to scale. Figure 2-7: L800 Dual 10 or 8 Bit Output Mode with Programmable Exposure BASLER L800 2-17...
  • Page 34: Operation In Dual Separated Output Mode (10 Or 8 Bit Depth)

    ____________________ The data sequence assumes that the camera is operating in 10 bit mode. If the camera is operating in 8 bit mode, only 8 bits of data per pixel will be transmitted. BASLER L800 2-18...
  • Page 35 Data (10 or 8 bits) Pixel B Data (10 or 8 bits) N = 8160 Timing diagrams are not to scale. Figure 2-8: L800 Dual Separated 10 or 8 Bit Output Mode with Edge or Level-controlled Exposure BASLER L800 2-19...
  • Page 36 Pixel A Data (10 or 8 bits) Pixel B Data (10 or 8 bits) N = 8160 Timing diagrams are not to scale. Figure 2-9: L800 Dual Separated 10 or 8 Bit Output Mode with Programmable Exposure BASLER L800 2-20...
  • Page 37: Integrate Enabled Signal

    However, a Camera Link cable which allows easy access to this signal is available from Basler as a stock item (part # 100013041 for a 3 meter cable and part # 100013042 for a 5 meter cable).
  • Page 38: Serial Communication

    If you are using the Basler Camera Configuration Tool Plus (CCT+) to configure the camera, the tool will detect the characteristics of the serial port on the frame grabber and will determine the appropriate settings so that the tool can open and use the port.
  • Page 39: Dc Power

    RS-232 serial communication via the host PC. The output from l800 cameras can be converted to the older style of output by using a Basler Interface Converter for k-series cameras (k-BIC). The k-BIC is a small device that attaches to the l800 with a Camera Link compatible cable.
  • Page 40 Draft Camera Interface BASLER L800 2-24...
  • Page 41: Operation And Features

    3.1 Functional Description line scan cameras employ a CCD-sensor chip which provides features such as BASLER L800 electronic exposure time control and area of interest scanning. Exposure time can be controlled via an external trigger (ExSync) signal. The ExSync signal facilitates periodic or non-periodic pixel readout.
  • Page 42: Line Rate

    For details of the video data sequence see section 2.5.5.3. 3.2 Line Rate The camera’s maximum achievable line rate depends on the following factors: • Video data output mode (Section 3.3) • Exposure time (Section 3.4) • Use of two-line averaging (Section 3.9.4) BASLER L800...
  • Page 43: Video Data Output Modes

    CSRs and Section 4.3.1 for an explanation of using read/ write commands. 3.3.2 Changes to the Maximum Line Rate The video data output mode has an effect on the camera’s maximum achievable line rate. See Sections 3.4.1.3 and 3.4.2.3. BASLER L800...
  • Page 44: Exposure Time Control Modes

    ExSync and the next rising edge. The pixels are exposed and charge is accu- mulated only when ExSync is low. The line is read out and transferred on the rising edge of the ExSync signal (see Figure 3-3). Figure 3-3: ExSync, Level-controlled Mode BASLER L800...
  • Page 45: Selecting An Exsync Exposure Mode & Setting The Exposure Time

    Absolute Exposure Time field or to the Raw Exposure Time field of the Exposure Time CSR (see page 4-14). Section 4.2.2 explains CSRs and the difference between using the “absolute” field and the “raw” field in a CSR. Section 4.3.1 explains using read/write commands. BASLER L800...
  • Page 46: Guidelines When Using An Exsync Signal

    Table 3-2 shows the transfer gate time and the setup time for each camera model and exposure mode combination. For a given combination of camera model and exposure mode: BASLER L800...
  • Page 47 If you have the Dark Noise Cancellation feature enabled, the start delay and the end delay will be different from what is shown here. See Section 3.9.2 for more in- formation. The actual start and end of exposure can be monitored by using the Integrate En- abled signal (see Section 3.5). BASLER L800...
  • Page 48: Free Run

    In this mode, the line period is determined by the setting for the line period parameter. The exposure time parameter setting determines how long the control signal will be low and thus determines the exposure time. Figure 3-6: Free-run, Programmable Mode BASLER L800...
  • Page 49: Selecting A Free-Run Exposure Mode, Setting The Line Period And Setting The Exposure Time

    Absolute Exposure Time field or to the Raw Exposure Time field of the Exposure Time CSR (see page 4-14). Section 4.2.2 explains CSRs and the difference between using the “absolute” field and the “raw” field in a CSR. Section 4.3.1 explains using read/write commands. BASLER L800...
  • Page 50: Guidelines When Using Free-Run

    The signal will go high when each exposure begins and go low when the exposure ends. The characteristics of the signal are described in more detail in Section 2.5.6. BASLER L800 3-10...
  • Page 51: Gain And Offset

    ( 6 / 20 ) Multiplier Multiplier = 2.0 So each digitized pixel value in the captured line would be multiplied by 2.0 before it is transmitted by the camera. Figure 3-7: Response at Various Gain Settings BASLER L800 3-11...
  • Page 52: Setting The Gain

    You set the gain by writing a value to the Absolute Gain field or to the Raw Gain field of the Gain CSR (see page 4-18). Section 4.2.2 explains CSRs and the difference between using the “absolute” field and the “raw” field in a CSR. Section 4.3.1 explains using read/write commands. BASLER L800 3-12...
  • Page 53: Gain Balance

    +0.25. In this case, the camera would be operating with + 6.25 dB of gain on the odd pixels in the right half of the sensor and +5.75 dB on the even pixels in the right half. BASLER L800 3-13...
  • Page 54: Setting The Gain Balance

    Raw R O/E Gain Balance field of the Right Odd/Even Gain Balance CSR (see page 4-24). Section 4.2.2 explains CSRs and the difference between using the “absolute” field and the “raw” field in a CSR. Section 4.3.1 explains using read/write commands. BASLER L800 3-14...
  • Page 55: Offset

    As an example, assume that you have set the global offset on the camera to +10.0 DN and the offset balance to +1.0 DN. In this case, the camera would be operating with a +11.0 DN offset for the left half of the sensor and a +9.0 DN offset for the right half. BASLER L800 3-15...
  • Page 56: Setting The Offset Balance

    You set the left odd/even offset balance by writing a value to the Absolute L O/E Offset Balance field or to the Raw L O/E Offset Balance field of the Left Odd/Even Offset Balance CSR (see page 4-30). BASLER L800 3-16...
  • Page 57: Clipping

    Figure 3-9. If the camera is experiencing clipping, a clipping error flag will be set. You can determine whether clipping is present by checking the camera status as described in Section 3.12. Figure 3-9: Low Clipping BASLER L800 3-17...
  • Page 58: Area Of Interest (Aoi)

    7 is transmitted (see Figure 3-11). After the 8148 pixels in the AOI have been transmitted, the line valid and data valid bits will become low indicating that valid line data is no longer being transmitted. BASLER L800 3-18...
  • Page 59: Setting The Aoi

    Draft Operation and Features Figure 3-11: AOI Output on an L800k 3.7.1 Setting the AOI You can set the AOI with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
  • Page 60: Stamp

    AOI was set for a starting pixel of 7 and a length in pixels of 10. The line valid and data valid signals will be high while the pixels in the AOI and the stamp pixels are transmitted. BASLER L800 3-20...
  • Page 61 Line Counter (LSByte) Total Low Pixels (LSByte) Line Counter (MSByte) Total Low Pixels (MSByte) Line Sum (LSByte) Contrast Value (LSByte) Line Sum (MidByte) Contrast Value (MidByte) Line Sum (MSByte) Contrast Value (MSByte) Reserved Reserved Table 3-5:Stamp Pixel Functions BASLER L800 3-21...
  • Page 62 Total Low Pixels would be 22. The total low pixels does not include any of the 16 added “stamp pixels.” If the AOI feature is being used, the total low pixels is based only on the pixels within the AOI. BASLER L800 3-22...
  • Page 63: Enabling And Setting The Stamp

    You set the low pixel limit by writing a value to the Low Pixel Limit field in the Stamp Low Pixel Limit CSR (see page 4-37). See Section 4.2.2 explains CSRs and Section 4.3.1 explains using read/write commands. BASLER L800 3-23...
  • Page 64: Image Enhancements

    You can also start the generation of a set of DSNU shading values by using a binary write command (see Section 4.3) to write a value to the Generate field of the Shading Value Generate CSR (see page 4-39). BASLER L800 3-24...
  • Page 65 DSNU. You can enable DSNU shading correction with the Camera Configuration Tool Plus (CCT+) or by using binary read/write commands from within your own application to set the camera’s control and status registers (CSRs). BASLER L800 3-25...
  • Page 66: Prnu Shading Correction

    If the values for the darkest pixels are less than 1/2 of the value for the lightest pixels, it usually indicates extreme variations in lighting or poor quality optics. Make corrections as required. 4. Begin capturing lines either by generating an ExTrig signal to trigger line capture or by setting the camera for free-run exposure. BASLER L800 3-26...
  • Page 67 The time needed to complete the generation process will be equal to 16 times the line period. BASLER L800 3-27...
  • Page 68: Saving Dsnu And Prnu Shading Correction Values

    Files saved in the non-volatile memory are not lost at reset or power off. You can save one complete set of DSNU and PRNU shading values to a file in the non-volatile memory. BASLER L800 3-28...
  • Page 69: Activating" Saved Dsnu And Prnu Shading Correction Values

    You can activate a saved shading value file by writing values to the bulk data CSR for shading values. Section 4.2.3 explains bulk data CSRs and using the bulk data activate process. Section 4.3.1 explains using read/write commands. BASLER L800 3-29...
  • Page 70: Dark Noise Cancellation

    106.3 (+0.5/-0.0) µs Exposure Mode L803 Start Delay L803 End Delay Level-controlled 70.9 (+0.5/-0.0) µs 72.6 (+0.5/-0.0) µs Programmable 70.9 (+0.5/-0.0) µs 70.9 (+0.5/-0.0) µs Table 3-6: Exposure Start and End Delays with the Dark Noise Cancellation Feature Enabled BASLER L800 3-30...
  • Page 71 You enable dark noise cancellation by writing a value to the Mode field of the Dark Noise Cancellation CSR (see page 4-40). See Section 4.2.2 for an explanation of CSRs and Section 4.3.1 for an explanation of using read/ write commands. BASLER L800 3-31...
  • Page 72: Defective Pixel Correction

    You enable defective pixel correction by writing a value to the Mode field of the Defective Pixel Correction Mode CSR (see page 4-40). See Section 4.2.2 for an explanation of CSRs and Section 4.3.1 for an explanation of using read/ write commands. BASLER L800 3-32...
  • Page 73: Two-Line Averaging

    • After all of the pixels have been transmitted, the line valid will become low indicating that valid pixel data is no longer being transmitted. • After the third exposure, the line valid bit will stay low. • After the fourth exposure, the line valid bit will become high, and so on. BASLER L800 3-33...
  • Page 74 Draft Operation and Features BASLER L800 3-34...
  • Page 75: Changes To The Maximum Line Rate

    Enhancement parameters group to enable or disable two-line averaging. By Setting CSRs You enable or disable two-line averaging by writing a value to the Mode field of the Two-line Averaging CSR (see page 4-41). Section 4.2.2 explains CSRs. Section 4.3.1 explains using read/write commands. BASLER L800 3-35...
  • Page 76: Test Images

    You enable a test image by writing a value to the Mode field of the Test Image Mode CSR (see page 4-42). See Section 4.2.2 for an explanation of CSRs and Section 4.3.1 for an explanation of using read/ write commands. BASLER L800 3-36...
  • Page 77: Test Image One (Fixed Gradient)

    The description above of the pixel values in test image one is only valid when the camera is set for an 8 bit output mode and the gain, gain balance, offset and offset balance parameters are all set to 0 and shading correction is disabled. BASLER L800 3-37...
  • Page 78: Test Image Two (Moving Gradient)

    The description above of the pixel values in test image two is only valid when the camera is set for an 8 bit output mode and the gain, gain balance, offset and offset balance parameters are all set to 0 and shading correction is disabled. BASLER L800 3-38...
  • Page 79: Test Image Three (Uniform Black)

    Test image four is also useful if you want to see a visual indication of the effects of using PRNU shading correction. If you enable test image four and you also enable PRNU shading correction, the effects of the PRNU shading correction feature will be visible in the captured test images. BASLER L800 3-39...
  • Page 80: Error Condition Detection

    Camera Status Inquiry Register will be set to 1 if the camera detects an overvoltage situation. They will remain set to 1 until the condition is corrected and a camera re- set or a power off/on has been performed. BASLER L800 3-40...
  • Page 81: Identical Dark Images Indicate A Parameter Error

    3.13 Status LED The L800 has a status LED on the back of the camera. The LED is used to indicate that power is present and to indicate an error condition if one is detected. See Section for details. BASLER L800 3-41...
  • Page 82: Resetting The Camera

    Whenever the camera is powered on or when a camera reset is performed, your PC may receive one random character on the serial interface. We recommend clearing the serial input buffers in your PC after a camera power on or reset. BASLER L800 3-42...
  • Page 83: Configuration Sets

    CSR for configuration sets. The bulk data “save” process is used to save the work set to a file. Section 4.2.3 explains the bulk data CSRs and explains how to use the CSRs to save the work set to a file. Section 4.3.1 explains using read/write commands. BASLER L800 3-43...
  • Page 84: Activating" A Saved User Set File

    You can activate a saved user set file by writing values to the bulk data CSR for configuration sets. The bulk data “activate” process is used to activate a stored file. Section 4.2.3 explains bulk data CSRs and using the bulk data activate process. Section 4.3.1 explains using read/write commands. BASLER L800 3-44...
  • Page 85: Activating" The Factory Set File

    At each subsequent power on or reset, the configuration set file that was last activated is copied into the work set. If there is no activated file, the factory set file will be copied into the work set. BASLER L800 3-45...
  • Page 86: Downloading A Saved User Set File To Your Pc Or Uploading A Saved User Set File From Your Pc

    PC. The bulk data “upload” process is used to upload a user set file from your PC to a camera. Section 4.2.3 explains the bulk data CSRs and explains how to use the CSRs to download or upload a saved user set file. Section 4.3.1 explains using read/write commands. BASLER L800 3-46...
  • Page 87: Configuring The Camera

    Configuration Tool Plus (CCT+). See Section for instructions on using the configuration tool. You can also change the parameters directly from your application by using binary read/write commands to set values in the camera’s registers (see Section 4.2). BASLER L800...
  • Page 88: Configuring The Camera With The Camera Configuration Tool Plus (Cct+)

    1. Make sure that the properties for the RS-644 serial port on your frame grabber are properly configured and that the camera has power. 2. To start the CCT+, click Start, click All Programs, click Basler Vision Technologies and click CCT+ (default installation).
  • Page 89: Configuration Tool Basics

    CCT+ is displaying the parameter settings. To manually refresh the display, you can use the Refresh button in the top right corner of the tool. BASLER L800...
  • Page 90: Configuration Tool Help

    It also explains how to copy the work set to a saved user set file and how to copy a saved user set file or the factory set file to the work set. To access on-line help, press the F1 key whenever the configuration tool is active. BASLER L800...
  • Page 91: Configuring The Camera By Setting Registers

    Section describes the binary read/write command protocol in detail and also provides information on using the serial link. Sample code that illustrates how to use read/write commands is available from Basler (see Section 4.4). BASLER L800...
  • Page 92: Inquiry Registers

    Field Name: Model Info Offset: 0x0001 Size: 20 Bytes Type: Read only Description: String containing the camera’s model number. The string is zero terminated if less than 20 bytes are needed and unterminated if all 20 bytes are needed. BASLER L800...
  • Page 93: Product Id Inquiry

    Description: The value in this field indicates the camera’s version information. The bytes in the field are interpreted as follows: Byte 1 = Low byte of the camera version (BCD coded) Byte 2 = High byte of the camera version (BCD coded) Byte 3 = Register layout ID (BCD coded) BASLER L800...
  • Page 94: Microcontroller Firmware Version Inquiry

    The bytes in the field are interpreted as follows: Byte 1 = Low byte of the configuration version (BCD coded) Byte 2 = High byte of the configuration version (BCD coded) Byte 3 = Register layout ID (BCD coded) BASLER L800...
  • Page 95: Camera Status Inquiry

    1/2 of the values for the lightest pixels. This problem is often caused by extremely non-uniform light- ing or by poor quality optics. This bit will clear when you perform a successful shading value generation procedure. 20 ... 31 Reserved BASLER L800...
  • Page 96: Fpga Status Inquiry

    Dark pixel errors are very uncommon but they could be caused by us- ing an extremely bright illumination source or if the camera is not equipped with the recommended IR cut filter (see Section 1.4). Dark pixel errors could also be caused by a defective sensor. Reserved BASLER L800 4-10...
  • Page 97: Binary Command Protocol Status Inquiry

    A binary command with no BFE was received (see Section 4.3.1). A binary command with an incorrect BCC was received (see Section 4.3.1). A binary command with an address error was received (see Section 4.3.1). Reserved An unknown error has occurred. BASLER L800 4-11...
  • Page 98: Feature Control And Status Registers

    = 20 x log ( raw setting / 256 ) dB = 20 x log ( 1200 / 256 ) dB = 13.42 So with the raw gain field set to 1200, the camera would be set for 13.42 dB of gain. BASLER L800 4-12...
  • Page 99 “valid.” If you read back a value in an absolute field, you may find that it is slightly different from the value that you wrote to the field. BASLER L800 4-13...
  • Page 100: Feature Control And Status Register Details

    The actual available range may be limited by the way any related parameters are set. The value in this field is a standard IEEE-754 single precision (32 bit) floating point number. See Section for more information about exposure time. BASLER L800 4-14...
  • Page 101 The 4 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = Mid byte of the max value Byte 3 = High byte of the max value Byte 4 = Always 0x00 (not used) BASLER L800 4-15...
  • Page 102: Line Period Csr

    The minimum and maximum raw line period settings vary depending on the camera ver- sion and other settings (see Section 3.2). To determine the current minimum and maximum settings, check the entries in the Raw Min and Raw Max fields. See Section for more information about the line period. BASLER L800 4-16...
  • Page 103: Video Data Output Mode Csr

    0x02 = Single 10 bit output 0x03 = Dual 10 bit output 0x21 = Dual separated 8 bit output 0x23 = Dual separated 10 bit output See Section 2.5.5 for a description of the video data output modes. BASLER L800 4-17...
  • Page 104: Gain Csr

    = 13.42 The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.1 for more information about gain. BASLER L800 4-18...
  • Page 105 Description: Maximum allowed integer value for the raw gain setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-19...
  • Page 106: Left/Right Gain Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.2 for more information about gain balance. BASLER L800 4-20...
  • Page 107 Description: Maximum allowed integer value for the raw left/right gain balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-21...
  • Page 108: Left Odd/Even Gain Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.2 for more information about gain balance. BASLER L800 4-22...
  • Page 109 Description: Maximum allowed integer value for the raw left odd/even gain balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-23...
  • Page 110: Right Odd/Even Gain Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.2 for more information about gain balance. BASLER L800 4-24...
  • Page 111 Description: Maximum allowed integer value for the raw right odd/even gain balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-25...
  • Page 112: Offset Csr

    DN = +52.5 The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.3 for more information about offset. BASLER L800 4-26...
  • Page 113 Description: Maximum allowed integer value for the raw offset setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-27...
  • Page 114: Left/Right Offset Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.4 for more information about offset balance. BASLER L800 4-28...
  • Page 115 Description: Maximum allowed integer value for the raw left/right offset balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-29...
  • Page 116: Left Odd/Even Offset Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.4 for more information about offset balance. BASLER L800 4-30...
  • Page 117 Description: Maximum allowed integer value for the raw left odd/even offset balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-31...
  • Page 118: Right Odd/Even Offset Balance Csr

    The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the raw value Byte 2 = High byte of the raw value See Section 3.6.4 for more information about offset balance. BASLER L800 4-32...
  • Page 119 Description: Maximum allowed integer value for the raw right odd/even offset balance setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-33...
  • Page 120: Area Of Interest Starting Pixel Csr

    Description: An integer value indicating the increment for the starting pixel setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-34...
  • Page 121: Area Of Interest Length Csr

    Description: An integer value indicating the increment for the length setting. The 4 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-35...
  • Page 122: Stamp Mode Csr

    Offset: 0x0001 Size: 1 Byte Type: Read / Write Description: Writing an integer value to this field sets the stamp mode: 0x00 = Stamp off 0x01 = Stamp enabled See Section for more information about the stamp feature. BASLER L800 4-36...
  • Page 123: Stamp Low Pixel Limit Csr

    Description: An integer value indicating the increment for the low pixel limit setting. The 4 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-37...
  • Page 124: Stamp High Pixel Threshold Csr

    Description: An integer value indicating the increment for the high pixel threshold setting. The 2 bytes in this field are interpreted as follows: Byte 1 = Low byte of the max value Byte 2 = High byte of the max value BASLER L800 4-38...
  • Page 125: Shading Mode Csr

    0x01 = Generate DSNU correction values. 0x02 = Generate PRNU correction values and do not use DSNU correction during generation. 0x03 = Generate PRNU correction values and use DSNU correction during generation. See Section 3.9.1 for more information about shading correction. BASLER L800 4-39...
  • Page 126: Dark Noise Cancellation Mode Csr

    Description: Writing an integer value to this field sets the pixel correction mode: 0x00 = Defective pixel correction off 0x01 = Defective pixel correction enabled See Section 3.9.3 for more information about the defective pixel correction feature. BASLER L800 4-40...
  • Page 127: Two-Line Averaging Csr

    Size: 1 Byte Type: Read / Write Description: Writing an integer value to this field sets the two-line averaging mode: 0x00 = Two-line averaging disabled 0x01 = Two-line averaging enabled See Section 3.9.4 for more information about two-line averaging. BASLER L800 4-41...
  • Page 128: Test Image Mode Csr

    Field Name: Reset Offset: 0x0001 Size: 1 Byte Type: Write only Description: Writing an integer value of 1 (0x01) to this field will initiate a camera reset. The reset be- havior is similar to a power up reset. BASLER L800 4-42...
  • Page 129: Serial Communication Csr

    The RS-644 serial port on some Camera Link frame grabbers will only support a bitrate of 9600. If you are using a Camera Link frame grabber, check the grabber’s documentation before attempting to change the bitrate. At reset or power off/on, the camera returns to the 9600 bps setting. BASLER L800 4-43...
  • Page 130: Bulk Data And The Bulk Data Control And Status Registers

    The best way to understand the use of the bulk data CSRs is to read about the different tasks that you can perform with them. Section 4.2.3.1 describes the tasks that are normally performed by manipulating the bulk data CSRs and provides a procedure for performing each task. BASLER L800 4-44...
  • Page 131: Using Bulk Data Csrs To Work With Bulk Data

    This procedure would create a file called UserSet01 in the non-volatile memory and would copy the current work set settings from the camera’s volatile memory into the new file. Sample code that illustrates how to create a bulk data file is available from Basler (see Section 4.4).
  • Page 132 It would also create a link to the file so that the values in the file would be loaded into volatile memory after a reset or a power up. Sample code that illustrates how to activate a saved bulk data file is available from Basler (see Section 4.4).
  • Page 133 If you wanted to enumerate the existing saved shading value file, you would use a similar procedure but you would write to and read from the shading value bulk data CSR instead. Sample code that illustrates how to enumerate bulk data files is available from Basler (see Section 4.4).
  • Page 134 If you wanted to download an existing shading value bulk data file to the host PC, you would use a similar procedure but you would use the shading value bulk data CSR instead. Sample code that illustrates how to download a bulk data file is available from Basler (see Section 4.4).
  • Page 135 If you wanted to upload a shading value bulk data file from a PC to a camera, you would use a similar procedure but you would use the shading value bulk data CSR instead. Sample code that illustrates how to upload a bulk data file is available from Basler (see Section 4.4).
  • Page 136: Bulk Data Control And Status Register Details

    Description: Byte-sized register that is used to sequentially write to or read from a bulk data file. You can save up to four configuration set files in the non-volatile memory. There is a restriction on naming the files that hold the saved configuration sets. They must be named UserSet01, UserSet02, UserSet03 or UserSet04. BASLER L800 4-50...
  • Page 137: Shading Value Csr

    Description: Byte-sized register that is used to sequentially write to or read from a bulk data file. You can save up to one shading value file in the non-volatile memory. There is a restriction on naming the file that holds the saved shading values. The file must be named ShadingValues. BASLER L800 4-51...
  • Page 138: Using Binary Read/Write Commands On The L800K

    PC after a camera power on or reset. If you are using your camera with an optional Basler Interface Converter (k-BIC), you can use binary commands to configure the camera via the RS-232 serial connection between your PC and the k-BIC.
  • Page 139: The Binary Read/Write Command Protocol

    The bits in the FTF field are assigned as follows: OpCode BCC- AddrLen Code The MSB of the FTF field is on the left (highest bit of the opcode) and the LSB of the field is on the right (lowest bit of the address length). BASLER L800 4-53...
  • Page 140 CSR address you are writing to is a 16 bit address. In this case, the OpCode bits would be 0b00000, the BCC-Code bit would be 0b1 and the AddrLen bits would be 0b00. This would result in a binary value of 0b00000100, which translates to a hex value of 0x04 for the FTF field. BASLER L800 4-54...
  • Page 141 Positive frame acknowledge/negative frame acknowledge Size = 1 byte The value for a positive frame acknowledgement (ACK) is 0x06 and for a negative frame acknowledgement (NAK) is 0x15. All values are formatted as little endian (Intel format). BASLER L800 4-55...
  • Page 142: Error Checking And Responses

    If the data in a write command is not within the allowed range or specified group of allowed val- ues, the camera will not execute the write command. BASLER L800 4-56...
  • Page 143: Basic Read/Write Command Explanations

    Status field of the Test Image Mode CSR (see page 4-42). The intent of this section is to give you a basic understanding of the elements included in a read command. Sample code that illustrates how to send a read command is available from Basler (see Section 4.4). The hex digits included in the read command are: 0x01, 0x0C, 0x01, 0x00, 0x18, 0x01, 0x03 is the BFS field.
  • Page 144: Write Command

    0x01 to the Mode field of the Test Image Mode CSR (see page 4-42). The intent of this section is to give you a basic understanding of the elements included in a write command. Sample code that illustrates how to send a write command is available from Basler (see Section 4.4).
  • Page 145: Calculating The Block Check Character

    0 0 0 1 = the binary representation of 0x01 (Data) 0 0 0 1 1 1 0 1 = Final XOR sum 0 0 0 1 1 1 0 1 = 0x1D = the block check character BASLER L800 4-59...
  • Page 146: Binary Command Sample Code

    Configuring the Camera 4.4 Binary Command Sample Code Sample code that illustrates how to use binary commands with L800 cameras is available at the Basler web site. Please look for the documentation downloads on the L800 page at: http://www.basler-vc.com BASLER L800 4-60...
  • Page 147: Mechanical Considerations

    The camera is shipped with a cap on the lens mount. To avoid collecting dust on the sensor, make sure that at all times either the cap is in place or a lens is mounted on the camera. BASLER L800...
  • Page 148: Camera Dimensions And Mounting Facilities

    Figure 5-1. cameras are equipped with four M4 mounting holes on the front and two M4 mounting holes L800 on each side as indicated in the drawings. Figure 5-1: L800 Mechanical Dimensions (in mm) BASLER L800...
  • Page 149: Sensor Positioning Accuracy

    Draft Mechanical Considerations 5.2 Sensor Positioning Accuracy The sensor positioning accuracy is as shown in Figure 5-2. Figure 5-2: Sensor Positioning Accuracy (in mm or degrees) BASLER L800...
  • Page 150: Sensor Line Location

    Draft Mechanical Considerations 5.3 Sensor Line Location The location of the sensor line on the sensor chip is as shown in Figure 5-3. Figure 5-3: Sensor Line Location BASLER L800...
  • Page 151: F-Mount Adapter Dimensions

    Draft Mechanical Considerations 5.4 F-Mount Adapter Dimensions Figure 5-4: F-Mount Adapter Dimensions (in mm) BASLER L800...
  • Page 152 Draft Mechanical Considerations BASLER L800...
  • Page 153: Troubleshooting

    (highest) powered off and back on. Continuous fast General error. orange flashing Please contact Basler support. Continuous slow One of the following errors is present: orange flashing • No FPGA firmware is available. • Firmware available but error when booting the FPGA.
  • Page 154 CCD sensor so that the sensor will be protected. In this situation, you will still be able to communicate with the camera and the camera will still be able to transmit test images, however, no live images can be generated. BASLER L800...
  • Page 155: Troubleshooting Charts

    Section and then reapply power to the camera. No. It is Call Basler Technical Support for assistance. (The contact flashing orange numbers appear on the title page of this manual.) continuously. Use a voltmeter to check the power source for the camera.
  • Page 156 The exposure time must be Correct chart. less than the ExSync period. setting. Is the exposure OK? Replace the camera. Go to the Switch on test image one. interfacing troubleshooting Can the test image be seen? chart. Replace the camera. BASLER L800...
  • Page 157: Poor Quality Image

    Use the CCT+ to activate the Factory Set. Once the Factory set is activated, capture several images. Is the problem still present? A parameter error was present. Contact Basler Technical Support. The contact numbers appear on the title A parameter error occurs when a page of this manual.
  • Page 158 Exit this chart. Exit this chart. Contact Basler Technical Support. The contact numbers appear on the title page of this manual. Before you call for support, be sure to make note of the camera settings and the frame grabber settings you are using.
  • Page 159: Interfacing

    Exit this DCF files for many types of frame grabbers are available at the Basler web site: chart. www.basler-vc.com. These files have all been tested with the L800 and we suggest that you use them if one is available for your type of frame grabber.
  • Page 160: Serial Communication

    Make sure that no other program has access to the port. You may need to update the CCT+. To download the latest version of the tool, go to the Basler web site at www.baslerweb-vc.com. Does a “This type of camera is not Once you have downloaded the latest version of the supported”...
  • Page 161: Before Calling Basler Technical Support

    Troubleshooting 6.3 Before Calling Basler Technical Support To help you as quickly and efficiently as possible when you have a problem with a Basler camera, it is important that you collect several pieces of information before you contact technical support.
  • Page 162 12 Parameter set It is very important for Basler Technical Support to get a copy of the exact camera parame- ters that you were using when the problem occurred. To make a copy of the parameters, open the parameter set in the CCT+ and save or dump the settings to a file.
  • Page 163: Revision History

    Revision History Doc. ID Number Date Changes DA00068801 17 August 2004 Initial release of the L800k User’s Manual. DA00068802 19 August 2004 Corrected the tolerances in the drawings in Section 5. DA00068803 17 Sept 2004 Updated max line rate, power consumption and housing length specifi- cations.
  • Page 164 CSR on page 4-16 DA00068808 16 February 2007 Updated Basler addresses in the U.S.A. and Singapore. Made minor corrections throughout the manual. Added environmental requirements for storage in section 1.5.1. Corrected base address of two-line averaging CSR in section 4.2.2.2.
  • Page 165: Feedback

    Draft Feedback Feedback Your feedback will help us improve our documentation. Please click the link below to access an online feedback form. Your input is greatly appreciated. http://www.baslerweb.com/umfrage/survey.html BASLER L800...
  • Page 166 Draft Feedback BASLER L800...
  • Page 167: Index

    ......2-9–2-20 defective pixel correction ....3-32 BASLER L800...
  • Page 168 ......2-12 specifications ......1-3 BASLER L800...

Table of Contents