Table of Contents

Advertisement

USER'S MANUAL
Document Number: DA00063006
Release Date: 7 December 2010

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Basler A102f

  • Page 1 USER’S MANUAL Document Number: DA00063006 Release Date: 7 December 2010...
  • Page 2 These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Basler cus- tomers 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.
  • Page 3 Contacting Basler Support Worldwide Europe: Basler AG Ander Strusbek 60 - 62 22926 Ahrensburg Germany Tel.: +49-4102-463-515 Fax.: +49-4102-463-599 bc.support.europe@baslerweb.com Americas: Basler, Inc. 855 Springdale Drive, Suite 203 Exton, PA 19341 U.S.A. Tel.: +1-610-280-0171 Fax.: +1-610-280-7608 bc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd.
  • Page 5: Table Of Contents

    3.5.2 Setting Brightness ..........3-18 BASLER A102...
  • Page 6 3.9.1 A102f Monochrome Cameras ........3-29...
  • Page 7 Combinations on A102f Cameras ........
  • Page 8 ..............iii BASLER A102...
  • Page 9: Introduction

    An easy way to see the firmware ID number for an A102 or A102 camera is by using the BCAM Viewer included with the Basler BCAM 1394 driver. To see the firmware ID number: 1. Attach your camera to a computer equipped with the BCAM 1394 driver. ⇒...
  • Page 10: Performance Specifications

    DRAFT Introduction 1.2 Performance Specifications Specification A102f A102fc Sensor Type Sony ICX-285 Progressive Scan CCD Sensor Pixels 1392 (H) × 1040 (V) 1388 (H) x 1038 (V) Pixel Size 6.45 µm (H) × 6.45 µm (V) Mono / Color Mono...
  • Page 11: Camera Models

    1.4 Spectral Response The spectral response for the A102 monochrome cameras is shown in Figure 1-2. 1000 Figure 1-2: A102 Spectral Response - Monochrome Cameras The spectral response curve excludes lens characteristics and light source characteristics. BASLER A102...
  • Page 12 IR cut-off filter is recommended. The filter should transmit in a range of 400 nm to 700...720 nm, and it should cut off from 700...720 nm to 1100 nm. A suitable filter is included in the standard C-mount adapter on A102 cameras. BASLER A102...
  • Page 13: Environmental Requirements

    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 A102...
  • Page 14: Obtaining An Rma Number

    Please be aware that if you return material without an RMA number, we reserve the right to reject the material. You can find detailed information about how to obtain an RMA number on the Basler website at: www.baslerweb.com/beitraege/beitrag_en_79701.html...
  • Page 15: Camera Interface

    The A102 is interfaced to external circuitry via an IEEE 1394 socket and a 10 pin RJ-45 jack located on the back of the housing. Figure 2-1 shows the location of the two connectors. Figure 2-1: Camera Connectors BASLER A102...
  • Page 16: Pin Assignments

    Output Port 2 - Output Port 1- Output Port 0 - Input Port 0 + In Gnd Comm Out VCC Comm Input Port 2 + Input Port 1 + Input Port 3 + Table 2-2: Pin Assignments for the RJ-45 jack BASLER A102...
  • Page 17: Connector Types

    The plug on the cable that you attach to the camera’s RJ-45 jack must have 10 pins. Use of a smaller plug, such as one with 8 pins or 4 pins, can damage the pins in the RJ-45 jack on the camera. BASLER A102...
  • Page 18: Cables

    2.4 IEEE 1394 Device Information The A102 uses an IEEE 1394a - 2000 compliant physical layer device to transmit pixel data. Detailed spec sheets for devices of this type are available at the Texas Instruments web site (www.ti.com). BASLER A102...
  • Page 19: Input And Output Ports

    By default, output ports 0, 1, and 2 are set to a low state after power on. Output port 3 is initially set to low but will go high approximately 100 to 300 ms after power on. Output port 3 will remain high for approximately 750 ms and will then reset to low. BASLER A102...
  • Page 20 560 Ω Out_2 - PS2805C-4 or PC3Q64Q 560 Ω 560 Ω Out_3 - PS2805C-4 or PC3Q64Q Shield Shield 560 Ω TPA+ To IEEE 1394a - 2000 TPA- Compliant Physical TPB+ Layer Controller TPB- IEEE Figure 2-3: I/O Schematic BASLER A102...
  • Page 21: Typical Input Circuits

    1.2 k resistor has been added to the circuit. This will result in approximately 15 mA being applied to the input. In Figure 2-5, the signal is applied to input port 3. Figure 2-5: Typical 24 VDC Input Circuit BASLER A102...
  • Page 22: Typical Output Circuits

    In this example, the voltage for the external circuit is 24 VDC. Current in the circuit is limited to approximately 10 mA by an external 2.2k resistor. The circuit in Figure 2-7 is monitoring camera output port 2. Figure 2-7: Typical LED Output Signal BASLER A102...
  • Page 23: Basic Operation And Standard Features

    Camera Specification” (DCAM) issued by the 1394 Trade Association. The packets are passed to a 1394 physical layer controller which transmits them isochronously to a 1394 interface board in the host PC. The physical and link layer controllers also handle transmission and receipt of asynchronous data such as programming commands. BASLER A102...
  • Page 24 The image buffer between the sensor and the link layer controller allows data to be read out of the sensor at a rate that is independent of the data transmission rate between the camera and the host computer. This ensures that the data transmission rate has no influence on image quality. Figure 3-1: A102 Sensor Architecture BASLER A102...
  • Page 25 DRAFT Basic Operation & Standard Features Figure 3-2: Block Diagram BASLER A102...
  • Page 26: Exposure Control

    So in this case, the maximum exposure time is 66.7 ms. Exceeding the maximum exposure time for your frame rate will cause the camera to slow down, i.e., it will cause the camera to operate at a lower frame rate. BASLER A102...
  • Page 27: Controlling Exposure Start With "Shot" Commands Via The 1394 Interface

    Typically, IEEE 1394 cameras are used with a driver which includes an interface that allows the user to parameterize and op- erate the camera without directly setting registers. The Basler BCAM 1394 Camera ®...
  • Page 28: Controlling Exposure Start With A Software Trigger

    Trigger Ready signal. (See Section for more information on the Trigger Ready signal.) The following descriptions assume that you are using a software trigger to start exposure and that you are monitoring the Trigger Ready signal. BASLER A102...
  • Page 29 1.31 of the IIDC specification. Because the software trigger feature is so new, the Basler BCAM 1394 Driver does not yet include a method call to access this feature. As a work-around, you can use the techniques described in the tutorial for the Basler Smart Features Framework Soft- ware to directly read from or write to the Software Trigger and Trigger Mode registers.
  • Page 30: Controlling Exposure Start With An Extrig Signal

    ExTrig signal rises. If the camera is set for falling edge triggering, exposure starts when the ExTrig signal falls. Figure 3-4 illustrates programmable exposure with the camera set for rising edge triggering. Figure 3-4: Programmable Exposure with Rising Edge Triggering BASLER A102...
  • Page 31 The Trigger Source field in the Trigger Mode register is defined in version 1.31 of the IIDC specification. Because the Trigger Source feature is so new, the Basler BCAM 1394 Driver does not yet include a method call to access this feature. As a work-around, you can use the techniques described in the tutorial for the Basler Smart Features Framework Soft- ware to directly read from or write to the Trigger Source field.
  • Page 32 6. Repeat steps 3 and 4 each time you want to begin exposure and capture an image. 7. To disable continuous-shot operation, set the Continuous Shot field in the ISO En/ Continuous Shot control register to 0. 3-10 BASLER A102...
  • Page 33 Typically, IEEE 1394 cameras are used with a driver which includes an interface that allows the user to parameterize and op- erate the camera without directly setting registers. The Basler BCAM 1394 Camera ®...
  • Page 34: Recommended Method For Controlling Exposure Start

    The transmission start delay is the amount of time between the point where the camera begins reading out a captured image into the buffer to the point where it begins transmitting the data for the captured image from the buffer to the host PC. 3-12 BASLER A102...
  • Page 35 If the transmission time is greater than the readout time: Transmission Start Delay = 125 µs. If the transmission time is less than the readout time: Transmission Start Delay = (Readout Time - Transmission Time) + 125 µs BASLER A102 3-13...
  • Page 36: Trigger Ready Signal

    3.3 Trigger Ready Signal The trigger ready signal is not defined in the 1394 Trade Association Digital Camera Specification. Trigger ready is a patented feature of Basler cameras that allows our cameras to have optimized timings. The maximum frame rate for the camera can be limited by any one of three factors: •...
  • Page 37: Integrate Enabled Signal

    When you use the integrate enabled signal, be aware that there is a delay in the rise and the fall of the signal in relation to the start and the end of exposure. See Figure for details. BASLER A102 3-15...
  • Page 38: Gain And Brightness

    (minimum noise) and should be used if possible. Figure 3-8: Offset Because increasing gain increases both signal and noise, the signal to noise ratio does not change significantly when gain is increased. 3-16 BASLER A102...
  • Page 39: Setting Gain

    In normal operation, a gain setting lower than 192 should not be used. When the gain setting is lower than 192, the sensor output signal that is mapped to the input of the ADC will not be linear. BASLER A102 3-17...
  • Page 40: Setting Brightness

    If the camera is set for Mono 16 output, a brightness setting of around 0 (decimal) will result in an offset of 0 in the digital values output for the pixels. An increase of 1 (decimal) in the brightness setting will result in a positive offset of 1 in the digital values output for the pixels. 3-18 BASLER A102...
  • Page 41: Area Of Interest (Aoi)

    To use the entire CCD array in the A102 monochrome cameras, set the value for Left to 0, the value for Top to 0, the value for Width to 1392 and the value for Height to 1040. BASLER A102 3-19...
  • Page 42: Changing Aoi Parameters "On-The-Fly

    (exposes) an image and while this image is being transmitted out of the camera, capture of the next image is triggered. In other words, capture of image N+1 begins while transmission of image N is still in progress. 3-20 BASLER A102...
  • Page 43: Changes To The Frame Rate With Aoi

    Formula 2 calculates the maximum frame rate based on the frame transmission time: Max. Frames/s --------------------------------------------------------------- - × Packets/frame 125 µs Formula 3 calculates the maximum frame rate based on the exposure time: Max. Frames/s --------------------------------------------------------------------------------------- - Exposure Time in µs + 181.1 µs BASLER A102 3-21...
  • Page 44 12000 µs + 181.1 µs Max. Frames/s = 82.1 Formula one returns the lowest value. So in this case, the limiting parameter is the frame readout time and the maximum frame rate would be 64.2 frames per second. 3-22 BASLER A102...
  • Page 45: Low Smear

    The setting can be calculated using the equation below. ≤ -------------------------------------------------------------------------------------------- - Frames/s (AOIH x 51.2281 µs) + 16879.0 µs where: AOIH = number of lines in the AOI BASLER A102 3-23...
  • Page 46 (Figure 3-12). As the frame rate is increased, the smearing will become worse. Figure 3-12: Partial Smear 3-24 BASLER A102...
  • Page 47: Color Creation In The A102Fc

    The second step of the process is to convert the RGB information to YUV. The conversion algorithm uses the following formulas: 0.30 R + 0.59 G + 0.11 B U = - 0.17 R - 0.33 G + 0.50 B 0.50 R - 0.41 G - 0.09 B BASLER A102 3-25...
  • Page 48: White Balance

    The default setting for the Red Value is 122 (0x7A). To determine the correction factor for red, use this formula: Red Value Setting Red Correction Factor ----------------------------------------------- - 3-26 BASLER A102...
  • Page 49: Color Filter Id

    The Color Filter ID register for Format 7 is defined in version 1.31 of the IIDC spec- ification. Because the Color Filter ID feature is so new, the Basler BCAM 1394 Driver does not yet include a method call to access this feature. As a work-around, you can use the techniques described in the tutorial for the Basler Smart Features Framework Soft- ware to directly read from or write to the Filter ID field.
  • Page 50: Integrated Ir Cut Filter On C-Mount Equipped Cameras

    The thread length on your lens must be less than 7.5 mm. If a lens with a longer thread length is used, the camera will be damaged and will no lon- ger operate. See Section for more details. 3-28 BASLER A102...
  • Page 51: Selectable 8 Or 12 Bit Pixel Depth

    Format 7, it can be set to output pixel data at either 8 bit or 12 bit depth. 3.9.1 A102f Monochrome Cameras Set the value in the Format field of the Current Video Format register (see page 4-16) and the value in the Mode Field of the Current Video Mode register (see page 4-15) so that the camera will operate in Format 7, Mode 0.
  • Page 52: Strobe Control Output Signals

    The Strobe Time Base smart feature can be used to change the strobe delay time base. For more information on changing the strobe delay time base, see Section 6.7.14. Figure 3-14: Strobe Signal 3-30 BASLER A102...
  • Page 53 The Strobe Control Output Signal registers are defined in version 1.31 of the IIDC specification. Because the strobe control output signal feature is so new, the Basler BCAM 1394 Driver does not yet include a method call to access this feature. As a work-around, you can use the techniques described in the tutorial for the Basler Smart Features Frame- work Software to directly read from or write to the strobe control output signal registers.
  • Page 54: Parallel Input/Output Control

    The PIO Control registers are defined in version 1.31 of the IIDC specification. Because the PIO control feature is so new, the Basler BCAM 1394 Driver does not yet include a method call to access this feature. As a work-around, you can use the tech- niques described in the tutorial for the Basler Smart Features Framework Software to directly read from or write to the PIO registers.
  • Page 55: Available Video Formats, Modes And Frame Rates On Monochrome Cameras

    If you set the bytes per packet to a value lower than the maximum, the camera will transmit frames at a lower rate. The rate is calculated by the formula: Frames/s -------------------------------------------------------------------------- - Packets per Frame x 125 µs BASLER A102 3-33...
  • Page 56 When the camera is set for the Mono 16 color coding, the maximum frame rate at full resolution is 11.3 frames/s. Color code definitions can very from camera model to camera model. This is especially true for older models of Basler cameras. 3-34 BASLER A102...
  • Page 57: Available Video Formats, Modes And Frame Rates On Color Cameras

    4095 packet limit and the camera will not transmit frames properly. When the camera is operating in Format 7, the Current Video Frame Rate control reg- ister is not used and has no effect on camera operation. BASLER A102 3-35...
  • Page 58 This mode of operation is included on the A102 for compatibility with versions 1.6 and below of the Basler BCAM 1394 driver software. These early versions of the BCAM software require a Mono 8 color coding that results in the output of raw pixel data.
  • Page 59: Error Flags

    If you are operating the camera in Format 7, Mode 1, the flag is set in the Error Flag 2 field of the Value Setting register for Format 7, Mode 1 (see page 4-40). The error flag registers are defined in version 1.31 of the IIDC specification. BASLER A102 3-37...
  • Page 60: Configuration Sets And Memory Channels

    3. Set the value of the Memory Save control register (see 4-17) to 1. When you set this value to 1, the camera will save the current register settings to the designated memory channel. Saving a configuration set to one of the memory channels will overwrite any set that was previously saved to the selected channel. 3-38 BASLER A102...
  • Page 61: Copying A Saved Configuration Set Or The Factory Set Into The Work Set

    You can only designate memory channel 1, 2 or 3 as the startup chanel if you have previously saved a configuration set into the designated channel. You cannot use an empty memory channel as the startup channel. BASLER A102 3-39...
  • Page 62 DRAFT Basic Operation & Standard Features 3-40 BASLER A102...
  • Page 63: Configuring The Camera

    See Section for more information. The BCAM Driver A fully functional driver is available for Basler IEEE 1394 cameras such as the A102 . The Basler BCAM 1394 Driver/Software Development Kit includes an API that allows a C++ programmer to easily integrate camera configuration and operating functions into your system control software.
  • Page 64: Block Read And Write Capabilities

    4-27). If necessary, change the Mode, Position, Size and Bytes per Packet settings so that they are compatible with Format 7. 4.3 Configuration ROM The configuration ROM in the A102 is compliant with the DCAM specification V 1.31. BASLER A102...
  • Page 65: Implemented Standard Registers

    0 = format not available 1 = format available Register Name: Video Format Inquiry Offset from Base Address: 0x100 Field Name Description A102f A102fc Value Value Format 0 VGA non-compressed format Format 1 Super VGA non-compressed format (1) Format 2...
  • Page 66: Inquiry Registers For Video Modes

    0 = not available 1 = available Register Name: Video Mode Inquiry for Format 2 Offset from Base Address: 0x188 Field Description A102f A102fc Value Value Mode 0 1280 x 960, YUV 4:2:2, 16 bits/pixel Mode 1 1280 x 960, RGB, 24 bits/pixel...
  • Page 67: Inquiry Registers For Video Frame Rates

    1 = format available Register Name: Video Frame Rate Inquiry for Format 2, Mode 0 Offset from Base Address: 0x240 Field Description A102f A102fc Value Value Frame Rate 0 1.875 fps standard frame rate Frame Rate 1 3.75 fps standard frame rate Frame Rate 2 7.5 fps standard frame rate...
  • Page 68: Inquiry Registers For Format 7 Csr Offsets

    Indicates the quadlet offset from the base address of the initial register space for the Format 7, Mode 0 Control and Status Register (CSR). (The A102f and A102fc support Format 7, Mode 0) Register Name: Video CSR Inquiry for Format 7, Mode 1...
  • Page 69: Inquiry Register For Basic Functions

    (The memory channel bits are an exception. Refer to the description below.) Register Name: Basic Function Inquiry Offset from Base Address: 0x400 Field Description A102f A102fc Value Value Advanced Feature Advanced (vendor unique) features availability Vmode Error VMode Error Status register availability...
  • Page 70: Inquiry Register For Feature Presence

    0 = feature not available 1 = feature available Register Name: Feature High Inquiry Offset from Base Address: 0x404 Field Description A102f A102fc Value Value Brightness Brightness control availability Auto Exposure Auto exposure control availability Sharpness Sharpness control availability...
  • Page 71 Advanced Feature 0 ... 31 Indicates the quadlet offset from the base address of the initial register Quadlet Offset space for the advanced features Control and Status Registers (CSR). The A102f and A102fc support advanced (vendor unique) features. BASLER A102...
  • Page 72 Strobe Output 0 ... 31 Indicates the quadlet offset from the base address of the initial register Quadlet Offset space for the strobe output Control and Status Registers (CSR). The A102f and A102fc support strobe output control. 4-10 BASLER A102...
  • Page 73: Inquiry Registers For Feature Elements

    0 = element not available 1 = element available Register Name: Brightness Inquiry Offset from Base Address: 0x500 Field Description A102f A102f Value Value Presence Inq Brightness control feature is present Abs Control Inq Brightness can be set with an absolute value...
  • Page 74 DRAFT Configuring the Camera Register Name: Shutter Inquiry Offset from Base Address: 0x51C Field Description A102f A102fc Value Value Presence Inq Shutter control feature is present Abs Control Inq Shutter can be set with an absolute value Reserved One Push Inq...
  • Page 75 DRAFT Configuring the Camera Register Name: Gain Inquiry Offset from Base Address: 0x520 Field Description A102f A102fc Value Value Presence Inq Gain control feature is present Abs Control Inq Gain can be set with an absolute value Reserved One Push Inq...
  • Page 76 DRAFT Configuring the Camera Register Name: Trigger Inquiry Offset from Base Address: 0x530 Field Description A102f A102fc Value Value Presence Inq Trigger control feature is present Abs Control Inq Trigger can be set with an absolute value 2 ... 3...
  • Page 77: Control And Status Registers

    If the camera is set for Format 7, the setting in this field is ignored. If the camera is set for Format 6, this field sets the current revision. (The A102f and A102fc do not support Format 6.) 3 ... 31...
  • Page 78 0 = format 0 6 = format 6 1 = format 1 7 = format 7 2 = format 2 Default = 7 on the A102f and A102fc Check Sections 3.12 3.13 to determine the video formats sup- ported on the A102f and A102fc.
  • Page 79 Default = 0 on the A102f and A102fc Multi Shot Multi shot is not supported on the A102f or A102fc. 2 ... 15 Reserved Count Number 16 ... 31 The count number for multi shot is not supported on the A102f or A102fc. BASLER A102 4-17...
  • Page 80 ISO speed settings is acceptable to the camera. 0 = the combination is OK, image capture can be started 1 = the combination is not OK, image capture can not be started This field is read only. 1 ... 31 Reserved 4-18 BASLER A102...
  • Page 81 This field is read only. Camera set for: Effective data depth indicated: Mono 8 output 8 bits/pixel Mono 16 output 12 bits/pixel Raw 8 output 8 bits/pixel Raw 16 output 12 bits/pixel 4:2:2 YUV output 8 bits/component 8 ... 31 Reserved BASLER A102 4-19...
  • Page 82: Control And Status Registers For Features

    Field Description Presence Inq Indicates the presence of the brightness control feature. The value will be 1 on A102f and A102fc cameras, indicating that brightness control is available. This field is read only. Abs Control Determines whether the brightness will be controlled by the Value field of this register or by the Absolute Value CSR for brightness.
  • Page 83 Description Presence Inq Indicates the presence of the white balance control feature. The value will be 0 on A102f cameras, indicating that white balance control is not available. The value will be 1on A102fc cameras, indicating that white balance control is available.
  • Page 84 Field Description Presence Inq Indicates the presence of the shutter control feature. The value will be 1on A102f and A102fc cameras, indicating that shut- ter control is available. This field is read only. Abs Control Determines whether the shutter will be controlled by the Value field of this register or by the Absolute Value CSR for the shutter.
  • Page 85 Field Description Presence Inq Indicates the presence of the gain control feature. The value will be 1on A102f and A102fc cameras, indicating that gain control is available. This field is read only. Abs Control Determines whether the gain will be controlled by the Value field of this register or by the Absolute Value CSR for gain.
  • Page 86 Field Description Presence Inq Indicates the presence of the trigger mode control feature. The value will be 1on A102f and A102fc cameras, indicating that trig- ger mode control is available. This field is read only. Abs Control Determines whether the trigger mode will be controlled by the Value field of this register or by the Absolute Value CSR for the trigger mode.
  • Page 87: Error Status Registers For Feature Control

    1 = A setting in the brightness control register (see page 4-20) is out- side of the allowed range This field is read only. Auto Exposure Not used on the A102f or A102fc. This bit should be ignored. Sharpness Not used on the A102f or A102fc. This bit should be ignored. White Balance Indicates a white balance control error on the A102fc.
  • Page 88 This field is read only. Trigger Delay Not used on the A102f or A102fc. This bit should be ignored. White Shading Not used on the A102f or A102fc. This bit should be ignored. Frame Rate Not used on the A102f or A102fc.
  • Page 89: Control And Status Registers For Format 7, Mode 0

    Field Description Hmax 0 ... 15 Indicates the maximum horizontal image size in pixels. Hmax = 1392 on the A102f Hmax = 1388 on the A102fc Vmax 16 ... 31 Indicates the maximum vertical image size in pixels. Vmax = 1040 on the A102f...
  • Page 90 Sets the left (starting) column of pixels for the area of interest (see Sec- tion 3.6). Default = 0 on the A102f and A102fc 16 ... 31 Sets the top row of pixels for the area of interest (see Section 3.6).
  • Page 91 DRAFT Configuring the Camera Register Name: Color Coding Inquiry Offset from Base Address: 0x014 Field Name: Description A102f A102fc Value * Value * Mono 8 Y only, 8 bits, non-compressed (ID = 0) 4:1:1 YUV8 4:4:1 YUV, 8 bits/component, non-compressed...
  • Page 92 Indicates the increment for setting the Bytes Per Packet field of the Packet Bytes Per Packet register (see page 4-31). 4 = the increment for setting the bytes per packet on the A102f and A102fc. Max Bytes Per 16 ... 31 Indicates the maximum bytes per packet.
  • Page 93 Indicates the increment in columns for adjusting the area of interest starting column (see Section 3.6). For example, if the Hposunit is 2, the starting column should be adjusted in increments of 2. Hposunit = 1 for the A102f Hposunit = 2 for the A102fc Vposunit 16 ...
  • Page 94 Indicates the alignment of the camera’s color filter to the current AOI. This field is valid for cameras equipped with an RGB primary color filter such as the A102fc. (See Sections and 3.8.2.) Value in this field: Pixel color order: RG/GB GB/RG GR/GB BG/GR 8 ... 31 Reserved 4-32 BASLER A102...
  • Page 95 The fields in this register are valid on the A102f and A102fc. The Presence Inq field is read only. Setting 1 On the A102f and A102fc, this field is not relevant and should be ig- nored. (Updates to the register values monitored by this field are per- formed automatically.) 2 ...
  • Page 96: Control And Status Registers For Format 7, Mode 1

    16 ... 31 Indicates the increment in rows for adjusting the area of interest height (see Section 3.6). For example, if the Vunit is 1, the height should be set in increments of 1. Vunit = 2 4-34 BASLER A102...
  • Page 97 0 ... 7 Sets the color coding. Valid color codings for Format 7 Mode 1 are listed in the Color Coding Inquiry register (see the next register de- scription). Default = ID 0 8 ... 31 Reserved BASLER A102 4-35...
  • Page 98 * If a bit is set to 0, the camera does not support this color coding ID in Format 7 Mode 1. If a bit is set to 1, the camera supports this color coding ID in Format 7 Mode 1. 4-36 BASLER A102...
  • Page 99 Bytes per Packet register (see page 4-31). 4 = the increment for setting the bytes per packet Max Bytes Per 16 ... 31 Indicates the maximum bytes per packet. Packet 4096 = the maximum bytes per packet BASLER A102 4-37...
  • Page 100 Indicates the increment in rows for adjusting the area of interest start- ing row (see Section 3.6). For example, if the Vposunit is 1, the starting row should be adjusted in increments of 1. Vposunit = 2 4-38 BASLER A102...
  • Page 101 Indicates the alignment of the camera’s color filter to the current AOI. This field is valid for cameras equipped with an RGB primary color filter such as the A102fc. (See Sections and 3.8.2.) Value in this field: Pixel color order: RG/GB GB/RG GR/GB BG/GR 8 ... 31 Reserved BASLER A102 4-39...
  • Page 102 Indicates whether the value in the Bytes per Packet register is accept- able. 0 = acceptable 1 = not acceptable and no image capture can be started This field is updated whenever a value is written in the Bytes per Packet register. 10 ... 31 Reserved 4-40 BASLER A102...
  • Page 103: Control And Status Registers For The Pio Control Function

    0 = low 1 = high Port 1 In Indicates the current state of physical input port 1. 0 = low 1 = high Port 0 In Indicates the current state of physical input port 0. 0 = low 1 = high BASLER A102 4-41...
  • Page 104: Control And Status Registers For The Strobe Signal Function

    Bit 0 in each register is the most significant bit. Register Name: Strobe Control Inquiry Offset from Base Address: 0x000 Field Description A102f A102fc Value * Value * Strobe 0 Inq Presence of the Strobe 0 signal feature Strobe 1 Inq...
  • Page 105 DRAFT Configuring the Camera Register Name: Strobe 1 Inquiry Offset from Base Address: 0x104 Field Description A102f Value A102fc Value Same definitions and values as Strobe 0 Inq Register Name: Strobe 2 Inquiry Offset from Base Address: 0x108 Field Description...
  • Page 106 Presence Inq Indicates the presence of the Strobe 0 signal control feature. 0 = not available 1 = available The Strobe 0 control feature is available on the A102f and A102fc. This field is read only. 1 ... 5 Reserved On / Off Sets whether the Strobe 0 signal is on or off.
  • Page 107 “strobe”. If the Strobe 1 signal is on, the signal will only be present on physical output port 1 if the port is configured for “strobe”. Etc. See Section 6.7.11 for more information about configuring the output ports. BASLER A102 4-45...
  • Page 108: Advanced Features Registers

    Field Description Feature ID High 0 ... 31 On the A102f and A102fc, the value for Feature ID High field is: 0x0030 533B Feature ID Low 32 ... 47 On the A102f and A102fc, the value for Feature ID Low field is: 0x73C3 48 ...
  • Page 109: Image Data Formats And Structures

    5.1.1 Pixel Transmission Sequence Pixel data is transmitted from the camera in the following sequence on the A102f: Row 0/Pixel 0, Row 0/Pixel 1, Row 0/Pixel 2 ... Row 0/Pixel 1390, Row 0/Pixel 1391 Row 1/Pixel 0, Row 1/Pixel 1, Row 1/Pixel 2 ... Row 1/Pixel 1390, Row 1/Pixel 1391 Row 2/Pixel 0, Row 2/Pixel 1, Row 2/Pixel 2 ...
  • Page 110: Packet Payload Charts For Standard Format, Mode And Frame Rate Combinations On A102F Cameras

    Frame Rate Combinations on A102f Cameras The following charts describe the packet payload for each standard format/mode/framerate combination available on the A102f or the A102fc. This information is especially useful when calculating a camera’s bandwidth usage. 5.2.1 Format 2, Mode 0...
  • Page 111: Image Data Formats

    • • • • • • U value for P Y value for P V Value for P Y value for P U value for P Y value for P V Value for P Y value for P BASLER A102...
  • Page 112: Data Format With The Camera Set For Y Mono 8 Output

    Y value for P Y value for P Y value for P Y value for P • • • • • • Y value for P Y value for P Y value for P Y value for P BASLER A102...
  • Page 113: Data Format With The Camera Set For Y Mono 16 Output

    16 bit data can be processed more effectively on little endian hard- ® ware such as Intel processor based PCs.) When the camera is set for 16 bit output, 16 bits of data will be transmitted for each pixel but only 12 bits are effective (see Section 3.9). BASLER A102...
  • Page 114: Data Format With The Camera Set For Raw 8 Output

    Green value for P Blue value for P Red value for P Green value for P Green value for P Blue value for P Red value for P Green value for P Green value for P Blue value for P BASLER A102...
  • Page 115 Red value for P Green value for P Green value for P Blue value for P Red value for P Green value for P Green value for P Blue value for P mn-1 Red value for P Green value for P BASLER A102...
  • Page 116 Green value for P Red value for P Blue value for P Green value for P Green value for P Red value for P Blue value for P Green value for P Green value for P Red value for P BASLER A102...
  • Page 117: Data Format With The Camera Set For Raw 16 Output

    High byte of red value for P High byte of green value for P Low byte of green value for P Low byte of blue value for P High byte of green value for P High byte of blue value for P BASLER A102...
  • Page 118 High byte of green value for P High byte of red value for P Low byte of blue value for P Low byte of green value for P High byte of blue value for P High byte of green value for P 5-10 BASLER A102...
  • Page 119 High byte of green value for P High byte of blue value for P Low byte of red value for P Low byte of green value for P High byte of red value for P High byte of green value for P BASLER A102 5-11...
  • Page 120 16 bit data can be processed more effectively on little endian hard- ® ware such as Intel processor based PCs.) When the camera is set for 16 bit output, 16 bits of data will be transmitted for each pixel but only 12 bits are effective (see Section 3.9). 5-12 BASLER A102...
  • Page 121: Image Data Structure

    0x01 -127 0x00 -128 The signal level of a U component or a V component can range from -128 to +127 (decimal). Notice that the data values have been arranged to represent the full signal level range. BASLER A102 5-13...
  • Page 122: Data Structure For A Y (Mono 16) Or An R, G Or B (Raw 16) Component

    Normally, the data values for a 16 bit component would range from 0x0000 to 0xFFFF. However, when an A102f or A102fc camera is set for 16 bit output, only 12 bits are effective. Therefore, the highest data value you will see is 0x0FFF indicating a signal level of 4095.
  • Page 123: Smart Features And The Smart Features Framework

    Features Framework 6.1 What are Smart Features Smart features are features unique to Basler cameras. Test Images, the Cycle Time Stamp, and the CRC Checksum are examples of Basler smart features. In some cases, enabling a smart feature will simply change the behavior of the camera. The Test Image feature is a good example of this type of smart feature.
  • Page 124: What Do I Need To Use Smart Features

    • A method of accessing the camera’s DCAM register structure. We strongly recommend that you use the Basler BCAM 1394 Driver (v1.7 or higher) along with the Basler Smart Features Framework software to access the registers. (See Section for more information about the SFF Software.)
  • Page 125: Enabling And Parameterizing Smart Features

    Note that instead of performing two single quadlet write operations, a block write can be performed. * The last three zeros in this quadlet represent a timeout value. When the timeout value is “000” as it is on the A102f, it means that advanced features are always available. BASLER A102...
  • Page 126: Determining The Address Of A Smart Feature's Csr

    0x0 will be read from the Smart Features Address Register. Smart Features Inquiry Register Layout Offset 8-15 16-23 24-31 D4[3] D4[2] D4[1] D4[0] D4[7] D4[6] D4[5] D4[4] Smart Features Address Register Layout Offset 8-15 16-23 24-31 Address Low Address High BASLER A102...
  • Page 127 If both Address Low and Address High return zero, the camera doesn’t support the CRC checksum feature. Assuming the read operations yielded Address Low = 0xF2F0 0038 and Address High = 0x0000 FFFF, the CRC Checksum feature CSR’s address is 0xFFFF F2F0 0038. BASLER A102...
  • Page 128: Enabling And Parameterizing A Smart Feature

    The descriptions also include a detailed layout of how the bits contained within the feature’s CSR relate to the parameters for the feature. After reading the description of your desired smart feature, you can enable and parameterize the feature by setting the appropriate bits within the CSR. BASLER A102...
  • Page 129: Getting Smart Features Results

    If the last four bytes of a chunk aren’t the bitwise complement of the preceding four bytes, the chunk’s length information isn’t valid and this indicates that a transmission error occurred. BASLER A102...
  • Page 130: How Big A Buffer Do I Need

    Make sure to check these registers after all smart features have been enabled and all other settings affecting the image size have been completed. The size information in these fields will allow you to properly set up buffers to receive the transmitted images. BASLER A102...
  • Page 131: Smart Features On The A102F

    Pixel Data The pixel data from the captured image [ K Bytes ] For technical reasons, there might be a gap between the [ M Bytes ] pixel data and the other data in the extended image data. BASLER A102...
  • Page 132 [ 16 Bytes ] K + M + 40 Chunk Length This chunk’s total length in bytes. [ 4 Bytes ] K + M + 44 Inverted Chunk Length The bitwise complement of the chunk length. [ 4 Bytes ] 6-10 BASLER A102...
  • Page 133: Frame Counter

    8C5DB844 - 1C0F - 11D8 - 965F - 00105A5BAE55 [ 16 Bytes ] Chunk Length This chunk’s total length in bytes. [ 4 bytes ] Inverted Chunk Length The bitwise complement of the chunk length. [ 4 bytes ] BASLER A102 6-11...
  • Page 134: Cycle Time Stamp

    994DD430 - 1C0F - 11D8 - 8F6B - 00105A5BAE55 [ 16 Bytes ] Chunk Length This chunk’s total length in bytes. [ 4 Bytes ] Inverted Chunk Length The bitwise complement of the chunk length. [ 4 Bytes ] 6-12 BASLER A102...
  • Page 135: Dcam Values

    494DE528 - 1B84 - 11D8 - 8A0C - 00105A5BAE55 Field Description Presence Inq Presence of this feature (Read only) 0: Not Available 1: Available ---- [1 ... 30] Reserved Enable [31] Enable / Disable this feature (Read / write) 0: Disable 1: Enable BASLER A102 6-13...
  • Page 136 Content of the DCAM Gamma CSR [ 4 bytes ] Same layout as the Gain CSR Gamma Absolute Value Field Description Abs Value [0 ... 31] Floating point value with [ 4 Bytes ] IEEE/real*4 format Unit: dB 6-14 BASLER A102...
  • Page 137 911C8982 - 1C0F - 11D8 - 8AF0 - 00105A5BAE55 [ 16 Bytes ] Chunk Length This chunk’s total length in bytes. [ 4 bytes ] Inverted Chunk Length The bitwise complement of the chunk length. [ 4 bytes ] BASLER A102 6-15...
  • Page 138: Crc Checksum

    3B34004E - 1B84 - 11D8 - 83B3 - 00105A5BAE55 Field Description Presence Inq Presence of this feature (Read only) 0: Not Available 1: Available ---- [1 ... 30] Reserved Enable [31] Enable / Disable this feature (Read / write) 0: Disable 1: Enable 6-16 BASLER A102...
  • Page 139 (i=0; i<nbyLength; i++) { c = (unsigned long)*pData++; for (j=0x80; j; j>>=1) { bit = crc & 0x8000; crc <<= 1; if (c & j) bit^= 0x8000; if (bit) crc^= 0x1021; return (unsigned short) (crc & 0xffff); BASLER A102 6-17...
  • Page 140 /* Retrieve the desired CRC value from the data buffer */ nDesiredCRC = ((unsigned long*) pData)[ nbyLength / sizeof ( unsigned long ) - 1]; /* Return TRUE if they are equal */ return nCurrentCRC == nDesiredCRC; 6-18 BASLER A102...
  • Page 141: Test Images

    Figure 6-3, but the starting pixel values on each row will not be as described above.) The mathematical expression for test image one is: Gray Value = [ x + y ] MOD 256 Figure 6-3: Test Image One BASLER A102 6-19...
  • Page 142 Test image three is similar to test image one but it is not stationary. The image moves by 1 pixel from right to left whenever a one-shot or a continuous-shot command signal is sent to the camera. 6-20 BASLER A102...
  • Page 143 0: Not Available 1: Available ----- [15] Reserved Image On [16 ... 18] 0: No test image active (Read / write) 1: Test image 1 active 2: Test image 2 active 3: Test image 3 active ----- [19 ... 31] Reserved BASLER A102 6-21...
  • Page 144: Extended Version Information

    A102 For troubleshooting purposes, Basler technical support may ask you to read this register and to supply the results. The extended version information smart feature does not add information to the im- age data stream and can be accessed even when the extended data stream feature (see Section 6.7.1) is disabled.
  • Page 145: Lookup Table

    You will notice that the first two quadlets of the register include bits that allow you to check for this feature’s presence and to enable or disable the feature. These initial two quadlets are followed by 4096 quadlets. The 4096 quadlets contain the values that make up the customized lookup table. BASLER A102 6-23...
  • Page 146 If you want use your own customized lookup table you must: 1. Use the look table feature Control and Status Register (CSR) to enable the lookup table feature. 2. Write the values for your customized lookup table to the CSR. 6-24 BASLER A102...
  • Page 147 (Read / write) ted from the camera when the 12 bit pixel value from the sensor is 16. 16300 ... 16324 Quadlet 4073 ... 4079 [7 Quadlets] Not used. The values written here will be (Read / write) ignored. BASLER A102 6-25...
  • Page 148 12 bit pixel value from the sensor is 4088. 16364 ... 16388 Quadlet 4089 ... 4095 [7 Quadlets] Not used. The value written here will be ig- (Read / write) nored. 6-26 BASLER A102...
  • Page 149 Using the SFF Viewer to Upload a Lookup Table The Configurator window in the Basler SFF Viewer (see Section 6.4) includes a drop down list that can be used to enable the lookup table feature. It also includes an Upload button that can be used to easily load a text file containing a customized lookup table into the camera.
  • Page 150: Lossless Compression

    So if you operate the camera with the lookup feature enabled and the default table loaded, the camera will output 8 bit data via lossless compression. 6-28 BASLER A102...
  • Page 151: Trigger Flag And Trigger Counter

    ----- [0 ... 30] Reserved Trigger Flag [31] The flag is set to 1 by each trigger. It is cleared by a read (Read only) access to this register. BASLER A102 6-29...
  • Page 152: Output Port Configuration

    The output port configuration feature is always enabled regardless of the video for- mat. By default, the Integrate Enabled signal is assigned to physical output port 0 and the Trigger Ready Signal is assigned to physical output port 1. 6-30 BASLER A102...
  • Page 153 If the Source Select field is set to “user set”, this field (Read / write) sets the state of the output: 0: Low (non-conducting) 1: High (conducting) (Sets the state of the output before the inverter.) ----- [0 ... 31] Reserved BASLER A102 6-31...
  • Page 154 CSR GUID E79233CA - 4513 - 11D8 - 9B9A - 00105A5BAE55 Position Field Description Same as port 0. Same as port 0. Same as port 0. Same as port 0. Same as port 0. Same as port 0. 6-32 BASLER A102...
  • Page 155: Startup Memory Channel

    Selects a memory channel. At camera power on or re- set, the selected channel will be copied into the cam- era’s work configuration set. 0: Channel 0 (Factory set) 1: Channel1 2: Channel 2 3: Channel 3 Default = 0 BASLER A102 6-33...
  • Page 156: Shutter Time Base

    The shutter time base smart feature does not add information to the image data stream and can be accessed even when the extended data stream feature (see Sec- tion 6.7.1) is disabled. The shutter time base smart feature can be enabled regardless of the video format. 6-34 BASLER A102...
  • Page 157 The time base can range from 0.000015 second to 0.001221 second in increments of 0.000001 sec- ond. The value in the time base field is a standard IEEE- 754 single precision (32 bit) floating point number. Default = 0.000020 second BASLER A102 6-35...
  • Page 158: Strobe Time Base

    Strobe Time Base CSR can be used to change the strobe duration time base. To change the strobe duration time base: • Set the Duration Time Base field in the Strobe Time Base CSR to your desired time base value 6-36 BASLER A102...
  • Page 159 The value sets the delay time base in units of 1/1024 ms. Example: If the value in this field is set to 14, the de- lay time base will be 14/1024 ms (~ 13.7 µs) Default = 1 BASLER A102 6-37...
  • Page 160: Customized Smart Features

    The Basler camera development team is ready and able to handle requests for customized smart features. The cost to the customer for adding a customized smart feature to the A102...
  • Page 161: 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 A102...
  • Page 162: Camera Dimensions And Mounting Facilities

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

    DRAFT Mechanical Considerations 7.2 Sensor Positioning Accuracy The sensor positioning accuracy in the horizontal and vertical directions is as shown in Figure 7- 2. Rotational accuracy is also shown in the figure. Figure 7-2: Sensor Positioning Accuracy BASLER A102...
  • Page 164: Maximum Lens Thread Length On The A102Fc

    The location of the filter limits the thread length of the lens that can be used on the camera. The thread length on your lens must be less than 7.5 mm. If a lens with a longer thread length is used, the camera will be damaged and will no longer operate. BASLER A102...
  • Page 165: Mechanical Stress Test Results

    20 g / 11 ms / 10 shocks positive 20 g / 11 ms / 10 shocks negative Bump (each axis) IEC 60068-2-29 20 g / 11 ms / 100 shocks positive 20 g / 11 ms / 100 shocks negative Table 7-1: Mechanical Tests BASLER A102...
  • Page 166 DRAFT Mechanical Considerations BASLER A102...
  • Page 167: Revision History

    Added a description of the new error flags in Section 3.14. Added register descriptions in Section 4.4.2 for the new error flags. Updated the drawings in Section 7.2. Added mechanical stress test results in Section 7.4. BASLER A102...
  • Page 168 RMA number. Added the PS2805C-4 optocoupler in Figure 2-3. Corrected the bit assignment for the memory save channel register on page 4-18. Removed the link related to downloading the SFF software from Section 6.4. Removed the feedback page. BASLER A102...
  • Page 169: Index

    ..... 3-8 output ports ......2-5 BASLER A102...
  • Page 170 ......3-30 strobe time base smart feature ... . . 6-36 BASLER A102...

Table of Contents