Basler sprint USER’S MANUAL FOR MONO CAMERAS Document Number: AW000162 Version: 06 Language: 000 (English) Release Date: 12 September 2008
For customers in the U.S.A. This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications.
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 bc.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-610-280-7608 bc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd 8 Boon Lay Way # 03 - 03 Tradehub 21 Singapore 609964 Tel.: +65-6425-0472 Fax.: +65-6425-0473 bc.support.asia@baslerweb.com www.baslerweb.
Table of Contents Table of Contents 1 Specifications, Requirements, and Precautions . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Document Applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 Camera Models with 2k Pixels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.
Table of Contents 2.8 Output Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.1 Line Valid Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.2 Data Valid Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.3 Pixel Data Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents 5 Video Data Output Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5.1.1 Setting the Video Data Output Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 5.2 Video Data Output Mode Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 5.2.
Table of Contents 6.12 Configuration Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.12.1 Saving the Work Set to a User Set File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.12.2 “Activating” a User Set File or the Factory Set File . . . . . . . . . . . . . . . . . . . . 6.12.3 Which Configuration Set File will Load at Startup or at Reset? . . . . . . . . . . . 6.12.4 Downloading Configuration Set Files to Your PC . . . . . . . . .
Table of Contents 7.2.3 Bulk Data and the Bulk Data Control and Status Registers . . . . . . . . . . . . . . 7.2.3.1 Using the Configuration Set Bulk Data CSR . . . . . . . . . . . . . . . . . 7.2.3.2 Using the Shading Values Bulk Data CSR . . . . . . . . . . . . . . . . . . 7.2.3.3 General Procedures for Working with Bulk Data CSRs. . . . . . . . . 7.2.3.4 Bulk Data Control and Status Register Details . . . . . . . . . . . . . . . Configuration Set CSR ....................................................
Table of Contents vi Basler sprint Mono Cameras
Specifications, Requirements, and Precautions 1 Specifications, Requirements, and Precautions This section lists the camera models covered by the manual. It provides the general specifications for each model and outlines the basic requirements for using the cameras. This section also includes specific precautions that you should keep in mind when using the cameras. We strongly recommend that you read and follow the precautions. 1.
Specifications, Requirements, and Precautions 1.2 General Specifications 1.2.1 Camera Models with 2k Pixels Specification spL2048-39km spL2048-70km spL2048-140km Sensor Size 2 lines - 2048 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link Clock Speed 40 MHz 40 MHz or 80 MHz (switchable) Maximum Line Rate 38.
Specifications, Requirements, and Precautions 1.2.2 Camera Models with 4k Pixels Specification spL4096-20km spL4096-39km spL4096-70km Sensor Size 2 lines - 4096 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link Clock Speed 40 MHz 40 MHz or 80 MHz (switchable) Maximum Line Rate 19.4 kHz 38.6 kHz Minimum Line Rate 1 kHz Data Output Type Camera Link base config.
Specifications, Requirements, and Precautions 1.2.3 Camera Models with 8k Pixels Specification spL8192-20km spL8192-39km spL8192-70km Sensor Size 2 lines - 8192 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link Clock Speed 40 MHz 40 MHz or 80 MHz (switchable) Maximum Line Rate 19.4 kHz 38.6 kHz Minimum Line Rate 1 kHz Data Output Type Camera Link medium config.
Specifications, Requirements, and Precautions 1.3 Lens Adapters 1.3.1 Lens Adapters for 2k and 4k Cameras An F-mount lens adapter is standard for all cameras with 2048 pixels per line (2k cameras) and with 4096 pixels per line (4k cameras). For 4k cameras an optional M42 lens adapter is also available. For 2k cameras, an optional M42 lens adapter and an optional C-mount lens adapter are also available.
Specifications, Requirements, and Precautions The following sections illustrate how the Basler sprint 8k cameras connect to Basler-specific adapters and further optical components. As examples, components by Schneider-Kreuznach are considered. 1.3.2.1 Adapting with the UNIFOC 100/95_/_V-Basler Helical Mount The following example illustrates the use of the UNIFOC 100/95_/_V-Basler helical mount, connected to a Makro-Symmar HM 5.6/120-0058 lens by Schneider-Kreuznach.
Specifications, Requirements, and Precautions Attaching the UNIFOC 100/95_/_V-Basler Helical Mount to the Camera Use the four M3 setscrews supplied with the helical mount to attach the helical mount to the camera. See Figure 9 for information where to place the M3 screws. Note When screwing in the M3 screws make sure to never exceed a torque of 0.1 Nm. If the torque is exceeded, the helical mount can be damaged and may no longer be light-proof.
Specifications, Requirements, and Precautions 1.3.2.2 Adapting with the M58 x 0.75_/_V-Basler Lens Mount The following example illustrates the use of the M58 x 0.75_/_V-Basler lens mount, connected to an assembly of further optical components, including a UNIFOC 76 helical mount, an M39 x 26 tpi adapter, and an Apo-Componon 4.5/90 lens by Schneider-Kreuznach. The UNIFOC 76 helical mount allows adjusting its extension over a range of 25.7 mm.
Specifications, Requirements, and Precautions Adjusting the Assembly of Optical Components For a magnification of 1:0.3, the Apo-Componon 4.5/90 lens requires a distance of 114 mm between its flange and the CMOS sensor. The distance to the CMOS sensor is accounted for by adding the following partial distances: 15 mm: distance between the CMOS sensor and the flange of the camera’s V-Basler mount 55 mm: extension of the M58 x 0.
Specifications, Requirements, and Precautions 1.4 Spectral Response The following graph shows the spectral response for monochrome cameras. Note The spectral response curves exclude lens characteristics and light source characteristics. 70 Quantum Efficiency (%) 60 50 40 30 20 10 0 400 500 600 700 800 900 1000 Wavelength (nm) Fig.
Specifications, Requirements, and Precautions 1.5 Mechanical Specifications 1.5.1 Camera Dimensions and Mounting Points for 2k and 4k Cameras The cameras are manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability. The camera’s dimensions in millimeters are as shown in Figure 5 on page 12.
Specifications, Requirements, and Precautions Fig.
Specifications, Requirements, and Precautions 1.5.2 Sensor Positioning Accuracy for 2k and 4k Cameras The sensor positioning accuracy is as shown in the drawings below. Fig.
Specifications, Requirements, and Precautions 1.5.3 Sensor Line Location for 2k and 4k Cameras The location of the lines on the sensor chip is as shown in the drawing below. Fig.
Specifications, Requirements, and Precautions 1.5.4 F-mount Adapter Dimensions (2k and 4k Cameras) Fig. 8: Camera with F-mount Adapter Attached (in mm; 2k and 4k Cameras) 1.5.5 Camera Dimensions and Mounting Points for 8k Cameras The cameras are manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability. The camera’s dimensions in millimeters are as shown in Figure 5 on page 12.
Specifications, Requirements, and Precautions 4 x M4; 6 deep 4 x M4; 6 deep Photosensitive surface of the CMOS sensor 4 x M3 = reference plane Tolerances are typical Drawings are not to scale Fig.
Specifications, Requirements, and Precautions 1.5.6 Sensor Positioning Accuracy for 8k Cameras The sensor positioning accuracy is as shown in the drawings below. = reference plane Tolerances are typical Drawings are not to scale Fig.
Specifications, Requirements, and Precautions 1.5.7 Sensor Line Location for 8k Cameras The location of the lines on the sensor chip is as shown in the drawing below. Sensor lines Line B pixel 1 = reference plane Line A pixel 1 Tolerances are typical Drawings are not to scale Fig.
Specifications, Requirements, and Precautions 1.6 Environmental Requirements 1.6.1 Temperature and Humidity Housing temperature during operation: 0° C ... +50° C (+32° F ... +122° F) Humidity during operation: 20% ... 80%, relative, non-condensing Storage temperature: -20° C ... +80° C (-4° F ... +176° F) Storage humidity: 5% ... 95%, relative, non-condensing 1.6.2 Heat Dissipation You must provide sufficient heat dissipation to maintain the temperature of the camera housing at 50° C or less.
Specifications, Requirements, and Precautions 1.7 Precautions Applying Incorrect Camera Power Can Damage the Camera The nominal voltage for the camera power is 12 VDC (± 10%). We do not recommend applying a voltage less than 10.8 VDC or greater than 13.2 VDC. CAUTION The camera has camera power undervoltage protection that is triggered if the voltage drops below 10.5 VDC. It also has camera power overvoltage protection up to 25 VDC. See Section 6.
Specifications, Requirements, and Precautions Avoid Dust on the Sensor CAUTION The 2k and 4k cameras are shipped with caps on the lens mounts. To avoid collecting dust on the camera’s sensor, make sure that the cap is always in place when there is no lens mounted on the camera. Whenever you remove the cap to mount a lens, be sure that the lens mount is pointing down. The 8k cameras are shipped with protective self-adhesive foils covering the lens mounts.
Specifications, Requirements, and Precautions Warranty Precautions To ensure that your warranty remains in force: Do not remove the camera’s serial number label If the label is removed and the serial number can’t be read from the camera’s registers, the warranty is void. Do not open the camera housing Do not open the housing. Touching internal components may damage them.
Physical Interface 2 Physical Interface This section describes the camera’s physical interface. It includes details about connections, input signals, and output signals. It also includes a description of how the Camera Link standard is implemented in the camera. Applying Incorrect Input Power Can Damage the Camera CAUTION The camera’s nominal input power voltage is 12 VDC (± 10%). We do not recommend applying an input voltage less than 10.8 VDC or greater than 13.2 VDC.
Physical Interface 2.1 General Description of the Connections The camera is interfaced to external circuitry via connectors located on the back of the housing: one or two, 26-pin, 0.050 inch Mini D Ribbon (MDR) female connectors used to transfer pixel data, control data, and configuration data. The number of MDR connectors present on the camera varies by camera model as shown in Table 4. a 6-pin, micro-miniature, push-pull receptacle used to provide power to the camera.
Physical Interface 2.2 Connector Pin Assignments and Numbering 2.2.1 Pin Assignments for the MDR Connectors The pin assignments for MDR Connector 1 (see Figure 12 on page 24) are shown in Table 5. The pin assignments for MDR connector 2 are shown in Table 6.
Physical Interface Pin Number Signal Name Direction Level Function 1, 13, 14, 26 1 Gnd Input Ground Ground for the inner shield of the cable 2 Y0- Output Data from the Camera Link transmitter 15 Y0+ Camera Link LVDS 3 Y1- Output Data from the Camera Link transmitter 16 Y1+ Camera Link LVDS 4 Y2- Output Data from the Camera Link transmitter 17 Y2+ Camera Link LVDS 6 Y3- Output Data from the Camera Link transmitter 19 Y3+ Camera Link LVDS 5 YClk- Output Transmit clock
Physical Interface 2.2.2 Pin Assignments for the 6-pin Micro-miniature Receptacle The pin assignments for the 6-pin, micro-miniature, receptacle are as shown in Table 7. Pin Number Signal Name Direction Level Function 1, 2 1 +12 VDC Input +12 VDC (± 10%) Camera power 3, 4 --- --- --- Not used 5, 6 2 DC Gnd Input Ground DC ground Table 7: Pin Assignments for the 6-Pin Receptacle 1 Pins 1 and 2 are tied together inside of the camera.
Physical Interface 2.3 Connector Types 2.3.1 26-pin Connectors Each 26-pin connector on the back of the camera is a female, 0.050 inch MDR connector as called for in the Camera Link specification. 2.3.2 6-pin Connector The 6-pin connector on the camera is a Hirose micro-miniature locking receptacle (part number HR10A-7R-6PB) or the equivalent. The recommended mating connector is the Hirose micro-miniature locking plug (part number HR10A-7P-6S).
Physical Interface 2.4 Cabling Requirements 2.4.1 Camera Link Cable The Mini D Ribbon (MDR) cables used between the camera and your frame grabber must comply with the Camera Link specification. Compliant MDR cable assemblies in several different lengths are available from Basler as stock items. Contact your Basler sales representative for more information. The maximum allowed length for the MDR cable used with a sprint camera is 10 meters. 2.4.
Physical Interface 2.5 Camera Power Camera power must be supplied to the camera’s 6-pin connector via a cable from your power supply. Nominal camera power voltage is +12 VDC (± 10%) with less than one percent ripple. Power consumption is as shown in Table 1 on page 2. The camera has camera power overvoltage protection as described in Section 6.8 on page 145. Applying Incorrect Camera Power Can Damage the Camera The nominal voltage for the camera power is 12 VDC (± 10%).
Physical Interface 2.6 Camera Link Implementation The camera uses National Semiconductor DS90CR287 devices as Camera Link transmitters. For the Camera Link receivers on your frame grabber, we recommend that you use the National Semiconductor DS90CR288, the National Semiconductor DS90CR288A or an equivalent. Detailed data sheets for these components are available at the National Semiconductor web site (www.national.com).
Fig.
Physical Interface 2.7 Input Signals The camera’s input signals include a SerTC signal and an ExSync signal as described below. 2.7.1 Serial to Camera The Serial To Camera (SerTC) input signal is an RS-644 LVDS signal as specified in the Camera Link standard. The signal is input to the camera on pins 7 and 20 of MDR connector one as specified in the standard and as shown in Table 5 on page 25 and in Figure 14 on page 32. Signals applied to the SerTC input are used to configure the camera.
Physical Interface 2.8 Output Signals Data is output from the camera in accordance with the Camera Link standard. The camera’s output signals include pixel data qualifiers such as line valid and data valid, pixel data, a Camera Link clock signal, and a SerTFG signal. 2.8.1 Line Valid Bit As shown in Figure 14 on page 32, a line valid (LVAL) bit is assigned to the Tx24 pin on the X, Y, and Z Camera Link transmitters as defined in the Camera Link standard.
Physical Interface 2.8.4 Camera Link Pixel Clock As shown in Figure 14 on page 32, the Camera Link clock signal is assigned to the strobe port (TxClkIn pin) on the X, Y, and Z Camera Link transmitters as defined in the Camera Link standard. The Camera Link clock is used to time the transmission of acquired pixel data. As shown in Table 8, the Camera Link clock speed is fixed at 40 MHz on some camera models and can be set to either 80 MHz or to 40 MHz on some models.
Physical Interface Notes Keep in mind that a change to the Camera Link clock speed is a parameter change and that parameter changes are normally lost when the camera is reset or switched off and back on. To avoid this, you can make changes to the camera’s parameters, save the changed parameters to a "user set", and then activate the user set. This will ensure that the changed parameters are saved and are loaded into the camera at reset or power off/on.
Physical Interface 2.9 RS-644 Serial Communication The camera is equipped for RS-644 serial communication via a serial port integrated into the frame grabber as specified in the Camera Link standard. The RS-644 serial connection in the Camera Link interface is used to issue commands to the camera for changing modes and parameters. The serial link can also be used to query the camera about its current setup.
Physical Interface 38 Basler sprint Mono Cameras
Line Acquisition Modes 3 Line Acquisition Modes This section describes the line acquisition modes available on the camera. 3.1 Introduction Several different methods can be used to acquire (capture) lines with the sensor in the camera. Each of these different methods is referred to as a line acquisition mode.
Line Acquisition Modes 3.2 Single Line [Max 70 kHz] Acquisition Mode When single line acquisition mode is active, the camera will only use line A. Each time a line acquisition is triggered, only line A will be exposed. When line acquisition is complete (i.e., exposure is finished), the pixel values from the single line will be read out of the sensor and transmitted from the camera. For more information about triggering line acquisition and controlling exposure, see Chapter 4 on page 67.
Line Acquisition Modes 3.3 Dual Line [Max 140 kHz] Acquisition Modes Note The Dual Line [Max 140 kHz] acquisition modes are only available on spL2048140km and spL4096-140km cameras. Two dual line acquisition modes are available: Dual Line [ Max 140 kHz ] - Line A First Dual Line [ Max 140 kHz ] - Line B First When Dual Line [ Max 140 kHz ] - Line A First acquisition modes is active, the camera will use both line A and line B. When an acquisition is triggered, both lines in the sensor are exposed.
Line Acquisition Modes Two ExSync Signal Cycles Required If you have the camera set for a dual line [max 140 kHz] acquisition mode and are you using an ExSync signal to trigger line acquisition, you should be aware that two cycles of the ExSync signal are required to acquire and transmit the two lines in the sensor. Assuming that you have the camera set for the Line A First mode, the first cycle of the ExSync signal will: trigger the start of image acquisition (i.e.
Line Acquisition Modes To better understand the concept of dual line acquisition, consider the example that is illustrated in Figure 16 through Figure 19. This example describes dual line acquisition (line A first) when an ExSync signal and the programmable exposure control mode are used. The example looks at four contiguous "points" on an object moving past the camera. Each point represents the area on the object that will be captured by one line in the sensor when a line acquisition is performed.
Line Acquisition Modes ExSync Cycle 1 Pixel data for point 1 from line A is transmitted from the camera. Drawing not to scale Pixel data for point 2 from line B is stored in a buffer. Image of point 1 acquired by line A. Image of point 2 acquired by line B. Line A Line B Object Passing Camera Point 4 Point 3 Point 2 Point 1 Movement Fig.
Line Acquisition Modes ExSync Cycle 2 Stored pixel data for point 2 from line B is transmitted from the camera. Drawing not to scale Stored pixel data for point 2 from line B. Line A Line B Object Passing Camera Point 4 Point 3 Point 2 Point 1 Movement Fig.
Line Acquisition Modes ExSync Cycle 3 Pixel data for point 3 from line A is transmitted from the camera. Drawing not to scale Pixel data for point 4 from line B is stored in a buffer. Image of point 3 acquired by line A. Image of point 4 acquired by line B. Line A Line B Object Passing Camera Point 4 Point 3 Point 2 Point 1 Movement Fig.
Line Acquisition Modes ExSync Cycle 4 Stored pixel data for point 4 from line B is transmitted from the camera. Drawing not to scale Stored pixel data for point 4 from line B. Line A Line B Object Passing Camera Point 4 Point 3 Point 2 Point 1 Movement Fig.
Line Acquisition Modes Setting the Camera for a Dual Line [Max 140 kHz] Acquisition Mode You can set the camera for two line acquisition mode by using 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). With the CCT+ With the CCT+ (see Section 7.
Line Acquisition Modes 3.4 Vertical Binning Acquisition Mode When the vertical binning acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When acquisition is complete (i.e.
Line Acquisition Modes Setting the Camera for Vertical Binning You can set the camera for vertical binning acquisition mode by using 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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), use the Line Acquisition Mode parameter in the Output Mode parameters group to set the line acquisition mode to Vertical Binning.
Line Acquisition Modes 3.5 Time Delayed Line Summing Acquisition Mode When the time delayed line summing acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When line acquisition is complete (i.e., exposure is finished), the pixel values from line A and from line B will be handled in the following manner: The pixel values for line A will be read out of the sensor and will be stored in a buffer in the camera.
Line Acquisition Modes Acquisition 1 Image acquired by line B is not useful in this case. Image of point 1 acquired by line A. Line A pixel data from this acquisition is stored in a buffer. Line A Line B Object Passing Camera Movement Point 1 Point 2 Point 3 Point 4 Fig.
Line Acquisition Modes Acquisition 2 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data from line A for point 1. Image of point 1 acquired by line B. Image of point 2 acquired by line A. Line A pixel data from this acquisition is stored in a buffer. Line A Line B Object Passing Camera Movement Point 1 Point 2 Point 3 Point 4 Fig.
Line Acquisition Modes Acquisition 3 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data from line A for point 2. Image of point 2 acquired by line B. Image of point 3 acquired by line A. Line A pixel data from this acquisition is stored in a buffer. Line A Line B Object Passing Camera Movement Point 1 Point 2 Point 3 Point 4 Fig.
Line Acquisition Modes Acquisition 4 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data from line A for point 3. Image of point 3 acquired by line B. Image of point 4 acquired by line A. Line A pixel data from this acquisition is stored in a buffer. Line A Line B Object Passing Camera Movement Point 1 Point 2 Point 3 Point 4 Fig.
Line Acquisition Modes Setting the Camera for Time Delayed Line Summing Acquisition Mode You can enable the time delayed line summing acquisition mode by using 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). With the CCT+ With the CCT+ (see Section 7.
Line Acquisition Modes 3.6 Line Averaging Acquisition Mode When the line averaging acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When acquisition is complete (i.e., exposure is finished), the pixel values from line A and from B will be averaged in the following manner: The value for pixel 1 in line A will be added to the value for pixel 1 in line B and the total will be divided by 2 (and rounded up if necessary).
Line Acquisition Modes 3.7 Time Delayed Line Averaging Acquisition Mode The operation of the camera’s time delayed line averaging feature is essentially the same as the time delayed line summing feature with one exception: after the pixel values have been summed, each sum is divided by 2 (and rounded up if necessary). For more information about time delayed line summing (see Section 3.5 on page 51).
Line Acquisition Modes 3.8 Horizontal Binning Horizontal binning is not a discrete line acquisition mode. Rather it is a function that can be used together with any of the other line acquisition modes described earlier in this section. When horizontal binning is enabled, adjacent pixels a sensor line are summed and the sum is transmitted as a single pixel value.
Line Acquisition Modes Enabling Horizontal Binning You can enable horizontal binning 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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the Horizontal Binning parameter in the Output Mode parameters group to enable horizontal binning.
Line Acquisition Modes 3.9 Recommendations for Using Time Delayed Line Summing or Time Delayed Line Averaging 3.9.1 Camera Operating Recommendations To achieve the best results when using time delayed line summing or time delayed line averaging, certain operating requirements should be met. Exposure start should be triggered by an ExSync signal (see Chapter 4 on page 67). Use of the programmable exposure mode is recommended to ensure uniform exposure.
Line Acquisition Modes If an encoder is used but it is not set-up correctly, haloing in the transport direction will result. In this case, the halos will be constant in size. Conveyor Travel The conveyor must travel in a straight line. If the conveyor motion is not straight, each line in the sensor will scan a different area of the object. This situation will cause haloing that is perpendicular to the transport direction. The halos will vary in size.
Line Acquisition Modes 3.9.3 System Design Calculations Our recommended approach for calculating system design criteria is tuned to matching the line of view of the sensor to the width of your conveyor. The example below illustrates this approach. Example Assume the following conditions: Conveyor width = 850 mm Conveyor movement per encoder step = 0.
Line Acquisition Modes movement results. And we must also consider that a change in magnification will result in a change in the amount of conveyor width that is viewed by each sensor line. The calculations below look at the outcomes of our two options: Option 1 Calculate the conveyor movement that will generate 2 encoder steps: 2 steps x 0.09 mm/step = 0.18 mm Calculate the magnification needed to make 0.18 mm of conveyor movement result in 10 µm movement of the image: 10 µm ----------------------- = 0.
Line Acquisition Modes If you choose to use 2 encoder steps to move the image 10 µm, you will require a 1 : 17.86 magnification and at this magnification, the field of view of each sensor line will be 731.55 mm. If you choose to use 3 encoder steps to move the image 10 µm, you will require a magnification of 1 : 27.03 and at this magnification, the field of view of each sensor line will be 1102.92 mm.
Line Acquisition Modes 66 Basler sprint Mono Cameras
Exposure Start and Exposure Time Control 4 Exposure Start and Exposure Time Control This section describes the methods that can be used to trigger the start of exposure and control the length of exposure for each acquisition. Exposure start and exposure time can be controlled via an external trigger signal (ExSync) applied to the camera. The camera can also operate in “free run.” In free run, the camera generates its own internal control signal and does not require an ExSync signal. 4.
Exposure Start and Exposure Time Control ExSync Period Exposure ExSync Signal Line Readout Fig. 27: ExSync Edge Controlled Mode In ExSync level controlled mode, line acquisition begins on the rising edge of the ExSyc signal. The exposure time is determined by the time between the falling edge of ExSync and the next rising edge. The pixels are exposed and charge is accumulated only when ExSync is low. The pixel values are read out of the sensor on the rising edge of the ExSync signal (see Figure 28).
Exposure Start and Exposure Time Control 4.1.2 Selecting an ExSync Exposure Mode & Setting the Exposure Time You can select an ExSync exposure time control mode and set the exposure time for the ExSync programmable mode 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). With the CCT+ With the CCT+ (see Section 7.
Exposure Start and Exposure Time Control Exposure Start Delay In the ExSync edge controlled and ExSync programmable exposure modes, there is a slight delay between the rise of the ExSync signal and the actual start of exposure. In the ExSync level controlled mode, there is a slight delay between the fall of the ExSync signal and the actual start of exposure. This delay is commonly referred to as an exposure start delay. The exposure start delay for each mode is as shown in the table below.
Exposure Start and Exposure Time Control 4.2 Free Run 4.2.1 Basics of Free Run Controlled Operation In free run, an ExSync signal is not required. The camera generates its own internal control signal based on two programmable parameters, “Line Period” and “Exposure Time.” The camera’s internally generated control signal rises and falls in a fashion similar to an ExSync signal.
Exposure Start and Exposure Time Control In free run programmable mode, line acquisition begins on the rising edge of the ExSyc signal. The pixels are exposed and charge is accumulated when the internal control signal is low. The pixel values are read out of the sensor on the rising edge of the internal control signal as shown in Figure 31. In this mode, the line period is determined by the setting for the line period parameter.
Exposure Start and Exposure Time Control If you select the free run programmable mode, you will also need to set the exposure time. You set the exposure time by writing a value in µs to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time field of the Exposure Time CSR (see page 169). Section 7.2.2 on page 164 explains CSRs and the difference between using the “absolute” field and the “raw” field in a CSR. Section 7.3.1 on page 197 explains using read/write commands. 4.
Exposure Start and Exposure Time Control 4.3 Maximum Allowed Line Rate / Minimum Line Period The information in this section is intended to give you a comprehensive understanding about the factors that influence the maximum allowed line rate and how those factors interact. In general, the maximum allowed line acquisition rate can be limited by four factors: The exposure time for the acquired lines. If you use long exposure times, you can acquire fewer lines per second.
Exposure Start and Exposure Time Control Note In 8 tap video data output mode at 80 MHz, the maximum line rate for the spL2048 camera will be less than 140 MHz. The camera will, however, reach a maximum line rate of 140 MHz in 4 tap video data output mode at 80 MHz and 8 tap video data output mode at 40 MHz. Formula 1 calculates the maximum line rate based on the exposure time: 1 Max Lines / s = -------------------------------------------------------------------------------Exposure time in s + .
Exposure Start and Exposure Time Control AOI Length is the length of the AOI based on the current AOI length setting (see Section 6.2 on page 118) p = 0 if the line stamp feature is not enabled (see Section 6.
Exposure Start and Exposure Time Control 4.3.1 Max Segment AOI Pixels Each sensor line in a camera is divided into segments with each segment including 2048 pixels. In cameras equipped with sensors that have 2048 pixels per line, each line has only one segment. In cameras equipped with sensors that have 4096 pixels per line, each line has two segments as shown in Figure 32. In cameras equipped with sensors that have 8192 pixels per line, each line has four segments.
Exposure Start and Exposure Time Control Segment 1 includes 64 of the pixels in the AOI and segment 2 includes 192 of the pixels in the AOI. The Max Seg AOI Pixels in this situation would be 192 (because segment 2 contains the largest part of the AOI and the number of AOI pixels in segment 2 is 192). Segment 1 Pixel 1 Pixel 1985 Segment 2 Pixel 2048 64 Pixels Pixel 2049 Pixel 2240 192 Pixels Pixel 4096 = pixel within the AOI Fig.
Exposure Start and Exposure Time Control Max Segment AOI Pixels with Horizontal Binning If you have horizontal binning enabled (see Section 3.8 on page 59), calculating the Max Segment AOI Pixels is done a bit differently. With horizontal binning enabled, the resolution of the sensor, the segment size, the AOI Starting Pixel, and the AOI Length are all based on "binned" pixels.
Exposure Start and Exposure Time Control 4.3.2 Example of Calculating the Maximum Allowed Line Rate / Minimum Line Period Assume that you are working with an spL4096-140km. Also assume that the camera is set for the dual line [ Max 140 kHz] line acquisition mode and 8 tap 8 bit video data output mode. The AOI starting pixel is set to 1249, AOI length is set to 2400, and the exposure time is set to 4 µs. The stamp feature and horizontal binning are disabled.
Exposure Start and Exposure Time Control Formula 4: CL Clk × Taps Max Lines / s = ----------------------------------------------------------------------------( 12 × Taps ) + AOI Length + p 80000000 × 8 Max Lines / s = -------------------------------------------------( 12 × 8 ) + 2400 + 0 Max Lines / s = 256410 Formula 2 returns the lowest value. So with the current camera settings, the maximum allowed line rate would be 175438 lines per second.
Exposure Start and Exposure Time Control rate yielded by formula three. Formula four (transmission time) will not normally be a restricting factor. But if you are using a 2 tap or a 4 tap video data output mode, you may find that the transmission time is restricting the line rate. In this situation, you may be able to switch to an output mode that uses a larger number of taps.
Exposure Start and Exposure Time Control Model Taps Camera Link Clock Speed Line Acquisition Mode(s) spL2048-39km 2 taps 40 MHz Single spL2048-70km 2 taps 80 MHz Single spL2048-140km 4 taps 80 MHz Dual 8 taps 40 MHz Dual spL4096-20km 2 taps 40 MHz Single spL4096-39km 2 taps 80 MHz Single 4 taps 40 MHz, 80 MHz Single 4 taps 80 MHz Single 8 taps 40 MHz, 80 MHz Single spL4096-140km 8 taps 80 MHz Dual spL8192-20km 4 taps 40 MHz Single spL8192-39km 4 taps 80 MHz Si
Exposure Start and Exposure Time Control 84 Basler sprint Mono Cameras
Video Data Output Modes 5 Video Data Output Modes This section describes the video data output modes available on the camera. The video data output mode will determine the format of the pixel data output from the camera and will affect the camera’s maximum allowed line rate. 5.1 Overview The camera can operate in different "video data output modes." The video data output mode will determine the format of the pixel data output from the camera.
Video Data Output Modes Model Video Data Outmode Modes Camera link Clock Speed(s) spL2048-39km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz spL2048-70km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz or 80 MHz spL2048-140km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz or 80 MHz 4 tap - 8 bit / 4 tap - 10 bit / 4 tap - 12 bit 8 tap - 8 bit* spL4096-20km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz spL4096-39km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12
Video Data Output Modes 5.1.1 Setting the Video Data Output Mode You can set the video data output mode 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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the Video Data Output Mode parameter in the Output Mode parameters group to set the output mode.
Video Data Output Modes 5.2 Video Data Output Mode Details Note The following values for line valid and frame valid delays apply to line acquisitions at full resolution. If a shorter AOI is used, the values for line valid and frame valid delays may be smaller or larger, depending on the size and position of the AOI. Note The bit depths of the video data output modes have no effect on the values for line valid and frame valid delays. 5.2.
Video Data Output Modes 2 Tap - 8 Bit Output Mode Operation in 2 tap 8 bit mode is similar to 2 tap 12 bit mode. In 8 bit mode, however, the four least significant bits output from the camera’s ADCs are dropped and only the 8 most significant bits of data per pixel are transmitted. Note The video data output mode that you select may affect the camera’s maximum allowed line rate. See Section 4.3 on page 74.
Video Data Output Modes MDR Conn.
Video Data Output Modes ExSync Signal Line Valid Delay (see Table 13, Table 14, and Table 15) Line Valid Data Valid Pixel Clock D0 Pixel Data (12, 10, or 8 bits) D1 Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale.
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table 13, Table 14, and Table 15) Line Valid Data Valid Pixel Clock D0 Pixel Data (12, 10, or 8 bits) D1 Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale.
Video Data Output Modes 5.2.1.2 Line Valid Delays for 2 Tap Output Modes The table below shows the line valid delay (see Figure 35 on page 91 and Figure 36 on page 92) when the camera is set for full resolution and a 2 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled. The delay also depends on whether the camera is a 2k, 4k, or 8k camera.
Video Data Output Modes 4k Cameras Line Valid Delays for 2 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.23 µs 3.37 µs 3.83 µs 3.97 µs Edge Controlled Exposure 3.28 µs 3.42 µs 4.18 µs 4.32 µs Level Controlled Exposure 3.23 µs 3.37 µs 3.83 µs 3.
Video Data Output Modes 8k Cameras Line Valid Delays for 2 Tap Modes - 8k Cameras Single Line Acquisition Mode - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.28 µs 3.41 µs 3.98 µs 4.11 µs Edge Controlled Exposure 3.33 µs 3.46 µs 4.33 µs 4.46 µs Level Controlled Exposure 3.28 µs 3.41 µs 3.98 µs 4.
Video Data Output Modes 5.2.2 4 Tap Output Modes 4 Tap - 12 Bit Output Mode In 4 tap 12 bit mode, on each pixel clock cycle, the camera transmits data for four pixels at 12 bit depth, a line valid bit and a data valid bit. In the 4 tap output modes, the camera uses the output ports on Camera Link Transmitters X and Y to transmit pixel data, a line valid bit, a data valid bit, and the Camera Link pixel clock.
Video Data Output Modes 5.2.2.1 Video Data Sequence for 4 Tap Modes When the camera is not transmitting valid data, the line valid and data valid bits sent on each cycle of the pixel clock will be low. Once the camera has completed an exposure, there will be a delay while data is read out of the sensor. When readout is complete, the camera will begin to transmit pixel data: On the clock cycle where valid pixel data transmission begins, the line valid and data valid bits both become high.
Video Data Output Modes MDR Conn.
Video Data Output Modes MDR Conn 2, Transmitter Y Port Camera Frame Grabber Bit Assignment 4 Tap - 12 Bit 4 Tap - 10 Bit 4 Tap - 8 Bit Port D0 TxIN0 RxOut0 D3 Bit 0 D3 Bit 0 D3 Bit 0 Port D1 TxIN1 RxOut1 D3 Bit 1 D3 Bit 1 D3 Bit 1 Port D2 TxIN2 RxOut2 D3 Bit 2 D3 Bit 2 D3 Bit 2 Port D3 TxIN3 RxOut3 D3 Bit 3 D3 Bit 3 D3 Bit 3 Port D4 TxIN4 RxOut4 D3 Bit 4 D3 Bit 4 D3 Bit 4 Port D5 TxIN6 RxOut6 D3 Bit 5 D3 Bit 5 D3 Bit 5 Port D6 TxIN27 RxOut27 D3 Bit 6 D3 Bit 6
Video Data Output Modes ExSync Signal Line Valid Delay (see Table 18, Table 19, and Table 20) Line Valid Data Valid Pixel Clock D0 Pixel Data (12, 10, or 8 bits) D1 Pixel Data (12, 10, or 8 bits) D2 Pixel Data (12, 10, or 8 bits) D3 Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale.
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table 18, Table 19, and Table 20) Line Valid Data Valid Pixel Clock D0 Pixel Data (12, 10, or 8 bits) D1 Pixel Data (12, 10, or 8 bits) D2 Pixel Data (12, 10, or 8 bits) D3 Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale.
Video Data Output Modes 5.2.2.2 Line Valid Delays for 4 Tap Output Modes The table below shows the line valid delay (see Figure 37 on page 100 and Figure 38 on page 101) when the camera is set for full resolution and a 4 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled.The delay also depends on whether the camera is a 2k, 4k, or 8k camera.
Video Data Output Modes 4k Cameras Line Valid Delays for 4 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.22 µs 3.34 µs 10.24 µs 10.36 µs Edge Controlled Exposure 3.27 µs 3.39 µs 10.59 µs 10.71 µs Level Controlled Exposure 3.22 µs 3.34 µs 10.24 µs 10.
Video Data Output Modes 8k Cameras Line Valid Delays for 4 Tap Modes - 8k Cameras Single Line Acquisition Mode - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.28 µs 3.41 µs 10.38 µs 10.51 µs Edge Controlled Exposure 3.33 µs 3.46 µs 10.73 µs 10.86 µs Level Controlled Exposure 3.28 µs 3.41 µs 10.38 µs 10.
Video Data Output Modes 5.2.3 8 Tap 8 Bit Output Mode In 8 tap 8 bit output mode, on each pixel clock cycle, the camera transmits data for eight pixels at 8 bit depth, a line valid bit and a data valid bit. In the 8 tap output mode, the camera uses the output ports on Camera Link Transmitters X, Y and Z to transmit pixel data, a line valid bit, a data valid bit, and the Camera Link pixel clock.
Video Data Output Modes transmit data for pixel 18. Data stream D2 will transmit data for pixel 19. Data stream D3 will transmit data for pixel 20. Data stream D4 will transmit data for pixel 21. Data stream D5 will transmit data for pixel 22. Data stream D6 will transmit data for pixel 23. And data stream D7 will transmit data for pixel 24. The pixel data will be at 8 bit depth. This pattern will continue until all of the pixel data for line one has been transmitted.
Video Data Output Modes MDR Conn.
Video Data Output Modes MDR Conn 2, Transmitter Y Port Camera Frame Grabber Bit Assignment 8 Tap - 8 Bit Port D0 TxIN0 RxOut0 D3 Bit 0 Port D1 TxIN1 RxOut1 D3 Bit 1 Port D2 TxIN2 RxOut2 D3 Bit 2 Port D3 TxIN3 RxOut3 D3 Bit 3 Port D4 TxIN4 RxOut4 D3 Bit 4 Port D5 TxIN6 RxOut6 D3 Bit 5 Port D6 TxIN27 RxOut27 D3 Bit 6 Port D7 TxIN5 RxOut5 D3 Bit 7 (MSB) Port E0 TxIN7 RxOut7 D4 Bit 0 Port E1 TxIN8 RxOut8 D4 Bit 1 Port E2 TxIN9 RxOut9 D4 Bit 2 Port E3 TxIN12 RxO
Video Data Output Modes MDR Conn 2, Transmitter Z Port Camera Frame Grabber Bit Assignment 8 Tap - 8 Bit Port G0 TxIN0 RxOut0 D6 Bit 0 Port G1 TxIN1 RxOut1 D6 Bit 1 Port G2 TxIN2 RxOut2 D6 Bit 2 Port G3 TxIN3 RxOut3 D6 Bit 3 Port G4 TxIN4 RxOut4 D6 Bit 4 Port G5 TxIN6 RxOut6 D6 Bit 5 Port G6 TxIN27 RxOut27 D6 Bit 6 Port G7 TxIN5 RxOut5 D6 Bit 7 (MSB) Port H0 TxIN7 RxOut7 D7 Bit 0 Port H1 TxIN8 RxOut8 D7 Bit 1 Port H2 TxIN9 RxOut9 D7 Bit 2 Port H3 TxIN12 RxO
Video Data Output Modes ExSync Signal Line Valid Delay (see Table 24, Table 25, and Table 26) Line Valid Data Valid Pixel Clock D0 Pixel Data (8 bits) D1 Pixel Data (8 bits) D2 Pixel Data (8 bits) D3 Pixel Data (8 bits) D4 Pixel Data (8 bits) D5 Pixel Data (8 bits) D6 Pixel Data (8 bits) D7 Pixel Data (8 bits) Timing diagrams are not to scale.
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table 24, Table 25, and Table 26) Line Valid Data Valid Pixel Clock D0 Pixel Data (8 bits) D1 Pixel Data (8 bits) D2 Pixel Data (8 bits) D3 Pixel Data (8 bits) D4 Pixel Data (8 bits) D5 Pixel Data (8 bits) D6 Pixel Data (8 bits) D7 Pixel Data (8 bits) Timing diagrams are not to scale.
Video Data Output Modes 5.2.3.2 Line Valid Delays for 8 Tap Output Modes The table below shows the line valid delay (see Figure 39 on page 110 and Figure 40 on page 111) when the camera is set for full resolution and an 8 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled. The delay also depends on whether the camera is a 2k, 4k, or 8k camera.
Video Data Output Modes 4k Cameras Line Valid Delays for 8 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 9.64 µs 9.76 µs 13.44 µs 13.56 µs Edge Controlled Exposure 9.99 µs 10.11 µs 13.79 µs 13.91 µs Level Controlled Exposure 9.64 µs 9.76 µs 13.44 µs 13.
Video Data Output Modes 8k Cameras Line Valid Delays for 8 Tap Modes - 8k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 9.68 µs 9.81 µs 13.58 µs 13.71 µs Edge Controlled Exposure 10.03 µs 10.16 µs 13.93 µs 14.06 µs Level Controlled Exposure 9.68 µs 9.81 µs 13.58 µs 13.
Features 6 Features 6.1 Gain and Offset 6.1.1 Gain Gain is adjustable. As shown in Figure 41, increasing the gain setting increases the slope of the camera’s response curve and results in higher camera output for a given amount of light input. Decreasing the gain setting decreases the slope of the response curve and results in lower output for a given amount of light. Gain is adjustable on an integer scale. The minimum gain setting for all video data output modes is 2731.
Features If you know the integer setting for the gain, you can calculate the resulting dB of gain that the camera will achieve by using the following formula: setting Gain in dB = 20 × log 10 ⎛ -----------------⎞ ⎝ 4096 ⎠ Setting the Gain You can set the gain 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). With the CCT+ With the CCT+ (see Section 7.
Features Setting the Offset You can set the offset 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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the Offset parameter in the Gain & Offset parameters group to set the offset.
Features 6.2 Area of Interest The area of interest feature lets you specify a portion of the sensor lines. During operation, only the pixel information from the specified portion of the lines is read out of the sensor and transmitted from the camera to the frame grabber. The size of the area of interest is defined by declaring a starting pixel and a length in pixels.
Features When the area of interest feature is used, the maximum allowed line rate may increase. For more information about the impact of the AOI settings on the maximum allowed line rate, see Section 4.3 on page 74. Using the AOI Feature with Horizontal Binning Enabled If the camera’s horizontal binning feature (see Section 3.8 on page 59) is enabled, it will have an effect on the way that you set up the area of interest.
Features 6.2.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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the AOI Starting Pixel parameter and the AOI Length parameter in the AOI parameters group to set the AOI.
Features 6.3 Shading Correction In theory, when a digital camera captures an image of a uniform object, the pixel values output from the camera should be uniform. In practice, however, variations in optics and lighting and small variations in the sensor’s performance can cause the camera output to be non-uniform even when it is capturing images of a uniform object.
Features The second shading values file is called the "usershading" file. This file can also hold a complete collection of the values needed to perform both DSNU and PRNU shading correction. The values stored in this file must be generated by the camera user while the camera is operating under its real world conditions. This file contains the shading values that will normally be used for day-to-day camera operation. A procedure describing how to generate the values in this file appears on the next page.
Features 6.3.2 Generating and Saving User Shading Correction Values This section includes procedures for generating the user DSNU and PRNU shading correction values that will be stored in the user shading correction values file. If you will be setting the camera to do DSNU correction only, then you only need to perform the DSNU procedure. If you will be setting the camera to do PRNU correction only, then you only need to perform the PRNU procedure.
Features b. You can also start the generation of a set of DSNU values by using a binary write command (see Section 7.3 on page 196) to write a value to the Generate field of the Shading Value Generate CSR (see page 178). 6. The camera must make at least 64 acquisitions to create a set of DSNU shading correction values. If your camera is set to control exposure with an ExSync signal, you must generate at least 64 ExSync signal cycles after you signal the camera to begin generating the values.
Features Generating and Saving User PRNU Shading Correction Values The procedure below describes how to generate user PRNU shading correction values. When you generate the values, they will automatically be stored in the camera’s user shading value file.
Features 6. Begin acquiring lines either by generating an ExSync signal to trigger line capture or by setting the camera for a free run exposure time control mode. Note When you generate the PRNU values in the step below, you will have two options: 1. You can generate the PRNU values without using DSNU shading correction. If you do this the pixel values used to calculate the PRNU correction values will not be corrected for DSNU. 2. You can generate the PRNU values with using DSNU shading correction.
Features However, the data in these lines is not useful to you and should be ignored. Note If you started the generation of the shading values using the CCT+, you are using an ExSync signal to trigger acquisitions, and you are operating the camera at a line period greater than approximately 300 ms, you should be aware of a potential problem. Under these conditions, the CCT+ may time out while it is waiting for the camera to complete 128 acquisitions and you may see a “Camera is not responding ...
Features 6.3.3 Activating a Shading Values File As explained in Section 6.3 on page 121, the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in Section 6.3.2 on page 123, you can also generate a set of "user" shading values and save them to a separate file in the non-volatile memory.
Features 6.3.4 Copying the Factory Shading Values into the User Shading Values File As explained in Section 6.3 on page 121, the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in Section 6.3.2 on page 123, you can also generate a set of "user" shading values and save them to a separate file in the non-volatile memory.
Features 6.3.5 Downloading a Shading Values File to Your PC Once you have generated a set of user shading values in the user shading values file as described in Section 6.12.1 on page 151, you can download the user shading values file to your PC. You can also download the factory shading values file to your PC.
Features 6.3.6 Uploading a Shading Values File to Your Camera Once you have downloaded a user shading values file to your PC as described on the previous page, you can upload the file from your PC to a camera. Using the download function together with the upload function is useful if you want to transfer a user shading values file from one camera to another camera of the same type.
Features 6.4 Test Images The test image mode is used to check the camera’s basic functionality and its ability to transmit an image via the video data cables. Test images are especially useful for service purposes and for failure diagnostics. In test mode, the image is generated with a software program and the camera’s digital devices and does not use the optics, imaging sensor, or ADCs. Four test images are available.
Features 6.4.1 Test Image One (Fixed Gradient) When the camera is set for an 8 bit output mode, test image one is formed with an odd/even gray scale gradient that ranges from 0 to 255 and repeats every 512 pixels as shown in Figure 43. The odd pixel gradient starts at 0 and steps up, that is, the gray value of pixel 1 is 0, the gray value of pixel 3 is 1, the gray value of pixel 5 is 2, and so forth.
Features 6.4.2 Test Image Two (Moving Gradient) Test image two is formed with a gray scale gradient that ranges from 0 to 255 and repeats every 256 pixels as shown in Figure 45. The gradient starts at 0 and steps up, that is, the gray value of pixel 1 is 0, the gray value of pixel 2 is 1, the gray value of pixel 3 is 2, and so forth. The pattern shifts by one pixel each time the ExSync signal or the camera’s internal control signal cycles.
Features 6.4.3 Test Image Three (Uniform Black) In test image three, all pixels will always have a value of 0 regardless of the output mode. Test image three should always appear as a uniform, black image. Test image three is useful for checking the integrity of the data transmitted by the camera. If you capture lines and examine the pixel values in the captured lines, the values should be exactly as described above. 6.4.
Features 6.5 Line Stamp The line stamp feature provides you with information about each acquired line such as the line counter value, the sum of the pixel values in the line, and the contrast value of the line. When the line stamp feature is enabled, 16 extra "stamp pixel" values are added to the end of each transmitted line as shown in Figure 47.
Features If the line stamp feature is used together with the AOI feature (see Section 6.2 on page 118), the stamp pixels are transmitted immediately after the last pixel in the AOI as shown in Figure 48. The figure illustrates what you would see if the AOI was set for a starting pixel of 33 and a length in pixels of 256. The line valid and data valid signals will be high while the pixels in the AOI and the stamp pixels are transmitted. Fig.
Features The table below lists the function of each stamp pixel. A more detailed explanation of how to interpret the pixel values follows the table.
Features Stamp Pixels S3 and S4 Stamp pixels S3 and S4 represent the least significant and most significant bytes (respectively) of the line counter. The line counter increments by one for each line captured by the camera. The counter starts at 0 and wraps at 65535 (decimal). The line counter is reset to 0 whenever the camera is switched off or reset. The counter is also reset to 0 whenever the line stamp feature is disabled.
Features that the total high pixel values are increasing over a period of time, a decrease in the gain setting would be appropriate. Stamp Pixels S13, S14, and S15 Stamp pixels S13, S14, and S15 represent the least significant, middle, and most significant bytes (respectively) of the line contrast. The line contrast is the sum of the difference in pixel values for each pair of neighboring pixels in the captured line.
Features 6.6 Lookup Table The sensor circuitry in the camera acquires pixel data at 12 bit depth. However, when the camera is set for an 8 bit video data output format, pixel data is only output at 8 bit depth. With the camera set for an 8 bit format, it normally converts the 12 bit data output from the sensor to 8 bit data by simply truncating the least significant 4 bits.
Features When the lookup table feature is enabled, the camera will operate in this manner: If the sensor reports that a pixel has a 12 bit value of 0, the 8 bit value stored at index 0 will be transmitted. If the sensor reports that a pixel has a 12 bit value of 4, the 8 bit value stored at index 4 will be transmitted. If the sensor reports that a pixel has a 12 bit value of 8, the 8 bit value stored at index 8 will be transmitted.
Features Entering Values Into the Lookup Table You can enter 8 bit values into the lookup table 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). With the CCT+ With the CCT+ (see Section 7.1 on page 156), entering an 8 bit value at an index in the lookup table is a two step process: 1.
Features 6.7 Imaging Sensor Temperature The camera is equipped with a temperature sensor that lets you monitor the temperature of the imaging sensor. You can check the temperature of the imaging sensor with the Camera Configuration Tool Plus (CCT+) or by using binary read commands from within your own application to read the camera’s inquiry registers. With the CCT+ With the CCT+ (see Section 7.
Features 6.8 Camera Power Undervoltage and Overvoltage Protection The camera’s nominal camera power voltage is 12 VDC (± 10%). We do not recommend applying less than 10.8 VDC or greater than 13.2 VDC. The camera has camera power undervoltage protection: If the camera power voltage is less than 10.5 VDC, the camera’s internal power regulator will automatically disconnect, and the camera will no longer operate.
Features 6.9 Error Condition Detection 6.9.1 Imaging Sensor Overtemperature Condition Detected As described in Section 6.7 on page 144, the camera includes a temperature sensor that is used to monitor the temperature of the imaging sensor. The camera also has imaging sensor overtemperature protection. If the temperature of the camera’s imaging sensor rises above 75° C, an overtemperature condition will be detected and the circuitry for the imaging sensor will switch off.
Features 6.9.2 Camera Power Overvoltage Condition Detected The required camera power voltage for the camera is 12 VDC ± 10%. If a camera power power voltage between 14 and 18 VDC is applied to the camera, a camera power overvoltage condition will be detected. The LED on the back of the camera will begin to flash red. When the camera power voltage is returned to its normal range, the error condition will clear and the LED will stop flashing.
Features 6.10 Camera Status Checks During operation, the camera performs a continuous series of self checks. You can view the current camera status in several ways: by using the Camera Configuration Tool Plus (see Section 7.1 on page 156). Check the Camera Status parameter in the Camera Information parameters group to see if any error codes are present.
Features 6.12 Configuration Sets Non-volatile Memory (flash) UserSet01 Volatile Memory (RAM) A configuration set is a group of values that contains all of the parameter settings needed to control the camera. There are three basic types of configuration sets: the work configuration set, the factory configuration set, and user configuration sets.
Features Note For 8k cameras, only two user sets (UserSet01 and UserSet02) are available. Note The configuration sets described in this section only include parameter settings and the values stored in the lookup table (see Section 6.6 on page 141). Configuration sets do not include the values used for shading correction. Values for shading correction are stored in a different file. For more information about shading correction and shading correction values, see Section 6.3 on page 121.
Features 6.12.1 Saving the Work Set to a User Set File As mentioned above, the work configuration set is stored in the camera’s volatile memory and the parameter settings in the work set are lost if the camera is reset or if power is switched off. The camera can save the current work set values in the volatile memory to files in the camera’s nonvolatile memory. Files in the non-volatile memory are not lost at reset or power off.
Features 6.12.2 “Activating” a User Set File or the Factory Set File As explained on page 149, a factory configuration set containing an optimized set of parameters is created when the camera is manufactured. The factory set is saved in a permanent file in the camera’s non-volatile memory. As explained on page 151, you can also save up to four different "user" configuration sets to files in the camera’s non-volatile memory.
Features 6.12.3 Which Configuration Set File will Load at Startup or at Reset? On the initial wake-up after delivery, the camera loads the factory configuration set into the work set. At each subsequent power on or reset, the configuration set file that was last activated is loaded into the work set. If there is no activated file, the factory set file will be loaded into the work set. 6.12.
Features 6.12.5 Uploading Configuration Set Files to Your Camera Once you have downloaded user configuration set files to your PC as described on the previous page, you can upload the files from your PC to a camera. Using the download function together with the upload function is useful if you want to transfer a user set file from one camera to another camera of the same type.
Configuring the Camera 7 Configuring the Camera The camera comes with a factory set of parameters that will work properly for most applications with only minor changes.
Configuring the Camera 7.1 Configuring the Camera with the Camera Configuration Tool Plus (CCT+) The Camera Configuration Tool Plus (CCT+) is a Windows™ based program used to easily change the camera’s parameter settings. The CCT+ is especially useful during initial camera testing and the camera design in process. The CCT+ communicates via the RS-644 serial connection that is integrated into the Camera Link interface between the frame grabber and the camera.
Configuring the Camera 7.2 Configuring the Camera By Setting Registers The camera has blocks of mapped memory space known as registers. By reading values from the registers, you can determine basic information about the camera and information about the camera’s current parameter settings. By writing values to the registers, you can set camera parameters and control how the camera’s features will operate.
Configuring the Camera 7.2.1 Inquiry Registers Inquiry registers contain basic information about the camera and information about the camera’s current status. Each inquiry register contains one or more fields and each field has an assigned address within the camera’s memory space. By using a binary read command, you can read the data in a field and get information about the camera. The address for any field within a register is equal to the register base address plus the offset for the field.
Configuring the Camera Product ID Inquiry Register Base Address: 0x0300 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this inquiry register: 0x00 = The register is not available 0x01 = The register is available Field Name: Product ID Offset: 0x0001 Size: 20 Bytes Type: Read only Description: String containing the camera’s product ID number.
Configuring the Camera Firmware Version Inquiry Register Base Address: 0x0510 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this inquiry register: 0x00 = The register is not available 0x01 = The register is available Field Name: Firmware Version Offset: 0x0001 Size: 128 Bytes Type: Read only Description: String containing the camera’s firmware version.
Configuring the Camera Camera Status Inquiry The camera has been programmed to detect several error conditions. When an error condition is detected, a flag is set. The camera status inquiry register allows you to read the error flags.
Configuring the Camera FPGA Status Inquiry The camera has been programmed to detect several error conditions in its field programmable gate array (FPGA). When an error condition is detected, a flag is set. The FPGA status inquiry register allows you to read the error flags.
Configuring the Camera Binary Command Protocol Status Inquiry The camera has been programmed to detect several errors in the format of any binary commands received by the camera. When an error condition is detected, a flag is set. The binary command status inquiry register allows you to read the error flags.
Configuring the Camera 7.2.2 Feature Control and Status Registers The feature control and status registers (CSRs) let you set the parameters for camera features such as exposure mode, gain, offset, and the AOI. These registers also let you check the current parameter settings and the status for each feature. Each feature has one or more CSRs associated with it. The fields within a feature’s CSR(s) are used to control how the feature operates.
Configuring the Camera Setting the Absolute Gain If you set the gain by writing a value to the Absolute Gain field of the Gain CSR, you can write a floating point value from -12.04 to +12.04 (decimal) in increments of 0.01. Writing a floating point value to the absolute register sets the gain directly in dB. For example, if the absolute gain field is set to 3.42, then the camera would be set for 3.42 dB of gain. Note You do not need to set both the raw field and the absolute field.
Configuring the Camera 7.2.2.
Configuring the Camera Line Acquisition Mode CSR Register Base Address: 0x3600 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to
Configuring the Camera Horizontal Binning CSR Register Base Address: 0x1B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to t
Configuring the Camera Exposure Time CSR Note: The exposure time can be set by writing a floating point value to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Configuring the Camera Field Name: Raw Min Offset: 0x0011 Size: 4 Bytes Type: Read only Description: Minimum allowed integer value for the raw exposure time setting. This field is updated to reflect limitations caused by the way that any related fields are set.
Configuring the Camera Line Period CSR Note: The line period can be set by writing a floating point value to the Absolute Line Period field or by writing an integer value to the Raw Line Period field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Configuring the Camera Field Name: Raw Min Offset: 0x0011 Size: 4 Bytes Type: Read only Description: Minimum allowed integer value for the raw line period setting. This field is updated to reflect limitations caused by the way that any related fields are set.
Configuring the Camera Gain CSR Note: The gain can be set by writing a floating point value to the Absolute Gain field or by writing an integer value to the Raw Gain field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Configuring the Camera Offset CSR Note: The offset can be set by writing a floating point value to the Absolute Offset field or by writing an integer value to the Raw Offset field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Configuring the Camera Field Name: Raw Offset Offset: 0x000D Size: 2 Bytes Type: Read/Write Description: Writing an integer value to this field sets the offset. The allowed range for this value can vary depending on how the camera is configured. You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration.
Configuring the Camera Area of Interest Starting Pixel CSR Register Base Address: 0x1000 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Starting Pixel Offset: 0x0001 Size: 2 Bytes Type: Read/Write Description:
Configuring the Camera Area of Interest Length CSR Register Base Address: 0x100A Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Length Offset: 0x0001 Size: 2 Bytes Type: Read/Write Description: Writing an inte
Configuring the Camera Shading Mode CSR Register Base Address: 0x2000 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to this fi
Configuring the Camera Test Image Mode CSR Register Base Address: 0x1800 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to this
Configuring the Camera Line Stamp Mode CSR Register Base Address: 0x2B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to this
Configuring the Camera Line Stamp Low Pixel Limit CSR Register Base Address: 0x2B20 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Low Pixel Limit Offset: 0x0001 Size: 2 Bytes Type: Read/Write Description: Wri
Configuring the Camera Line Stamp High Pixel Threshold CSR Register Base Address: 0x2B40 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: High Pixel Threshold Offset: 0x0001 Size: 2 Bytes Type: Read/Write Descri
Configuring the Camera Lookup Table Mode CSR Register Base Address: 0x4100 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer to th
Configuring the Camera Lookup Table Index CSR Register Base Address: 0x4108 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Lookup Table Index Offset: 0x0001 Size: 2 Bytes Type: Read/Write Description: Writing
Configuring the Camera Lookup Table Value CSR Register Base Address: 0x4111 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Lookup Table Value Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing a
Configuring the Camera Camera Reset CSR Register Base Address: 0x0B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Reset Offset: 0x0001 Size: 1 Byte Type: Read/Write Description: Writing an integer value of
Configuring the Camera Serial Communication CSR An RS-644 serial connection is integrated into the Camera Link interface between the frame grabber installed in your computer and the camera. The serial connection is used to issue commands to the camera for changing modes and parameters. You can use the serial communication CSR to set the bitrate for the camera’s RS-644 serial port. The default setting is 9600 bps. The setting is changed immediately after the successful receipt of this command.
Configuring the Camera 7.2.3 Bulk Data and the Bulk Data Control and Status Registers The term “bulk data” refers to a collection of values used by the camera as a block. A configuration set (see Section 6.12 on page 149) is an example of one type of bulk data. A single configuration set contains values for all of the normal parameter settings needed to configure the camera and the values within a configuration set are used by the camera as a block. A set of shading values (see Section 6.
Configuring the Camera 7.2.3.1 Using the Configuration Set Bulk Data CSR Saving the Work Configuration Set to a User Set File As described in Section 6.12 on page 149, the work configuration set resides in the camera’s volatile memory. Assume that you want to save the parameter values in the current work set to the UserSet01 file in the camera’s non-volatile memory. To do so, you would follow this procedure: 1.
Configuring the Camera This procedure would find the UserSet01 file in the non-volatile memory and would copy the values in the file into the camera’s volatile memory. 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. If you want to activate the factory set, you would following a similar procedure but use FactorySet as the file name.
Configuring the Camera This procedure will copy the contents of the factory shading values file into the user shading values file. Note that any existing data in the user shading values file will be overwritten. Sample code that illustrates how to create a bulk data file is available from Basler (seeSection 7.4 on page 204). 7.2.3.
Configuring the Camera Downloading a Bulk Data File from the Camera to a PC You can download a bulk data file from the camera’s non-volatile memory to your host PC. As an example, assume that you have saved a configuration set to the UserSet02 file and that you want to download this file from the camera to your host PC. To do so, you would follow this procedure: Use a binary write command to write the file name UserSet02 to the Name field of the configuration set bulk data CSR. 1.
Configuring the Camera Uploading a Bulk Data File from a PC to the Camera You can upload a bulk data file from your host PC to the camera’s non-volatile memory. As an example, assume that you previously downloaded a saved configuration set file named UserSet02 to your PC. Also assume that you now want to upload this file from your host PC to a camera. To do so, you would follow this procedure: 1.
Configuring the Camera 7.2.3.4 Bulk Data Control and Status Register Details Configuration Set CSR See Section 7.2.3.1 on page 189 for information about using the configuration set bulk data control register.
Configuring the Camera Shading Values CSR See Section 7.2.3.2 on page 190 for information about using the shading values bulk data control registers.
Configuring the Camera 7.3 Using Binary Read/Write Commands As explained in Section 7.2 on page 157, each camera has control and status registers with one or more fields that are used to set the values for parameters associated with a camera feature. For example, the gain control and status register has two fields that can be used to set the camera’s gain (see Section 6.1 on page 115). By writing values to fields in the control registers, you configure the camera and control how it operates.
Configuring the Camera 7.3.1 The Binary Read/Write Command Protocol With the binary read/write command protocol, data is placed into a “frame” and sent to the camera. When the frame is received, it is checked for validity. If valid, the data is extracted from the frame and the command is executed. This section describes the basic layout of a binary command frame. Figure 50 shows a graphical representation of the fields within a binary command frame.
Configuring the Camera The value in the OpCode portion of the FTF field defines the function of the binary command, that is, whether it is a read command or a write command. The following OpCodes are available: OpCode Function 0b00000 This is a write command used to write a single setting to the camera. 0b00001 This is a read command used to read a single setting from the camera. 0b00010 This is a read response frame without an address field. (The AddrLen bits are "don’t care").
Configuring the Camera DataLen Data Length field For read commands, the DataLen field indicates the number of bytes to read from the given CSR address. For write commands, the DataLen field indicates the number of bytes contained in the Data field. Size = 1 byte Range of possible settings: 0 to 255. DataLen = 0 will result in an ACK, but no further command will be executed. Address Address field For read commands, indicates the CSR address for the read.
Configuring the Camera 7.3.1.1 Error Checking and Responses ACK/NAK When the camera receives a frame, it checks to see if the order of the bytes in the frame is correct. If the FTF field indicates that the frame includes a BCC, the camera checks to see if the XOR sum of the relevant frame fields matches the block check character. The camera also checks to see if the number of bytes in the data field is equal to the number specified in the DataLen field.
Configuring the Camera 7.3.2 Basic Read/Write Command Explanations 7.3.2.1 Read Command This section includes a text description the hex digits included in a command message used to read the Status field of the Test Image Mode CSR (see page 179). 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 7.4 on page 204).
Configuring the Camera 7.3.2.2 Write Command This section includes a text description the hex digits included in a command message used to write a value of 0x01 to the Mode field of the Test Image Mode CSR (see page 179). 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 7.4 on page 204).
Configuring the Camera 7.3.2.3 Calculating the Block Check Character The use of a block check character (BCC) in camera commands is optional (see Section 7.3.1 on page 197). If you choose to use a BCC, the BCC will be the exclusive-or sum (XOR sum) of the bytes in the FTF field, the DataLen field, the Address field and the Data field of the command frame. For the write command example shown in Section 7.3.2.2 on page 202, the block check character is 0x18.
Configuring the Camera 7.4 Binary Command Sample Code Sample code that illustrates how to use binary commands with sprint cameras is available at the Basler web site. Please look for the Binary Protocol II programming sample at: http://www.baslerweb.
Troubleshooting and Support 8 Troubleshooting and Support This section outlines the resources available to you if you need help working with your camera. It also provides some basic troubleshooting information that you can use to solve problems. 8.1 Tech Support Resources The troubleshooting resources in this section of the manual will help you to find the cause of many common problems. If you need more assistance, you can contact the Basler technical support team for your area.
Troubleshooting and Support 8.2 Fault Finding Using the Camera LED During bootup, the camera loads firmware and performs initial self checks. Once bootup is complete, the camera performs a continuous series of self checks. If an error condition is detected, the LED will begin to flash. The number of flashes indicate the detected error as shown in Table 30. If several error states are present, the LED outputs the error code that has the highest priority.
Troubleshooting and Support LED Repeated pattern of 4 slow orange flashes Description One of the following errors is present: Priority 6 A byte time-out has occurred (see Section 7.3.1.1 on page 200). Invalid OpCode in a read or write command (see Section 7.3.1 on page 197). Incoming data has been discarded since no BFS was included (see Section 7.3.1 on page 197). Invalid BCC in a read or write command (see Section 7.3.1 on page 197).
Troubleshooting and Support 8.3 Troubleshooting Charts The following pages contain several troubleshooting charts that can help you find the cause of problems users sometimes encounter. The charts assume that you are familiar with the camera’s features and settings and with the settings for your frame grabber. If you are not, we suggest you review the manuals for your camera and frame grabber before you troubleshoot a problem.
Troubleshooting and Support 8.3.1 No Image Use this chart if you see no image at all when you attempt to capture an image with your frame grabber (in this situation, you will usually get a message from the frame grabber such as “time-out”). If you see a poor quality image, a completely black image, or a completely white image, use the chart in Section 8.3.2 on page 211. Before making or breaking any camera connections, always switch off power to the system (camera and host PC).
Troubleshooting and Support Check to make sure that the RS-644 serial connection (see Section 2.9 on page 37) is working correctly. You can do this by starting the Camera Configuration Tool Plus (CCT+). When you start the tool, a startup graphic should appear and then a window that shows a list of parameter settings should appear. (If this is the first time that you are using the tool, you will see an empty window with a drop down menu at the top which says “No port selected”.
Troubleshooting and Support 8.3.2 Poor Quality Image Use this chart if the image is poor quality, is completely white, or is completely black. If you get no image at all when you attempt to capture an image with the frame grabber, use the chart that appears in Section 8.3.1 on page 209. Use the Camera Configuration Tool Plus (CCT+) to set the camera for test image one. Capture several images and carefully check the pixel values in each image.
Troubleshooting and Support 8.3.3 Interfacing Use the interfacing troubleshooting chart if you think that there is a problem with the cables between your devices or if you have been directed here from another chart. Before making or breaking any camera connections, always switch off power to the system (camera and host PC). If you have not already do so, use a voltmeter to check the power source for the camera. The output must be 12 VDC ± 1.2 V.
Troubleshooting and Support 8.3.4 RS-644 Serial Communication Use the serial communication troubleshooting charts if you think that there is a problem with RS644 serial communication or if you have been directed here from another chart. Before making or breaking any camera connections, always switch off power to the system (camera and host PC). The RS-644 port used by the camera is located on the frame grabber. Check the documentation for your frame grabber.
Troubleshooting and Support 8.3.5 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 Basler technical support. Copy the form that appears on this and the next page (or download it from the support section of www.baslerweb.com), fill it out, and fax the pages to your local dealer or to your nearest Basler support center.
Troubleshooting and Support 1 The camera’s product ID: 2 The camera’s serial number: 3 The operating system: 4 Frame grabber that you use with the camera: 5 CCT+ version that you use with the camera: 6 Describe the problem in as much detail as possible: (If you need more space, use an extra sheet of paper.) 7 If known, what’s the cause of the problem? 8 When did the problem occur? After start. While running. After a certain action (e.g.
Troubleshooting and Support 10 How severe is the problem? Camera can still be used. Camera can be used after I take this action: Camera can no longer be used. 11 Did your application ever run without problems? 12 Parameter set Yes No It is very important for Basler technical support to get a copy of the exact camera parameters that you were using when the problem occurred. To make a copy of the parameters, start the CCT+, select the File menu, and click Dump Current Settings to File.
Revision History Revision History Doc. ID Number Date Changes AW00016201000 5 Dec 2006 Draft version for review only. AW00016202000 1 Feb 2007 Preliminary version. Applies to prototypes only. AW00016203000 11 Jul 2007 First release covering production cameras. AW00016204000 25 Oct 2007 Updated the camera version ID number stated in Section 1.1 on page 1. Updated the specification tables in Section 1.2 on page 2. Updated the warranty precautions on page 22.
Revision History Doc. ID Number Date Changes (Continued from the previous page.) Added Table 11 on page 86, which describes the video data output modes available on each model. Updated Figure 35 on page 91 through Figure 40 on page 111 to reflect the sensor sizes available on the new camera models. Updated Table 13 on page 93, Table 15 on page 98, and Table 19 on page 107 to reflect minor timing changes made with the new camera models. Updated Section 6.1.
Revision History Doc. ID Number Date Changes AW00016206000 12 Sep 2008 Integrated the 8k camera models. Updated contact addresses and phone numbers. Updated the camera version ID number in Section 1.1 on page 1. Replaced "input power" by "camera power" in Section 1.7 on page 20, Section 2 on page 23, Section 6 on page 115, Section 7.2.1.1 on page 158, and Section 8.3.1 on page 209. Modified the labelling of the y axis of Figure 4 in Section 1.4 on page 10.
Revision History 220 Basler sprint Mono Cameras
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.
Feedback 222 Basler sprint Mono Cameras
Index Index Numerics 2 tap video data output modes ................88 4 tap video data output modes ................96 8 tap video data output modes ..............105 A absolute values .....................................165 acquisition modes see line acquisition modes AOI see area of interest area of interest ................................77, 118 segment ............................................77 area of interest length control and status register ..................................................
Index F firmware version inquiry register ...........160 four tap video data output modes ...........96 FPGA status inquiry register .................162 free run ....................................................71 G gain .......................................................115 gain control and status register .............173 H heat dissipation .......................................19 helical mount UNIFOC 100/95_/_V-Basler ...........5, 6 UNIFOC 76 .........................................
Index O offset ......................................................116 offset control and status register ...........174 operating recommendations ....................61 output signals Camera Link clock .............................35 data valid bit ......................................34 ExSync ..............................................67 line valid bit .......................................34 pixel data bits ....................................34 serial to frame garbber ......................
Index V vendor info inquiry register ....................158 ventilation ................................................ 19 vertical binning acquisition mode ............49 video data output mode control and status register .......................................................166 video data output modes .........................85 video data sequence 2 tap output modes ...........................89 4 tap output modes ...........................97 8 tap output modes .........................