Home
Basler Pilot Camera User Manual
Contents
1. m es _ Bottom Side S N 97 lie 80 2 2 x M3 4 deep 6 45 Me 2x M2 4 5 deep di BASLER tej s l plete 1 N S Le M 85 3 Re s 86 7 pt 98 5 sal 175 2 x M3 3 5 deep Photosensitive surface of the sensor n Top Side AL N 2 x M3 4 5 deep 9 7 BE 80 2 zil Fig 11 Mechanical Dimensions in mm Basler pilot 13 Specifications Reguirements and Precautions 1 5 2 Sensor Positioning Accuracy The sensor positioning accuracy is as shown in the drawings below To the length of the housing gt z reference plane X 04 Center lines Center lines of the sensor of the thread 0 02 This is the sensor tilt tolerance It applies to every point on the photosensitive surface and is relative to the center of the die f dn Cert Photosensitive O E O surface of the d n AS sensor RUZ SMI ees ee ae ee s V O N IZA 0 17 5
2. Even Lines Odd Lines Byte Data Byte Data Bo Low byte of blue value for Po Bo Low byte of green value for Po B4 High byte of blue value for Po B4 High byte of green value for Po Bo Low byte of green value for P4 Bo Low byte of red value for P B3 High byte of green value for P4 B3 High byte of red value for P4 B4 Low byte of blue value for Ps By Low byte of green value for P Bs High byte of blue value for Ps Bs High byte of green value for P Bg Low byte of green value for P5 Bg Low byte of red value for P3 B High byte of green value for P3 B High byte of red value for P3 Bm 7 Low byte of blue value for P 5 Bm 7 Low byte of green value for P 5 Bn 6 High byte of blue value for P 3 Bm 6 High byte of green value for P Bm 5 Low byte of green value for P gt Bm 5 Low byte of red value for P gt Bm 4 High byte of green value for Ph 2 Bm 4 High byte of red value for P gt Basler pilot 119 Pixel Data Formats Bm 3 Low byte of blue value for P Bm 3 Low byte of green value for P Bm 2 High byte of blue value for P Bm 2 High byte of green value for Py Bma4 Low byte of green value for P Bma4 Low byte of red value for Ph Bm High byte of green value for P Bm High byte of red value for P When the camera is set for Bayer BG 16 the pixel data output is 16 bit data of the unsi
3. BDUORUOBEBOoNoSsOouRuUuNEO J J ime S Auto Function AOI Z Image AOI BBUEDURURBREBONOJSOouRUNEO ERES E 01234567 8 9 1011 2 13 M 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Auto Function AOI a DOOR Image AOI BREBURUBEBONOJSOuRUNEO Io rar rarardrarr d Fig 48 Various Degrees of Overlap Between the Auto Function AOI and the Image AOI Basler pilot 171 Features Setting an Auto Function AOI Setting an Auto Function AOI is a two step process You must first select the Auto Function AOI related to the auto function that you want to use and then set the size and the position of the Auto Function AOI By default an Auto Function AOI is set to the full resolution of the camera s
4. 149 SOWING ca E 149 black level raw all 149 black level raw tap 1 149 black level raw tap 2 149 block diagram 55 C cables Ethernet cca cn 61 power and I O PLC 61 63 power and I O standard 61 camera power requirements 2 3 5 64 chunk dynamic range max parameter 184 chunk dynamic range min parameter 184 chunk enable parameter PE 186 187 189 190 chunk frame counter parameter 186 chunk height parameter 184 chunk line status all parameter 189 chu nkemode si ce eee 184 chunk mode active parameter 184 chunk offset x parameter 184 chunk offset y parameter 184 chunk parser 184 186 187 189 190 chunk pixel format parameter 184 chunk selector 186 187 189 190 chunk time stamp parameter 187 chunk width parameter 184 cleaning the camera and sensor 21 code snippets proper use 20 color filter 111 alignment eseeeeneeee 112 configuration set loaded at startup 201 configuration sets 199 201 213 Index
5. 158 auto function 167 mode of operation 168 using with binning 167 auto function AOI explained 167 SOWING c e s 172 averaging effect on acquisition frame rate 161 explained 160 output frame rate 161 SOUING iot 162 B balance white auto 178 bandwidth assigned parameter 40 bandwidth reserve accumulation parameter eere deren 41 bandwidth reserve parameter 41 bandwidth managing 46 Basler technical support 204 Bayer BG 12 packed pixel format 123 Bayer BG 16 pixel format 119 Bayer BG 8 pixel format 115 Bayer filter et 111 Basler pilot Index Bayer GB 12 packed pixel format 121 Bayer GB 16 pixel format 117 Bayer GB 8 pixel format 113 DINA N G o cete e e Er i ihrer aet 156 AOI settings 158 image distortion 158 reduced resolution 158 response to light 158 SOWING ii kann eles 157 pit depths ie fenem 2 3 5 black level explained
6. Byte Data Byte Data Bo Brightness value for Po B Brightness value for P4 Bo Brightness value for Po Bm 4 Brightness value for P 4 B3 Brightness value for P3 Bm 3 Brightness value for P 5 B Brightness value for P Bm 2 Brightness value for Pj e e Bm4 Brightness value for P4 e Bm Brightness value for Ph With the camera set for Mono 8 the pixel data output is 8 bit data of the unsigned char type The available range of data values and the corresponding indicated signal levels are as shown in the table below This Data Value Indicates This Signal Level Hexadecimal Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 Basler pilot 105 Pixel Data Formats 9 2 2 Mono 16 Format Eguivalent to DCAM Mono 16 When a monochrome camera is set for the Mono16 pixel data format it outputs 16 bits of brightness data per pixel with 12 bits effective The 12 bits of effective pixel data fill from the least significant bit The four unused most significant bits are filled with zeros The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when the camera is set for Mono16 output Note that the data is placed in the image buffer in little endian format The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first by
7. Doc ID Number Date Changes AW00015113000 18 Jul 2008 Expanded the voltage information in Section 1 2 on page 2 Updated the distances and related tolerances between the front of the lens mount and the sensor s photosensitive area in Figure 11 on page 13 and Figure 12 on page 14 Added Information about mechanical stress test results in Section 1 5 4 on page 16 Added Information about the lens to which the mechanical stress tests apply in Section 1 5 4 on page 16 Modified the voltage information in Section 1 9 on page 20 Removed voltage information from Table 5 in Section 7 2 1 on page 58 Added Section 7 4 3 on page 63 and notes in Section 7 4 2 on page 61 introducing the PLC cable Included detailed voltage information in Section 7 5 on page 64 Section 7 7 1 1 on page 66 and Section 7 7 2 1 on page 69 Modified the absolute maximum rating to 30 0 VDC in Section 7 7 1 2 on page 68 and Section 7 7 2 2 on page 69 Added a note relating to the debouncer in Section 8 8 on page 95 Renamed Section 11 on page 145 the Features section and included the contents of the former Chunk Features section Corrected the minimum value for the white balance ratio in Section 11 3 on page 151 Added Section 11 7 on page 160 introducing the averaging feature Corrected the name of the Gamma parameter in Section 11 9 on page 166 The Gamma parameter was incorrectly referred to as the Gamma Raw parameter Included the Auto Functions section on
8. the camera was continuously capturing images the auto function will become effective with a short delay and the first few images may not be affected by the auto function D After having set an auto function to once or continuous operation mode while allow reaching a target value for an image property the auto function will try to If an auto function is set to once operation mode and if the circumstances do not reach the target value for a maximum of 30 images and will then be set to off 168 Basler pilot Features 11 10 1 2 Auto Function AOI An Auto Function AOI must be set separately from the AOI used to define the size of captured images Image AOI You can specify a portion of the sensor array and only the pixel data from the specified portion will be used for auto function control An Auto Function AOI is referenced to the top left corner of the sensor array The top left corner is designated as column 0 and row 0 as shown in Figure 42 The location and size of an Auto Function AOI is defined by declaring an X offset coordinate a width a Y offset coordinate and a height For example suppose that you specify the X offset as 14 the width as 5 the Y offset as 7 and the height as 6 The area of the array that is bounded by these settings is shown in Figure 42 Only the pixel data from within the area defined by your settings will be used by the related auto function Column 0123
9. 76 81 timer delay 140 timer delay abs parameter 140 timer delay raw parameter 139 timer delay time 139 timer delay time base 139 timer duration 140 timer duration abs parameter 141 timer duration raw parameter 140 timer duration time base 140 timer duration time base abs parameter PA den e debi ui dn Rn us E 141 timer selector 138 139 141 timer trigger source parameter 138 transition threshold 66 67 transmission start delay 95 transportation 21 trigger mode parameter 73 76 83 trigger ready signal 92 trigger selector parameter 73 76 83 trigger software command 77 78 trigger source parameter 76 83 trigger width exposure mode 81 Basler pilot U user output selector 136 user output value parameter 136 V Ventilation Acetate ten iin 19 vertical DINNING 156 UI IM O 25 W W6GIght iet petes eet 2 3 5 white balance xpl
10. 80 overlapped ne 90 exposure active signal 94 exposure auto 176 exposure mode tired ini si an en wes 76 exposure modes 81 exposure start delay 95 exposure time maximum possible 87 minimum allowed 87 214 SOUING iiec al eee ue 88 exposure time abs parameter 89 exposure time base 88 exposure time base abs parameter 88 exposure time parameters 87 exposure time raw parameter 88 extended image data chunk 184 external trigger signal controlling exposure with 80 min high low time 80 F filter driver 27 frame counter chunk 186 frame rate and averaging 98 controlling with a hardware trigger 80 controlling with a software trigger 78 maximum allowed 98 setting with a parameter 74 frame readout time 95 frame retention parameter 28 frame transmission delay parameter 40 frame transmission time 95
11. ANOoaARWDN Basler pilot Image Acquisition Control 8 Image Acquisition Control This section provides detailed information about controlling image acquisition You will find details about setting the exposure time for each acquired image and about how the camera s maximum allowed acquisition frame rate can vary depending on the current camera settings 8 1 Controlling Image Acquisition with Parameters Only No Triggering You can configure the camera so that image acquisition will be controlled by simply setting the value of several parameters via the camera s API When the camera is configured to acquire images based on parameter values only a software trigger or an external hardware trigger ExTrig signal is not required You can set the camera so that it will acquire images one at a time or so that it will acquire images continuously 8 1 1 Switching Off Triggering If you want to control image acquisition based on parameter settings alone you must make sure that the camera s acquisition start trigger is set to off Setting the acquisition start trigger is a two step process First use the camera s Trigger Selector parameter to select the Acquisition Start trigger Second use the camera s Trigger Mode parameter to set the selected trigger to Off You can set the Trigger Selector and the Trigger Mode parameter value from within your application software by using the pylon API The following code snippet illustrates us
12. Camera Power Gnd I O Input 1 V O Input 2 I O Input Gnd I O Output 1 I O Output 2 Camera Power VCC O o x oj cn ol nmn Camera Power VCC a o V O Output VCC 11 I O Output 3 12 I O Output 4 Table 5 Pin Assignments for the 12 pin Receptacle Note Pins 1 and 2 are tied together inside of the camera 58 Pins 8 and 9 are tied together inside of the camera To avoid a voltage drop when there are long wires between your power suppy and the camera we recommend that you provide camera power VCC through separate wires between your power supply and pins 8 and 9 on the camera We also recommend that you provide camera power ground through separate wires between your power supply and pins 1 and 2 on the camera Basler pilot Physical Interface 7 2 2 RJ 45 Jack Pin Assignments The 8 pin RJ 45 jack provides Ethernet access to the camera Pin assignments adhere to the Ethernet standard 7 2 3 Pin Numbering Fig 21 Pin Numbering for the 12 pin Receptacle Basler pilot 59 Physical Interface 7 3 Connector Types 7 3 1 8 pin RJ 45 Jack The 8 pin jack for the camera s Ethernet connection is a standard RJ 45 connector The recommended mating connector is any standard 8 pin RJ 45 plug Green and Yellow LEDs This RJ 45 jack on the camera includes a g
13. Sensor Size gm 2456 x 2058 H x V pixels gc 2454 x 2056 Sensor Type Sony ICX625ALA AGA Progressive scan CCD Optical Size 2 3 Pixel Size 3 45 um x 3 45 um Max Frame Rate at full resolution 12 fps 17 fps Mono Color All models available in mono or color Data Output Type Fast Ethernet 100 Mbit s or Gigabit Ethernet 1000 Mbit s Pixel Data Formats Mono Models Mono 8 equivalent to DCAM Mono 8 Mono 16 equivalent to DCAM Mono 16 Mono 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV Packed Mono 8 equivalent to DCAM Mono 8 Bayer BG 8 equivalent to DCAM Raw 8 Bayer BG 16 equivalent to DCAM Raw 16 Bayer BG 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV Packed Color Models ADC Bit Depth 12 bits Synchronization Via external trigger signal or via software Exposure Control Programmable via the camera API Camera Power Requirements 12 to 24 VDC min 11 3 VDC absolute max 30 0 VDC 1 ripple 5 4 W 12 VDC 5 9 W 12 VDC I O Ports 2 opto isolated input ports and 4 opto isolated output ports Lens Adapter C mount Size 86 7 mm x 44mm x 29 mm without lens adapter or connectors LxWxH 98 5 mm x 44 mm x 29 mm with lens adapter and connectors Weight 220 g typical Conformity CE FCC GenlCam GigE Vision IP30 Table 3 General Specifications Bas
14. The transmission start delay is the amount of time between the point where the camera begins reading out the acquired image data from the sensor to the point where it begins transmitting the data for the acquired image from the buffer to the host PC Note that if the averaging feature is used the concept of the transmission start delay as described above does not apply In this case the acquired images are not transmitted individually but will be used for creating an averaged image which is transmitted The exposure start delay varies from camera model to camera model The table below shows the exposure start delay for each camera model Camera Model Exposure Start Delay piA640 210gm gc 12 44 us piA1000 48 gm gc 48 96 us piA1600 35 gm gc 35 59 us piA1900 32 gm gc 66 45 us piA2400 12gm gc 103 20 us piA2400 17 gm gc 75 43 us Table 11 Exposure Start Delays Basler pilot 95 Image Acguisition Control Note that if the debouncer feature is used the debouncer setting for the input line must be added to the exposure start delays shown in Table 11 to determine the total start delay For example assume that you are using an piA640 210 camera and that you have set the cameras for hardware triggering Also assume that you have selected input line 1 to accept the hardware trigger signal and that you have set the Line Debouncer Time Abs parameter for input line 1 to 5 us In this case Total Start Delay Sta
15. Row gt Col m Row p 14 Col m Row Col m The columns are numbered 0 through m from the left side to the right side of the sensor The rows are numbered 0 through n from the top to the bottom of the sensor The sequence assumes that the camera is set for full resolution 132 Basler pilot I OControl 10 I O Control This section describes how to configure the camera s two physical input lines and four physical output lines It also provides information about monitoring the state of the input and output lines For more detailed information about the physical and electrical characteristics of the input and output lines see Section 7 7 on page 66 10 1 Configuring Input Lines 10 1 1 Assigning an Input Line to Receive a Hardware Trigger Signal You can assign one of the camera s input lines to receive a external hardware trigger ExTrig signal The incoming ExTrig signal can then be used to control image acquisition Section 8 3 2 on page 83 explains how to configure the camera to react to a hardware trigger signal and how to assign an input line to receive the hardware trigger signal Note By default physical input line 1 is assigned to receive the ExTrig signal You can assign only one line to receive the ExTrig input signal Basler pilot 133 I O Control 10 1 2 Using an Unassigned Input Line to Receive a User Input Signal You can use an unassigned input line to receive your own user generated input signal
16. Set the User Set Selector to User Set 1 User Set 2 or User Set 3 Execute a User Set Save command to save the active set to the selected user set Saving an active set to a user set in the camera s non volatile memory will overwrite any parameters that were previously saved in that user set You can set the User Set Selector and execute the User Set Save command from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and execute the command Camera UserSetSelector SetValue UserSetSelector UserSetl Camera UserSetSave Execute For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 11 17 2Loading a Saved Set or the Default Set into the Active Set If you have saved a configuration set into the camera s non volatile memory you can load the saved set from the camera s non volatile memory into the camera s active set When you do this the loaded set overwrites the parameters in the active set Since the settings in the active set control the current operation of the camera the settings from the loaded set will now be controlling the camera You can also load the default set into the camera s active set 200 Basler pilot Fe
17. The User Set Default Selector is used to select the default startup set Set the User Set Default Selector to User Set 1 User Set 2 User Set 3 or Default You can set the User Set Default Selector from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector Camera UserSetDefaultSelector SetValue UserSetDefaultSelector Default Basler pilot 201 Features 202 Basler pilot Troubleshooting and Support 12 Troubleshooting and Support This section outlines the resources available to you if you need help working with your camera 12 1 Technical Support Resources If you need advice about your camera or if you need assistance troubleshooting a problem with your camera you can contact the Basler technical support team for your area Basler technical support contact information is located in the front pages of this manual You will also find helpful information such as frequently asked questions downloads and technical notes at our website www baslerweb com If you do decide to contact Basler technical support please take a look at the form that appears on the last two pages of this section before you call Filling out this form will help make sure that you have all of the information the Basler technical support team needs to help you with your problem Basler pilot 203 Troubleshooting and Support 12 2 Before Contacting Basler Technical Suppo
18. 27 4 1 The Basler Filter Driver 0 0 0 0 00 2c ee 28 4 2 The Basler Performance Driver 29 4 3 Transport Layer Parameters 37 Network Related Camera Parameters and Managing Bandwidth 39 5 1 Network Related Parameters in the Camera 39 5 2 Managing Bandwidth When Multiple Cameras Share a Single Network Path 46 5 2 1 A Procedure for Managing Bandwidth 47 Camera Functional Description 53 Gil OVGrVIGW m ba NANA A el Bena oe te Punt pa Ride 53 Physicallnterface ed ss ck kk xh REESE Rex RR ea na cd dea V 57 7 1 General Description of the Connections 57 7 2 Connector Pin Assignments and Numbering 58 7 2 4 12 pin Receptacle Pin Assignments 58 7 2 2 RJ 45 Jack Pin Assignments 59 Basler pilot i Table of Contents 72 9 Piri N mberingz eR Rr aree REX ed eR RE ER ER 59 723 GonnectorTypes sti spi ans ka kana ene eet ee aje baa edad nae ee bad 60 13 1 8spin RJ 45 Jack soie NE na RR iR EIE Ga dd pome 60 7 8 8 12 pin Connector a 60 7 4 Cabling Reguirements a 61 A Ethernet Gablessasssoss kei fetal pelete da avs ee S kej gee i 61 7 4 2 Standard
19. Boole Boalo Bolol Fig 44 Horizontal Binning Basler pilot 156 m Features The availability of binning differs between the camera models Camera Model Vertical Binning Horizontal Binning piA640 210gm by 2 3 or 4 by 2 3 or 4 piA1000 48gm by 2 3 or 4 by 2 3 or 4 piA1600 35gm by 2 3 or 4 by 2 3 or 4 piA1900 32gm by 2 by 2 piA2400 12gm by 2 3 or 4 by 2 3 or 4 piA2400 17gm by 2 3 or 4 by 2 3 or 4 You can combine vertical and horizontal binning This however may cause objects to appear dis torted in the image For more information on possible image distortion due to combined vertical and horizontal binning see the following section Setting Binning You can enable vertical binning by setting the Binning Vertical parameter Setting the parameter s value to 2 3 or 4 enables vertical binning by 2 vertical binning by 3 or vertical binning by 4 respec tively Setting the parameter s value to 1 disables vertical binning You can enable horizontal binning by setting the Binning Horizontal parameter Setting the param eter s value to 2 3 or 4 enables horizontal binning by 2 horizontal binning by 3 or horizontal bin ning by 4 respectively Setting the parameter s value to 1 disables horizontal binning You can set the Binning Vertical or the Binning Horizontal parameter value from within your application sof
20. Timer 1 can only be assigned to output line 1 Timer 2 can only be assigned to output line 2 Timer 3 can only be assigned to output line 3 Timer 4 can only be assigned to output line 4 If you require the timer signal to be high when the timer is triggered and to go low when the delay expires simply set the output line to invert 10 2 4 1 Setting the Trigger Source for a Timer To set the trigger source for a timer Use the Timer Selector to select timer 1 or timer 2 Set the value of the Timer Trigger Source parameter to exposure active This will set the selected timer to use the start of exposure to begin the timer You can set the Trigger Selector and the Timer Trigger Source parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera TimerSelector SetValue TimerSelector Timerl Camera TimerTriggerSource SetValue TimerTriggerSource ExposureStart For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 138 Basler pilot I OControl 10 2 4 2 Setting a Timer Delay Time There are two ways to set the delay time for a timer by setting raw values or by setting an abso
21. We strongly recommend using the default parameter settings Only users with the necessary expertise should change the default parameter values The Basler performance driver uses a receive window to check the status of packets The check for missing packets is made as packets enter the receive window If a packet arrives from higher in the sequence of packets than expected the preceding skipped packet or packets are detected as missing For example suppose packet n 1 has entered the receive window and is immediately followed by packet n 1 In this case as soon as packet n 1 enters the receive window packet n will be detected as missing Basler pilot 29 Basler Network Drivers and Parameters General Parameters Enable Resend Enables the packet resend mechanisms If the Enable Resend parameter is set to false the resend mechanisms are disabled The performance driver will not check for missing packets and will not send resend requests to the camera If the Enable Resend parameter is set to true the resend mechanisms are enabled The performance driver will check for missing packets Depending on the parameter settings and the resend response the driver will send one or several resend requests to the camera Receive Window Size Sets the size of the receive window Threshold Resend Mechanism Parameters The threshold resend request mechanism is illustrated in Figure 14 where the following assumptions are made Packets
22. and 9 3 10 Modified the Max Gain Raw Tap 1 and Max Gain Raw Tap 2 settings for the piA640 210 and the piA1000 48 in Section 11 1 Added binning information for the piA1600 35gm in Section 11 6 AW00015106000 20 Sept 2007 Integrated the Sony ICX625 sensor Minor modifications and corrections throughout the manual AW00015107000 17 Oct 2007 Corrected the Bayer filter alignment for the piA2400 12 in Sections 1 2 9 2 and 9 3 1 added Sections 9 3 3 9 3 5 and 9 3 7 AW00015108000 5 Dec 2007 Changed the camera s family name to pilot Modified the exposure start delay in Section 8 8 and the constants for the max frame rate formulas in Section 8 9 for the piA2400 12 AW00015109000 21 Dec 2007 Added guidelines for avoiding EMI and ESD problems in Section 2 3 1 on page 40 Removed web link for further information on APIPA in Section 5 3 on page 69 Corrected the voltage ranges relating to logic 0 and logic 1 in Section 7 7 1 on page 66 Added references to Application Notes AW000565xx000 in Section 8 3 1 on page 81 and Section 8 5 1 on page 91 Added binning information for the piA1000 48gm in Section 11 6 Added the Gamma feature in Section 11 9 on page 166 Added the Disable Parameter Limits feature in Section 11 11 on page 180 Added the Debouncer feature in Section 11 12 on page 181 Minor corrections throughout the manual Basler pilot 207 Revision History Doc ID Number Date Changes
23. 110 YUV 422 packed 110 pixel format parameter 104 pixel formats Bayer BG 12 packed 123 Bayer BG 16 119 Bayer BG 8 115 Bayer GB 12 packed 121 Bayer GB 16 117 Bayer GB 8 suus 113 mono 12 packed 108 mono 16 cna 106 MONO Bi s nti i ees 105 130 YUV 422 YUYV packed 128 YUV 422 packed 125 Pixel SIZE tanien 2 3 5 pixel transmission sequence 132 PLC power and I O cable 61 63 voltage requirements 64 66 precautions c duds 20 programmable exposure mode with an external trigger signal 81 protection class 12 PONAR ereraa aa ettet debeo 26 pylon Viewer ciiise 25 R read timeout parameter 37 receive descriptors 47 receive window 29 receive window size parameter 30 reduced resolution 158 resend request batching parameter 31 resend request response timeout parameter nettes 33 resend request threshold parameter 31 resend timeout parameter 33 response
24. 4 Bm 3 Green value for P s Bm 3 Red value for P 5 Bm 2 Blue value for P gt Bm 2 Green value for P gt Bm4 Green value for Py Bm4 Red value for P Bm Blue value for P Bm Green value for P Basler pilot 113 Pixel Data Formats With the camera set for Bayer GB 8 the pixel data output is 8 bit data of the unsigned char type The available range of data values and the corresponding indicated signal levels are as shown in the table below This Data Value Hexadecimal Indicates This Signal Level Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 114 Basler pilot Pixel Data Formats 9 3 3 Bayer BG 8 Format Equivalent to DCAM Raw 8 When a color camera is set for the Bayer BG 8 pixel data format it outputs 8 bits of data per pixel and the pixel data is not processed or interpolated in any way So for each pixel covered with a red lens you get 8 bits of red data For each pixel covered with a green lens you get 8 bits of green data And for each pixel covered with a blue lens you get 8 bits of blue data This type of pixel data is sometimes referred to as raw output The BG in the name Bayer BG 8 refers to the alignment of the colors in the Bayer filter to the pixels in the acguired images For even lines in the images pixel one will be blue pixel two will be green pixel three will be blue pixel four will be green etc For odd lines in the images pixel
25. As shown in Figure 38 the lowest four bits of the parameter value will set the state of the user settable outputs If a bit is 0 it will set the state of the associated output to low If a bit is high it will set the state of the associated port to high Sets user output 4 state Sets user output 3 state Sets user output 2 state Sets user output 1 state s1 3o 29 28 27 26 25 24 23 22 2120 49 18 17 16 15 14 13 12 1110 9 8 v 6 5 4 3 2 4 Jo Not used LSB Fig 38 User Output Value All Parameter Bits 136 Basler pilot I OControl To set the state of multiple user settable output lines Use the User Output Value All parameter to set the state of multiple user settable outputs You can set the User Output Value All parameter from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter Camera UserOutputValueAll SetValue 0x3 int64 t currentOutputState Camera UserOutputValueAll GetValue Note If you have the invert function enabled on an output line that is designated as user settable the user setting sets the state of the line before the inverter 10 2 3 Setting an Output Line for Invert You can set each individual output line to invert or not to invert the outgoing signal To set the invert function on an output line Use the Line Selector to select an output line Set the value of the Line Inverter parameter to true
26. Basler pilot 161 Features Setting Averaging You can enable averaging by setting the AveragingNumberOfFrames parameter Setting the pa rameter s value to e g 3 enables averaging and sets 3 individual images to be averaged Setting the parameter s value to 1 disables averaging You can set the AveragingNumberOfFrames parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Enable averaging of 3 images Camera AveragingNumberOfFrames SetValue 3 Disable averaging Camera AveragingNumberOfFrames SetValue 1 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters 162 Basler pilot Features 11 8 Luminance Lookup Table The camera can capture pixel values at a 12 bit depth When a monochrome camera is set for the Mono 16 or Mono 12 packed pixel format the camera outputs 12 effective bits Normally the 12 effective bits directly represent the 12 bit output from the camera s ADC The luminance lookup table feature lets you use a custom 12 bit to 12 bit lookup table to map the 12 bit output from the ADC to 12 bit values of your choice The lookup table is essentially just a list of 4096 values however not every value is the table is actually used If we number the values i
27. Basler pilot 77 Image Acguisition Control 8 2 3 Acquiring Images by Applying a Series of Software Triggers You can set the camera to react to multiple applications of the software trigger and then apply a series of software triggers to acquire images To do so follow this sequence Access the camera s API and set the exposure time parameter for your desired exposure time Set the value of the camera s Acquisition Mode parameter to Continuous Execute an Acquisition Start command This prepares the camera to react to software triggers When you are ready to begin an image acquisition execute a Trigger Software command URO M Image acquisition will start and exposure will continue for the length of time you specified in step 1 6 Atthe end of the specified exposure time readout and transmission of the acquired image will take place 7 To acquire another image go to step 4 8 Execute an Acquisition Stop command The camera will no longer react to software triggers If you are acquiring images using a series of software triggers you must avoid acquiring images at a rate that exceeds the maximum allowed with the current camera settings You should also be aware that if the Acquisition Frame Rate Abs parameter is enabled it will influence the rate at which the Trigger Software command can be applied If the Acquisition Frame Rate Abs parameter is set to a value less than the maximum allowed you can trigger acquisition at any r
28. Packed Mono 8 equivalent to DCAM Mono 8 Bayer GB 8 equivalent to DCAM Raw 8 Bayer GB 16 equivalent to DCAM Raw 16 Bayer GB 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV Packed Color Models ADC Bit Depth 12 bits Synchronization Via external trigger signal or via software Exposure Control Programmable via the camera API Camera Power Requirements 12 to 24 VDC min 11 3 VDC absolute max 30 0 VDC lt 1 ripple 4 5 W 12 VDC 4 2 W 12 VDC 4 8 W 12 VDC I O Ports 2 opto isolated input ports and 4 opto isolated output ports Lens Adapter C mount Size 86 7 mm x 44mm x 29 mm without lens adapter or connectors LxWxH 98 5 mm x 44 mm x 29 mm with lens adapter and connectors Weight 220 g typical Conformity CE FCC GenlCam GigE Vision IP30 Table 1 General Specifications Basler pilot Specifications Reguirements and Precautions Specification piA1900 32gm gc Sensor Size gm 1928 x 1084 H x V pixels gc 1926 x 1082 Sensor Type Kodak KAI 2093 Progressive scan CCD Optical Size 1 Pixel Size 7 4 um x 7 4 um Max Frame Rate 32 fps at full resolution Mono Color All models available in mono or color Data Output Type Fast Ethernet 100 Mbit s or Gigabit Ethernet 1000 Mbit s Pixel Data Formats Mono Models Mono 8 equivalent to DCAM Mono 8 Mono 16
29. The electrical characteristics of your input signal must meet the reguirements shown in the Physical Interface section of this manual You can use the Line Status or Line Status All parameters to monitor the state of the input line that is receiving the user defined signal Note The line assigned to receive the ExTrig input signal can t be used to receive a user designed input signal For more information about using the Line Status and Line Status All parameters see Section 10 3 1 on page 143 and Section 10 3 2 on page 143 134 Basler pilot I OControl 10 2 Configuring Output Lines 10 2 1 Assigning a Camera Output Signal to a Physical Output Line You can use the camera s output signal assignment capability to assign one of the camera s standard output signals as the source signal for a physical output line The camera has a variety of standard output signals available including Exposure Active Trigger Ready Timer 1 Timer 2 Timer 3 Timer 4 You can also designate an output line as user settable If an output line is designated as a user settable you can use the camera s API to set the state of the line as desired To assign an output signal to an output line or to designate the line as user settable Use the Line Selector to select Output Line 1 Output Line 2 Output Line 3 or Output Line 4 Set the value of the Line Source Parameter to one of the available output signals or to user settable This will set the sou
30. The main advantage of the performance driver is that it significantly lowers the CPU load needed to service the network traffic between the PC and the camera s It also has a more robust packet resend mechanism For more information about compatible Intel chipsets see the Installation and Setup Guide for Cameras Used with Basler s pylon API AW000611xx000 The performance driver uses two distinct resend mechanisms to trigger resend requests for missing packets The threshold resend mechanism The timeout resend mechanism The mechanisms are independent from each other and can be used separately However for maximum efficiency and for ensuring that resend requests will be sent for all missing packets we recommend using both resend mechanisms in a specific optimized combination as provided by the parameter default values The performance driver s parameter values determine how the resend mechanisms act and how they relate to each other You can set the parameter values by using the pylon Viewer or from within your application software by using the pylon API Note The parameter default values will provide for the following The threshold resend mechanism precedes the timeout resend mechanism This ensures that a resend request is sent for every missing packet even at very high rates of arriving packets The timeout resend mechanism will be effective for those missing packets that were not resent after the first resend request
31. Tree iui eter nente esi 74 functional description 53 G gain explained sess 145 Setting ee eee niinus 145 gain auto o nei io ila eines 174 gairrraw allz i neis 145 gain raw tap eee 145 gain raw tap 2 145 gamma correction 166 H heartbeat timeout parameter 37 heartbeat timer 37 heat dissipation 19 horizontal DINNING 156 KUMIAitY ae n eu erts 19 Basler pilot l image distortion 158 image property target value 167 input lines configuring 133 electrical characteristics 68 voltage requirements 66 67 installation hardware ssssseseeeeeene 23 SOflWAre ec edt neces 23 integrate enabled signal 94 inter packet delay 47 inverter output lines 137 IP configuration tool 25 dc e E 12 IR cut filter 9 15 152 J jumbo frames 48 jumbo packets 48 L E EDS tei eese ita dE 57 60 lens adapter 2 3 5 lens thread leng
32. and so on Use the LUT Value parameter to set the selected value in the lookup table Use the LUT Index parameter and LUT value parameters to set other table values as desired Use the LUT Enable parameter to enable the table You can set the LUT Selector the LUT Index parameter and the LUT Value parameter from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter values Select the lookup table Camera LUTSelector SetValue LUTSelector Luminance Write a lookup table to the device The following lookup table causes an inversion of the sensor values bright gt dark dark gt bright for int i 0 i lt 4096 i 8 Camera LUTIndex SetValue i Camera LUTValue SetValue 4095 i Enable the lookup table Camera LUTEnable SetValue true For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 165 Features 11 9 Gamma The gamma correction feature lets you modify the brightness of the pixel values output by the camera s sensor to account for a non linearity in the human perception of brightness To accomplish the correction a gamma correction
33. of the width of the receive window A stream of packets advances packet by packet beyond the resend reguest threshold i e to the left of the resend reguest threshold in Figure 14 As soon as the position where a packet is missing advances beyond the resend reguest threshold a resend reguest is sent for the missing packet In the example shown in Figure 14 packets 987 to 1005 are within the receive window and packets 997 to 999 and 1002 were detected as missing In the situation shown a resend request is sent to the camera for each of the missing consecutive packets 997 to 999 The resend requests are sent after packet 996 the last packet of the intact sequence of packets has advanced beyond the resend request threshold and before packet 1000 the next packet in the stream of packets can advance beyond the resend request threshold Similarly a resend request will be sent for missing packet 1002 after packet 1001 has advanced beyond the resend request threshold and before packet 1003 can advance beyond the resend request threshold Resend Request Batching This parameter determines the location of the resend request batching threshold in the receive window Figure 14 The parameter value is in per cent of a span that starts with the resend request threshold and ends with the front end of the receive window The maximum allowed parameter value is 100 In Figure 14 the resend request batching threshold is set at 80 of the span The res
34. piA2400 12gm gc 80 us 10000000 us piA2400 17gm gc 80 us 10000000 us Table 10 Minimum Allowed Exposure Time and Maximum Possible Exposure Time D Note Exposure time can not only be manually set see below but can also be automatically adjusted Exposure Auto is an auto function and the automatic counterpart to manually setting an absolute exposure time The exposure auto function automatically adjusts the Auto Exposure Time Abs parameter value In contrast to the manually set absolute exposure time the automatically adjusted absolute exposure time is not restricted to multiples of the current exposure time base The automatic adjustment is not available when trigger width exposure mode is selected For more information about auto functions see Section 11 9 1 on page 189 For more information about the Exposure Auto function see Section 11 9 3 on page 198 For information on parameter settings for obtaining the maximum possible exposure time see Section 8 4 1 on page 88 Basler pilot 87 Image Acguisition Control 8 4 1 Setting the Exposure Time Using Raw Settings When exposure time is set using raw values the exposure time will be determined by a combination of two elements The first element is the value of the Exposure Time Raw parameter and the second element is the Exposure Time Base The exposure time is determined by the product of these two elements Exposure Time
35. 997 998 and 999 are missing from the stream of packets Packet 1002 is missing from the stream of packets DIAGRAM IS NOT DRAWN TO SCALE 3 4 5 6 1 2 i lt gt 985 986 987 988 989 990 991 992 993 994 995 996f1000 1001 1003 EE 1006 1007 L Time Fig 14 Example of a Receive Window with Resend Request Threshold amp Resend Request Batching Threshold Front end of the receive window Missing packets are detected here Stream of packets Gray indicates that the status was checked as the packet entered the receive window White indicates that the status has not yet been checked a N 3 Receive window of the performance driver 4 Threshold for sending resend reguests resend reguest threshold 5 A separate resend reguest is sent for each packets 997 998 and 999 6 Threshold for batching resend requests for consecutive missing packets resend request batching threshold Only one resend request will be sent for the consecutive missing packets 30 Basler pilot Basler Network Drivers and Parameters Resend Reguest Threshold This parameter determines the location of the resend reguest threshold within the receive window as shown in Figure 14 The parameter value is in per cent of the width of the receive window In Figure 14 the resend request threshold is set at 33 33
36. AW00015111000 15 Feb 2008 Added a note on the sensor characteristics of the piA1900 32gm gc in Section 1 2 on page 2 Included the Software Licensing Information section on page 17 Moved the guidelines for avoiding EMI and ESD problems to Section 1 7 on page 18 Included the warning related to code snippets in Section 1 9 on page 20 Transferred to following sections to the Installation and Setup Guide for Cameras Used with Basler s pylon API Software and Hardware Installation Network Recommendations and Camera and Network Adapter IP Configuration Added the reference to the Installation and Setup Guide for Cameras Used with Basler s pylon API in Section 2 on page 23 Added the Improve the Network Performance step in Section 5 2 1 on page 47 Corrected the minimum value for the Timer Delay Raw parameter and indicated the minimum value for the Timer Delay Time Base Abs parameter in Section 10 2 4 2 on page 139 Minor modifications and corrections throughout the manual AW00015112000 5 Mar 2008 Modified mechanical drawings in Section 1 5 1 on page 12 and Section 1 5 2 on page 14 dimensions holes for screw lock connector Added information on the input line transition threshold in Table 5 on page 58 Added the maximum exposure times and related settings in Section 8 4 1 on page 88 Minor modifications and corrections throughout the manual 208 Basler pilot Revision History
37. Assigning an Input Line to Receive a Hardware Trigger Signal 133 10 1 2 Using an Unassigned Input Line to Receive a User Input Signal 134 10 2 Configuring Output Lines 135 10 2 1 Assigning a Camera Output Signal to a Physical Output Line 135 10 2 2 Setting the State of User Settable Output Lines 136 10 2 3 Setting an Output Line for Invert 137 10 2 4 Working with Timers 0 0 RI 138 10 2 4 1 Setting the Trigger Source for a Timer 138 10 2 4 2 Setting a Timer Delay Time 139 10 2 4 8 Setting a Timer Duration Time 140 10 3 Checking the State of the I O Lines 143 10 3 1 Checking the State of a Single Output Line 143 10 3 2 Checking the State of All Lines 143 TiEeatileS rescos raean rea ENE ERA K HE cU ra dades 145 DL Gil 23 endet D one A ne Reem eae Seen e rcu deo eee cca 145 11 2 Black Level ec ne eme stre edes E Re nal RUE eee cet enc e dea 149 11 3 White Balance on Color Models 151 11 4 Integrated IR Cut Filter on Color Models 152 Basler pilot iii Table of Contents 11 5 Area of Interest AOl LLL e 153 11 5 1 Changing AOI
38. Basler pilot Features Using the Luminance Lookup Table to Get 8 Bit Output As mentioned above when the camera is set for a pixel format where it outputs 12 effective bits the lookup table is used to perform a 12 bit to 12 bit conversion But the lookup table can also be used in 12 bit to 8 bit fashion To use the table in 12 bit to 8 bit fashion you enter 12 bit values into the table and enable the table as you normally would But instead of setting the camera for a pixel format that results in 12 bit camera output you set the camera for a pixel format that results in 8 bit output such as Mono 8 or YUV 4 2 2 Packed In this situation the camera will first use the values in the table to do a 12 bit to 12 bit conversion It will then truncate the lowest 4 bits of the converted value and will report out the remaining 8 highest bits Changing the Values in the Luminance Lookup Table and Enabling the Table You can change the values in the luminance lookup table LUT and enable the use of the lookup table by doing the following Use the LUT Selector to select a lookup table Currently there is only one lookup table available i e the luminance lookup table described above Use the LUT Index parameter to select a value in the lookup table The LUT Index parameter selects the value in the table to change The index number for the first value in the table is 0 for the second value in the table is 1 for the third value in the table is 2
39. By default the Timer Delay Time Base is fixed at 1 us minimum value and the timer delay is normally adjusted by setting the value of the Timer Delay Raw parameter However if you require a delay time that is longer than what you can achieve by changing the value of the Timer Delay Raw parameter alone the Timer Delay Time Base Abs parameter can be used to change the delay time base The Timer Delay Time Base Abs parameter value sets the delay time base in us The defaultis 1 us and it can be changed in 1 uis increments Note that there is only one timer delay time base and it is used by all four of the available timers You can set the Timer Delay Time Base Abs parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera TimerDelayTimebaseAbs SetValue 5 Basler pilot 139 I O Control Setting the Delay with an Absolute Value You can also set the Timer delay by using an absolute value This is accomplished by setting the Timer Delay Abs parameter The units for setting this parameter are us and the value can be set in increments of 1 us To set the delay for a timer using an absolute value Use the Timer Selector to select a timer Set the value of the Timer Delay Abs parameter You can set the Timer Selector and the Timer Delay Abs parameter value from within your application software by using the pylon API The fo
40. DCAM Mono 8 105 9 2 2 Mono 16 Format Equivalent to DCAM Mono 16 106 9 2 3 Mono 12 Packed Format 108 9 2 4 YUV 4 2 2 Packed Format Equivalent to DCAM YUV 4 2 2 0 ee 110 9 2 5 YUV 4 2 2 YUYV Packed Format 110 9 3 Pixel Data Output Formats for Color Cameras 111 9 3 1 The Bayer Color Filter 111 9 3 1 1 Color Filter Alignament 112 9 3 2 Bayer GB 8 Format Eguivalent to DCAM Raw8 113 9 3 3 Bayer BG 8 Format Eguivalent to DCAM Raw8 115 9 3 4 Bayer GB 16 Format Equivalent to DCAM Raw 16 117 9 3 5 Bayer BG 16 Format Equivalent to DCAM Raw 16 119 9 3 6 Bayer GB 12 Packed Format 121 9 3 7 Bayer BG 12 Packed Format 123 9 3 8 YUV 4 2 2 Packed Format Equivalent to DCAM YUV 4 2 2 LLLL L 125 9 3 9 YUV 4 222 YUYV Packed Format 128 9 3 10 Mono 8 Format Equivalent to DCAM Mono8 130 9 4 Pixel Transmission Sequence 132 10 0 Control ox usti sa RI eR ea aj Re xL a RR pa ndn 133 10 1 Configuririg Input ines ee RED m Stee fa ee ete ER DRM vete 133 10 1 1
41. Exposure Time Raw Parameter Value x Exposure Time Base By default the Exposure Time Base is fixed at 20 us Typically the exposure time is adjusted by setting only the Exposure Time Raw parameter The Exposure Time Raw parameter value can range from 1 to 4095 So if the value is set to 100 for example the exposure time will be 100 x 20 us or 2000 us Settings for Obtaining the Maximum Possible Exposure Time On all camera models you can obtain the maximum possible exposure time 10000000 us by setting the Exposure Time Raw parameter value to 1 and the Exposure Time Base Abs parameter value to 10000000 us Changing the Exposure Time Base By default the Exposure Time Base is fixed at 20 us and the exposure time is normally adjusted by setting the value of the Exposure Time Raw parameter However if you require an exposure time that is longer than what you can achieve by changing the value of the Exposure Time Raw parameter alone the Exposure Time Base Abs parameter can be used to change the exposure time base The Exposure Time Base Abs parameter value sets the exposure time base in us The exposure time base can be changed in 1 us increments and the default is 20 us You can set the Exposure Time Raw and Exposure Time Base parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter values Camera ExposureMode SetValue ExposureMode
42. Power and I O Cable 61 7 4 8 PLC Powerandl O Cable 63 5 Camera POWOr coss ses quoe a ea Elene ele e e RE UO Eos E ester d RR aja 64 7 6 Ethernet GigE Device Information 65 7 7 7 Input and Output Lines L a 66 AT O AMPULLINGS iic e Do eats SEE da edu ee 66 7 7 1 1 Voltage Reguirements 66 BAS Eine Schemat s sinje terek pu exse Debug 68 T2 OUtput BInasz seus eure oboa PRA AE GA Ve bode dT BK ee ek abe 69 7 7 2 1 Voltage Reguirements 69 4352 2 Bine Sclhiermatie cuenca rv RRET PEN EPOR ERES 69 7 7 3 Output Line Response Time 71 8 Image Acquisition Control 73 8 1 Controlling Image Acquisition with Parameters Only No Triggering 73 8 1 1 Switching Off Triggering 73 8 1 2 Acquiring One Image ata TIMe 74 8 1 3 Acquiring Images Continuously Free run 74 8 2 Controlling Image Acquisition with a Software Trigger 76 8 2 1 Enabling the Software Trigger Feature 76 8 2 2 Acquiring a Single Image by Applying One Software Trigger 77 8 2 8 Acquiring Images by Applying a Series of Software Trigg
43. Red value for Pg bits 11 4 B4 Green value for P bits 3 0 Red value for Po bits 3 0 Bo Green value for P bits 11 4 B3 Red value for P bits 11 4 B Green value for P3 bits 3 0 Red value for P bits 3 0 Bs Green value for P5 bits 11 4 Bg Red value for P4 bits 11 4 B Green value for Ps bits 3 0 Red value for P4 bits 3 0 Bg Green value for Ps bits 11 4 Bm 5 Red value for P z bits 11 4 Bm 4 Green value for P gt bits 3 0 Red value for P 5 bits 3 0 Bm 3 Green value for P gt bits 11 4 Bm 2 Red value for P bits 11 4 Bm Green value for P bits 3 0 Red value for P bits 3 0 Bm Green value for P bits 11 4 When a color camera is set for Bayer GB 12 Packed the pixel data output is 12 bit data of the unsigned type The available range of data values and the corresponding indicated signal levels are as shown in the table below This Data Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 122 Basler pilot Pixel Data Formats 9 3 7 Bayer BG 12 Packed Format When a color camera is set for the Bayer BG 12 Packed pixel dataformat it outputs 12 bits of data per pixel Every three bytes transmitted by the camera contain data for two pixels With the Bayer BG 12 Packed coding the pixel data is not processed or interpolated in any way So for each pixel cov
44. Section 7 2 on page 58 Section 7 3 on page 60 and Section 7 4 on page 61 64 Basler pilot Physical Interface 7 6 Ethernet GigE Device Information The camera uses a standard Ethernet GigE transceiver The transceiver is fully 100 1000 Base T 802 3 compliant Basler pilot 65 Physical Interface 7 7 Input and Output Lines 7 7 1 Input Lines 7 7 1 1 Voltage Requirements Note Different voltage levels apply depending on whether the standard power and l O cable or a PLC power and I O cable is used see below Voltage Levels When the Standard Power and I O Cable is Used The following voltage requirements apply to the camera s I O input pins 3 and 4 of the 12 pin receptacle Voltage Significance 0 to 24 VDC Recommended operating voltage 0 to 1 4 VDC The voltage indicates a logical 0 gt 1 4 to 2 2 VDC Region where the transition threshold occurs the logical state is not defined in this region gt 2 2 VDC The voltage indicates a logical 1 30 0 VDC Absolute maximum the camera may be damaged when the absolute maximum is exceeded Table 7 Voltage Requirements for the I O Input When Using the Standard Power and I O Cable 66 Basler pilot Physical Interface Voltage Levels When a PLC Power and I O Cable is Used The following voltage requirements apply to the input of the PLC power and l O cable The PLC power and l O cable will adjust the voltages to the le
45. Specifications Reguirements and Precautions 1 Avoiding EMI and ESD Problems The cameras are frequently installed in industrial environments These environments often include devices that generate electromagnetic interference EMI and they are prone to electrostatic discharge ESD Excessive EMI and ESD can cause problems with your camera such as false triggering or can cause the camera to suddenly stop capturing images EMI and ESD can also have a negative impact on the quality of the image data transmitted by the camera To avoid problems with EMI and ESD you should follow these general guidelines Always use high quality shielded cables The use of high quality cables is one of the best defenses against EMI and ESD Try to use camera cables that are the correct length and try to run the camera cables and power cables parallel to each other Avoid coiling camera cables If the cables are too long use a meandering path rather then coiling the cables Avoid placing camera cables parallel to wires carrying high current switching voltages such as wires supplying stepper motors or electrical devices that employ switching technology Placing camera cables near to these types of devices may cause problems with the camera Attempt to connect all grounds to a single point e g use a single power outlet for the entire system and connect all grounds to the single outlet This will help to avoid large ground loops Large ground loops ca
46. U and V values in a fashion that mimics the output from a color camera set for YUV 4 2 2 YUYV Packed The Y value transmitted for each pixel is an actual 8 bit brightness value similar to the pixel data transmitted when a monochrome camera is set for Mono 8 The U and V values transmitted will always be zero With this format a Y value is transmitted for each pixel but the U and V values are only transmitted for every second pixel The order of the pixel data for a received frame in the image buffer in your PC is similar to the order of YUV 4 2 2 YUYV Packed output from a color camera For more information about the YUV 4 2 2 YUYV Packed format on color cameras see Section 9 3 9 on page 128 110 Basler pilot Pixel Data Formats 9 3 Pixel Data Output Formats for Color Cameras 9 3 1 The Bayer Color Filter The sensor used in color models of the camera is equipped with an additive color separation filter known as a Bayer filter The pixel data output formats available on color cameras are related to the Bayer pattern so you need a basic knowledge of the Bayer filter to understand the pixel formats With the Bayer filter each individual pixel is covered by a micro lens that allows light of only one color to strike the pixel The pattern of the Bayer filter used on the camera is as shown in Figure 37 the alignment of the Bayer filter with repect to the sensor is shown as an example only the figure shows the BG filter alignment
47. Y Offset Width and Height parameter values from within your application software by using the pylon API The following code snippets illustrate using the API to get the maximum allowed settings and the increments for the Width and Height parameters They also illustrate setting the X Offset Y Offset Width and Height parameter values int64 t widthMax Camera Width GetMax int64 t widhInc lt Camera Width GetInc Camera Width SetValue 200 Camera OffsetX SetValue 100 int64 t heightMax Camera Height GetMax int64 t heightInc Camera Height GetInc Camera Height SetValue 200 Camera OffsetY SetValue 100 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 11 5 1 Changing AOI Parameters On the Fly Making AOI parameter changes on the fly means making the parameter changes while the camera is capturing images continuously On the fly changes are only allowed for the parameters that determine the position of the AOI i e the X Offset and Y Offset parameters Changes to the AOI size are not allowed on the fly Basler pilot 155 Features 11 6 Binning Note The binning feature is only available on the monochrome cameras Binning increases the camera s response to light by summi
48. ability to generate test images Test images are used to check the camera s basic functionality and its ability to transmit an image to the host PC Test images can be used for service purposes and for failure diagnostics For test images the image is generated internally by the camera s logic and does not use the optics the imaging sensor or the ADC Six test images are available The Effect of Camera Settings on Test Images When any of the test image is active the camera s analog features such as gain black level and exposure time have no effect on the images transmitted by the camera For test images 1 2 3 and 6 the cameras digital features such as the luminance lookup table will also have no effect on the transmitted images But for test images 4 and 5 the cameras digital features will affect the images transmitted by the camera This makes test images 4 and 5 as good way to check the effect of using a digital feature such as the luminance lookup table Enabling a Test Image The Test Image Selector is used to set the camera to output a test image You can set the value of the Test Image Selector to one of the test images or to test image off You can set the Test Image Selector from within your application software by using the pylon API The following code snippets illustrate using the API to set the selector set for no test image Camera TestImageSelector SetValue TestImageSelector Off set for the first tes
49. acquisition and transmission The chart assumes that exposure is triggered by an ExTrig signal with rising edge activation and that the camera is set for the timed exposure mode As Figure 36 shows there is a slight delay between the rise of the ExTrig signal and the start of exposure After the exposure time for an image acquisition is complete the camera begins reading out the acquired image data from the sensor into a buffer in the camera When the camera has determined that a sufficient amount of image data has accumulated in the buffer it will begin transmitting the data from the camera to the host PC This buffering technique avoids the need to exactly synchronize the clock used for sensor readout with the data transmission over your Ethernet network The camera will begin transmitting data when it has determined that it can safely do so without over running or under running the buffer This buffering technique is also an important element in achieving the highest possible frame rate with the best image quality The exposure start delay is the amount of time between the point where the trigger signal transitions and the point where exposure actually begins The frame readout time is the amount of time it takes to read out the data for an acquired image from the sensor into the image buffer The frame transmission time is the amount of time it takes to transmit the acquired image from the buffer in the camera to the host PC via the network
50. and chunk data The Bandwidth Assigned parameter on the other hand indicates the bandwidth needed to transmit image data and chunk data plus the bandwidth reserved for retrys and the bandwidth needed for any overhead such as leaders and trailers Resulting Frame Rate read only Indicates the maximum allowed frame acquisition rate in frames per second given the current camera settings The parameter takes the current area of interest exposure time and bandwidth settings into account If the Acquisition Frame Rate abs parameter has been used to set the camera s frame rate the Resulting Frame Rate parameter will show the Acquisition Frame Rate abs parameter setting If software or hardware triggering is being used to control the camera s frame rate the Resulting Frame Rate parameter will indicate the maximum frame rate allowed given the current camera settings You can read or set the camera s network related parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter values Payload Size int64 t payloadSize Camera PayloadSize GetValue GevStreamChannelSelector Camera GevStreamChannelSelector SetValu GevStreamChannelSelector StreamChannelO PacketSize Camera GevSCPSPacketSize SetValue 1500 Inter packet Delay Camera GevSCPD SetValue 1000 Frame transmission Delay Camera GevSCFTD Set
51. application software by using the pylon API You can also execute the Acquisition Start command The following code snippet illustrates using the API to set the parameter values and execute the command Camera TriggerSelector SetValue TriggerSelector AcquisitionStart Camera ExposureMode SetValue ExposureMode Timed Camera ExposureTimeAbs SetValue 3000 Camera TriggerActivation SetValue TriggerActivation RisingEdge Camera AcquisitionMode SetValue AcquisitionMode SingleFrame Camera AcquisitionStart Execute For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters 84 Basler pilot Image Acquisition Control For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the Trigger Ready signal see Section 8 6 on page 92 For more information about the camera s exposure time parameter see Section 8 4 on page 87 8 3 4 Acquiring Images by Applying a Series of Hardware Trigger Transitions You can set the camera so that it will react to a continuous series of external hardware trigger ExTrig transitions and then you can cycle the ExTrig signal as desired to begin image acquisition When you are using an ExTrig signal to start image acquisition you should monitor the camera s trigger ready TrigRdy output signa
52. bits 11 4 Bm 1 Green value for P bits 3 0 Blue value for P bits 3 0 Bm Green value for P bits 11 4 Basler pilot 123 Pixel Data Formats Odd Lines Byte Data Bo Green value for Py bits 11 4 B4 Red value for P4 bits 3 0 Green value for Pg bits 3 0 Bo Red value for P4 bits 11 4 B3 Green value for P5 bits 11 4 B4 Red value for P bits 3 0 Green value for P3 bits 3 0 Bs Red value for P3 bits 11 4 Bg Green value for P4 bits 11 4 B Red value for Ps bits 3 0 Green value for P bits 3 O Bg Red value for Ps bits 11 4 Bm 5 Green value for P 3 bits 11 4 Bm 4 Red value for P bits 3 0 Green value for P 3 bits 3 O Bm 3 Red value for Py bits 11 4 Bm 2 Green value for P bits 11 4 Bm Red value for P bits 3 0 Green value for P bits 3 0 Bm Red value for P bits 11 4 When a color camera is set for Bayer BG 12 Packed the pixel data output is 12 bit data of the unsigned type The available range of data values and the corresponding indicated signal levels are as shown in the table below This Data Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 124 Basler pilot Pixel Data Formats 9 3 8 YUV 4 2 2 Packed Format Eguivalent to DCAM YUV 4
53. end is unterminated Contact your Basler sales representative to order the cables Basler pilot 63 Physical Interface 7 5 Camera Power Camera power must be supplied to the camera s 12 pin connector via the standard power and I O cable or via the PLC power and I O cable Power consumption is as shown in the specification tables in Section 1 of this manual CAUTION CAUTION Voltage Outside of Specified Range Can Cause Damage If the voltage of the power to the camera is greater than 30 0 VDC damage to the camera can result If the voltage is less than 11 3 VDC the camera may operate erratically An Incorrect Plug Can Damage the 12 pin Connector The plug on the cable that you attach to the camera s 12 pin connector must have 12 pins Use of a smaller plug such as one with 10 pins or 8 pins can damage the pins in the camera s 12 pin connector The following voltage requirements apply to the camera power VCC pins 8 and 9 of the 12 pin receptacle Voltage Significance lt 411 3 VDC The camera may operate erratically 412 to 24 VDC Recommended operating voltage lt 1 ripple reguired Make sure to use a power supply that supplies power in this voltage range 430 0 VDC Absolute maximum the camera may be damaged when the absolute maximum is exceeded Table 6 Voltage Reguirements for the Camera Power VCC For more information about the 12 pin connector and the power and I O cables see
54. example if the balance ratio for a color is set to 1 2 the intensity of that color will be increased by 20 The balance ratio value can range from 0 00 to 3 98 But you should be aware that if you set the balance ratio for a color to a value lower than 1 this will not only decrease the intensity of that color relative to the other two colors but will also decrease the maximum intensity that color can achieve For this reason we don t normally recommend setting a balance ratio less than 1 unless you want to correct for the strong predominance of one color To set the Balance Ratio parameter for a color Set the Balance Ratio Selector to red green or blue Set the Balance Ratio Abs parameter to the desired value for the selected color You can set the Balance Ratio Selector and the Balance Ratio Abs parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera BalanceRatioSelector SetValue BalanceRatioSelector Green Camera BalanceRatioAbs SetValue 1 20 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 151 Features 11 4 Integrated IR Cut Filter on Color Models Co
55. exposure mode set for the timed exposure mode set exposure time to 3000 nus Camera ExposureMode SetValue ExposureMode Timed Camera ExposureTimeAbs SetValue 3000 set for the width exposure mode set minimum exposure time to 3000 us Camera ExposureMode SetValue ExposureMode TriggerWidth Camera ExposureTimeAbs SetValue 3000 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon viewer see Section 3 1 on page 25 For more information about the camera s exposure time parameter see Section 8 4 on page 87 For more information about overlapped exposure see Section 8 5 on page 90 82 Basler pilot Image Acquisition Control For more detailed information about using the trigger width exposure mode with overlapped exposure refer to the application notes called Using a Specific External Trigger Signal with Overlapped Exposure AW000565xx000 The application notes are available in the downloads section of the Basler website www baslerweb com 8 3 2 Setting the Camera for Hardware Triggering To set the camera for hardware triggering Use the Trigger Selector parameter to select the Acquisition Start trigger Use the Trigger Mode parameter to set the trigger mode to On Use the Trigger Source parameter to set
56. image is similar to test image 2 but it is a 12 bit pattern The image moves by one pixel from right to left whenever a new image acquisition is initiated The test pattern uses a counter that increments by one for each new image acquisition The mathematical expression for this test image is Gray Value column number row number counter MOD 4096 Basler pilot 195 Features Test Image 4 Moving Diagonal Gray Gradient Feature Test 8 bit The basic appearance of test image 4 is similar to test image 2 the 8 bit moving diagonal gray gradient image The difference between test image 4 and test image 2 is this if a camera feature that involves digital processing is enabled test image 4 will show the effects of the feature while test image 2 will not This makes test image 4 useful for checking the effects of digital features such as the luminance lookup table Test Image 5 Moving Diagonal Gray Gradient Feature Test 12 bit The basic appearance of test image 5 is similar to test image 3 the 12 bit moving diagonal gray gradient image The difference between test image 5 and test image 3 is this if a camera feature that involves digital processing is enabled test image 5 will show the effects of the feature while test image 3 will not This makes test image 5 useful for checking the effects of digital features such as the luminance lookup table Test Image 6 Moving Diagonal Color Gradient The moving diagonal color gradient
57. interpolation would be reported out of the camera as the 12 bit output Another thing to keep in mind about the table is that location 4088 is the last location that will have a defined 12 bit value associated with it Locations 4089 through 4095 are not used If the sensor reports a value above 4088 the camera will not be able to perform an interpolation In cases where the sensor reports a value above 4088 the camera simply transmits the 12 bit value from location 4088 in the table The advantage of the luminance lookup table feature is that it allows a user to customize the response curve of the camera The graphs below represent the contents of two typical lookup tables The first graph is for a lookup table where the values are arranged so that the output of the camera increases linearly as the sensor output increases The second graph is for a lookup table where the values are arranged so that the camera output increases quickly as the sensor output moves from 0 through 2048 and increases gradually as the sensor output moves from 2049 through 4096 Basler pilot 163 Features 4095 72 12 Bit 30 Camera Output 2048 1024 0 0 1024 2048 3072 4095 12 Bit Sensor Reading Fig 45 Lookup Table with Values Mapped in a Linear Fashion 4095 72 12 Bit 30 Camera Output 2048 1024 0 0 1024 2048 3072 4095 12 Bit Sensor Reading Fig 46 Lookup Table with Values Mapped for Higher Camera Output at Low Sensor Readings 164
58. is also useful when you are operating a system where either the camera or the object being imaged is movable For example assume that the camera is mounted on an arm mechanism and that the mechanism can move the camera to view different portions of a product assembly Typically you do not want the camera to move during exposure In this case you can monitor the ExpAc signal to know when exposure is taking place and thus know when to avoid moving the camera Exposure Exposure Exposure Exposure Frame N Frame N 1 Frame N 2 2 3 5 US e E 2 3 5 us e E f 10 26 us Mi 10 26 it ExpAc US HS gt i Signal Timing charts are not drawn to scale Times stated are typical Fig 35 Exposure Active Signal Note When you use the exposure active signal be aware that there is a delay in the rise and the fall of the signal in relation to the start and the end of exposure See Figure 35 for details By default the ExpAc signal is assigned to physical output line 1 on the camera However the assignment of the ExpAc signal to a physical output line can be changed For more information about changing the assignment of camera output signals to physical output lines see Section 10 2 1 on page 135 For more information about the electrical characteristics of the camera s output lines see Section 7 7 2 on page 69 94 Basler pilot Image Acquisition Control 8 8 Acquisition Timing Chart Figure 36 shows a timing chart for image
59. may result We recommend to only change the feature settings while individual images used for averaging are not acquired 160 Basler pilot Features When end of exposure event reporting is enabled an end of exposure event will be reported for each image in the seguence of individual images No end of exposure event will be reported spe cifically for the averaged image When a chunk feature is enabled the data chunk from the last image in the seguence of individual images will be taken for the averaged image Output Frame Rate When averaging is used the images will be transmitted at an output frame rate which will be lower than the acquisition frame rate As the number of averaged individual images increases the output frame rate will decrease The output frame rate is described by the following formula Output Frame Rate Acquisition Frame Rate Number of Averaged Images Example Assume the acquisition frame rate is 248 4 frames per second and 3 images are averaged then the output frame rate will be 82 2 frames per second Note that averaging will allow an increased acquisition frame rate compared to not using averaging if the frame transmission is the most restricting factor When averaging is used Formula 3 in the Maximum Allowed Acquisition Frame Rate section is replaced by the following formula Max Frames s Device Current Throughput Parameter Value x Number of Averaged Images Payload Size Parameter
60. network parameters for your network adapter during the installation of the Basler pylon software continue with step two Otherwise open the Network Connection Properties window for your network adapter and check the following network parameters If you use an Intel PRO network adapter Make sure the Receive Descriptors parameter is set to its maximum value and the Interrupt Moderation Rate parameter is set to Extreme Also make sure the Speed and Duplex Mode parameter is set to Auto Detect If you use a different network adapter see whether parameters are available that will allow setting the number of receive descriptors and the number of CPU interrupts The related parameter names may differ from the ones used for the Intel PRO adapters Also the way of setting the parameters may be different You may e g have to use a parameter to set a low number for the interrupt moderation and then use a different parameter to enable the interrupt moderation If possible set the number of receive descriptors to a maximum value and set the number of CPU interrupts to a low value If possible also set the parameter for speed and duplex to auto Basler pilot 47 Network Related Camera Parameters and Managing Bandwidth Contact Basler technical support if you need further assistance Step 2 Set the Packet Size parameter on each camera as large as possible Using the largest possible packet size has two advantages it increases the efficiency
61. of network transmissions between the camera and the PC and it reduces the time reguired by the PC to process incoming packets The largest packet size setting that you can use with your camera is determined by the largest packet size that can be handled by your network The size of the packets that can be handled by the network depends on the capabilities and settings of the network adapter you are using and on capabilities of the network switch you are using Unless you have already set the packet size for your network adapter during the installation of the Basler pylon software check the documentation for your adapter to determine the maximum packet size sometimes called frame size that the adapter can handle Many adapters can handle what is known as jumbo packets or jumbo frames These are packets with a maximum size of 16 kB Once you have determined the maximum size packets the adapter can handle make sure that the adapter is set to use the maximum packet size Next check the documentation for your network switch and determine the maximum packet size that it can handle If there are any settings available for the switch make sure that the switch is set for the largest packet size possible Now that you have set the adapter and switch you can determine the largest packet size the network can handle The device with the smallest maximum packet size determines the maximum allowed packet size for the network For example if the adapter
62. page 167 and added related information in other parts of the manual Extended the description of the debouncer in Section 11 12 on page 181 Minor modifications and corrections throughout the manual AW00015114000 22 Aug 2008 Updated contact addresses and phone numbers Official release of the averaging feature and of the auto functions AW00015115000 30 Sep 2008 Added information for the new piA2400 17gm gc models Basler pilot 209 Revision History 210 Basler pilot Feedback Feedback Your feedback will help us improve our documentation Please click the link below to access an online feedback form Your input is greatly appreciated http www baslerweb com umfrage survey html Basler pilot 211 Feedback 212 Basler pilot Index A acquisition frame rate and AOI size 98 and averaging 98 161 maximum allowed 98 acquisition frame rate abs parameter holds dM DE Ld NI tts 74 78 85 acquisition mode parameter car EO ETA 74 77 78 84 85 acquisition start command dA Voss dd tici due 77 78 84 85 alignment Ccolor ilter ont 112 AO see area of interest BEP iui eo Seb HY oes 26 area of interest auto function AOI 167 explained 153 image AOp onitan 169 SEWN eee e eto ied 154 using with binning
63. parameter to set the exposure mode to timed You can set these parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter values Camera TriggerSelector SetValue TriggerSelector AcguisitionStart Camera TriggerMode SetValue TriggerMode On Camera TriggerSource SetValue TriggerSource Software Camera ExposureMode SetValue ExposureMode Timed For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference 76 Basler pilot Image Acquisition Control You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 8 2 2 Acquiring a Single Image by Applying One Software Trigger You can set the camera to react to a single software trigger and then issue a software trigger to begin image acquisition To do so follow this sequence Access the camera s API and set the exposure time parameter for your desired exposure time 2 Setthe value of the camera s Acquisition Mode parameter to Single Frame 3 Execute an Acquisition Start command This prepares the camera to react to a software trigger When you are ready to begin an image acquisition execute a Trigger Software command 5 Image acquisition will start and exposure will continue for the length of time you speci
64. parameters alone can be used to control image acquisition For a more complete description refer to the Basler pylon Programmer s Guide and to the sample programs included in the Basler pylon Software Development Kit SDK Basler pilot 75 Image Acguisition Control 8 2 Controlling Image Acquisition with a Software Trigger You can configure the camera so that image acquisition will be controlled by issuing a software trigger The software trigger is issued by executing a Trigger Software command Image acquisition starts when the Trigger Software command is executed The exposure time for each image is determined by the value of the camera s exposure time parameter Figure 28 illustrates image acquisition with a software trigger Software Trigger Issued Image Acquisition Exposure duration determined by the exposure time parameters Fig 28 Image Acquisition with a Software Trigger When controlling image acquisition with a software trigger you can set the camera so that it will react to a single software trigger or so that it will react to a continuous series of software triggers 8 2 1 Enabling the Software Trigger Feature To enable the software trigger feature Use the camera s Trigger Selector parameter to select the Acquisition Start trigger Use the camera s Trigger Mode parameter to set the mode to On Use the camera s Trigger Source parameter to set the trigger source to Software Use the Exposure Mode
65. plus the Black Level Raw Tap 1 value Black Level Raw Tap 2 sets an additional amount of black level adjustment for the left half of the sensor The Black Level Raw Tap 2 value can be set in a range from 0 to 1023 The total black level for the left half of the sensor will be the sum of the Black Level Raw All value plus the Black Level Raw Tap 2 value If the camera is set for a pixel data format that yields 8 bit effective pixel depth Mono 8 YUV 4 2 2 Packed YUV 4 2 2 YUYV Packed an increase of 64 in a black level setting will result in a positive offset of 1 in the pixel values output from the camera And a decrease of 64 in a black level setting result in a negative offset of 1 in the pixel values output from the camera If the camera is set for a pixel data format that yields an effective pixel depth of 12 bits per pixel Mono 16 Mono 12 Packed an increase of 4 in a black level setting will result in a positive offset of 1 in the pixel values output from the camera A decrease of 4 in a black level setting will result in a negative offset of 1 in the pixel values output from the camera For normal operation we recommend that you set the value of Black Level Raw Tap 1 and Black Level Raw Tap 2 to zero and that you simply use Black Level Raw All to set the black level Typically the tap black level settings are only used if you want to adjust the black level balance between the left half and the right half of the sensor Note Th
66. rate can be achieved if the frame transmission is the most limiting factor The acquired images are not transmitted individually but will be used for creating an averaged image The averaged image will be transmitted at an output frame rate which will be subject to the frame transmission time and will be lower than the acquisition frame rate To determine the maximum allowed acquisition frame rate with your current camera settings you can read the value of the camera s Resulting Frame Rate parameter This parameter indicates the camera s current maximum allowed frame rate taking into account the AOI exposure time bandwidth settings and whether the averaging feature is enabled For more information about AOI settings see Section 11 5 on page 153 For more information about the Resulting Frame Rate parameter see Section 5 1 on page 39 For more information about the averaging feature see Section 11 7 on page 160 Increasing the Maximum Allowed Frame Rate You may find that you would like to acquire frames at a rate higher than the maximum allowed with the camera s current settings In this case you must first use the three formulas described below to determine what factor is restricting the maximum frame rate the most Next you must try to make that factor less restrictive You will often find that the sensor readout time is most restrictive factor Decreasing the AOI height for the acquired frames will decrease the sensor readout ti
67. reporting the camera can generate an event and transmit it to the PC whenever a specific situation has occurred Currently the camera can generate and transmit an event for two types of situations An end of an exposure has occurred An event overrun has occurred An Example of Event Reporting As an example of how event reporting works assume that end of exposure event reporting has been enabled in the camera Also assume that an end of exposure has just occurred in the camera In this case 1 An end of exposure event is created The event contains An Event Type Identifier In this case the identifier would show that an end of exposure type event has occurred A Stream Channel Identifier Currently this identifier is always 0 A Frame ID This number indicates the frame count at the time that the event occurred A Timestamp This is a timestamp indicating when the event occurred The time stamp timer starts running at power off on or at camera reset The unit for the timer is ticks where one tick lt 8 ns The timestamp is a 64 bit value 2 The event is placed in an internal queue in the camera 3 As soon as network transmission time is available the camera will transmit an event message If only one event is in the queue the message will contain the single event If more than one event is in the queue the message will contain multiple events a After the camera sends an event message it waits for an acknowledge
68. section provides an overview of the camera s functionality from a system perspective The overview will aid your understanding when you read the more detailed information included in the next sections of the user s manual 6 1 Overview Each camera provides features such as a full frame shutter and electronic exposure time control Exposure start exposure time and charge readout can be controlled by parameters transmitted to the camera via the Basler pylon API and the GigE interface There are also parameters available to set the camera for single frame acquisition or continuous frame acquisition Exposure start can also be controlled via an externally generated hardware trigger ExTrig signal The ExTrig signal facilitates periodic or non periodic acquisition start Modes are available that allow the length of exposure time to be directly controlled by the ExTrig signal or to be set for a pre programmed period of time Accumulated charges are read out of the sensor when exposure ends At readout the accumulated charges are transported from the sensor s light sensitive elements pixels to its vertical shift registers see Figure 18 on page 54 The charges from the bottom line of pixels in the array are then moved to two horizontal shift registers as shown in the figure Charges from the left half of the line are moved to the left horizontal shift register and charges from the right half of the line are moved to the right horizontal shift regi
69. sure that only one of the cameras is acquiring and transmitting images at any given time The data output from a single camera is well within the bandwidth capacity of the single path and you should have no problem with bandwidth in this case If you want to acquire and transmit images from several cameras simultaneously however you must determine the total data output rate for all the cameras that will be operating simultaneously and you must make sure that this total does not exceed the bandwidth of the single path 125 MByte s An easy way to make a guick check of the total data output from the cameras that will operate simultaneously is to read the value of the Bandwidth Assigned parameter for each camera This parameter indicates the camera s gross data output rate in bytes per second with its current settings If the sum of the bandwidth assigned values is less than 125 MByte s the cameras should be able to operate simultaneously without problems If it is greater you must lower the data output rate of one or more of the cameras You can lower the data output rate on a camera by using the Inter packet Delay parameter This parameter adds a delay between the transmission of each packet from the camera and thus slows 46 Basler pilot Network Related Camera Parameters and Managing Bandwidth the data transmission rate of the camera The higher the inter packet delay parameter is set the greater the delay between the transmission of each p
70. tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer GB 16 output Note that the data is placed in the image buffer in little endian format The following standards are used in the tables Po the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line Even Lines Odd Lines Byte Data Byte Data Bo Low byte of green value for Po Bo Low byte of red value for Po B4 High byte of green value for Po B4 High byte of red value for Po Bo Low byte of blue value for P4 Bo Low byte of green value for P4 B3 High byte of blue value for P4 B3 High byte of green value for P4 B4 Low byte of green value for P B4 Low byte of red value for P Bs High byte of green value for P Bs High byte of red value for Po Bg Low byte of blue value for P3 Bg Low byte of green value for P5 B High byte of blue value for P4 B High byte of green value for P4 Bm 7 Low byte of green value for Ph 3 Bm 7 Low byte of red value for P 5 Bn 6 High byte of green value for P 3 Bn 6 High byte of red value for P 4 Basler pilot 117 Pixel Data Formats Bm 5 Low byte of blue
71. the Auto Gain Raw parameter value The currently accessible minimum and maximum parameter values are chosen as examples Setting the target average gray value A medium gray value is chosen as an example Enabling the gain auto function and selecting for example the once mode of operation Select the appropriate auto function AOI for luminance statistics Currently AutoFunctionAOISelector_AOI1 is predefined to gather luminance statistics Set position and size of the auto function AOI Camera AutoFunctionAOISelector SetValue AutoFunctionAOISelector AOI 174 Basler pilot Features Camera AutoFunctionAOIOffsetX SetValue 0 Camera AutoFunctionAOIOffsetY SetValue 0 Camera AutoFunctionAOIWidth SetValue Camera AutoFunctionAOIWidth GetMax Camera AutoFunctionAOIHeight SetValue Camera AutoFunctionAOIHeight GetMax Select gain for automatic luminance control Set gain limits for luminance control Camera GainSelector SetValue GainSelector All Camera AutoGainRawLowerLimit SetValue Camera GainRaw GetMin Camera AutoGainRawUpperLimit SetValue Camera GainRaw GetMax Set target value for luminance control This is always expressed by an 8 bit value regardless of the current pixel format i e 0 black 255 gt white Camera AutoTargetValue SetValue 128 Set mode of operation for gain auto function Camera GainAuto SetValue GainAuto Once
72. the CRC checksum contained in the CRC checksum chunk If the two match the result will indicate that the image data is OK If the two do not match the result will indicate that the image is corrupted You can set the Chunk Selector and Chunk Enable parameter value from within your application software by using the pylon API You can also run the parser and retrieve the chunk data The following code snippets illustrate using the API to activate the chunk mode enable the time stamp chunk run the parser and retrieve the frame counter chunk data Make chunk mode active and enable CRC chunk Camera ChunkModeActive SetValue true Camera ChunkSelector SetValue ChunkSelector PayloadCRC16 190 Basler pilot Features Camera ChunkEnable SetValue true Check the CRC checksum of an grabbed image IChunkParser amp ChunkParser Camera CreateChunkParser GrabResult Result StreamGrabber RetrieveResult Result ChunkParser AttachBuffer unsigned char Result Buffer Result GetPayloadSize if ChunkParser HasCRC amp amp ChunkParser CheckCRC cerr Image corrupted endl For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Basler pilot 191 Features 11 14 Event Reporting Event reporting is available on the camera With event
73. the camera to accept the hardware trigger signal on input line 1 or on input line 2 Use the Trigger Activation parameter to set the camera for rising edge triggering or for falling edge triggering You can set these parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter values Camera TriggerSelector SetValue TriggerSelector AcquisitionStart Camera TriggerMode SetValue TriggerMode On Camera TriggerSource SetValue TriggerSource Linel Camera TriggerActivation SetValue TriggerActivation RisingEdge For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 83 Image Acguisition Control 8 3 3 Acquiring a Single Image by Applying One Hardware Trigger Transition You can set the camera to react to a single transition of an external hardware trigger ExTrig signal and then you can transition the ExTrig signal to begin image acguisition When you are using an ExTrig signal to start image acquisition you should monitor the camera s trigger ready TrigRdy output signal and you should base the use of your ExTrig signal on the state of the trigger ready signal To set the camera to react to a
74. to light 158 resulting frame rate parameter 44 S saving parameter sets 199 200 sensor architecture tore dem ede 54 optical size 2 3 5 216 pixel size erus 2 3 5 position accuracy 14 SIZ Cie Ae ted NO 2 3 5 TYPO sade snik eden Delaj 2 3 5 sensor height parameter 197 sensor width parameter 197 serial number 21 sets of parameters saving 200 software development kit 26 software trigger 76 spectral response 6 speed and duplex 47 standard power and I O cable 61 voltage requirements 64 66 startup parameter set 201 SITeSS lesti sni renina aad 16 SUpDDOTLL otc Rn E ea ak 204 T target value 167 technical support 203 204 temperature einen 19 test image selector 194 test iMAges 194 time delay time base abs parameter 139 time stamp chunk 187 timed exposure mode
75. when the other network related parameters are changed Currently the cameras support only one stream channel i e stream channel 0 Packet Size read write As specified in the GigE Vision standard each acquired image will be fit into a data block The block contains three elements a data leader consisting of one packet used to signal the beginning of a data block the data payload consisting of one or more packets containing the actual data for the current block and a data trailer consisting of one packet used to signal the end of the data block The packet size parameter sets the size of the packets that the camera will use when it sends the data payload via the selected stream channel The value is in bytes The value does not affect the leader and trailer size and the last data packet may be a smaller size Basler pilot 39 Network Related Camera Parameters and Managing Bandwidth The packet size parameter should always be set to the maximum size that your network adapter and network switches if used can handle Inter packet Delay read write Sets the delay in ticks between the packets sent by the camera Applies to the selected stream channel Increasing the inter packet delay will decrease the camera s effective data transmission rate and will thus decrease the network bandwidth used by the camera In the current camera implementation one tick 8 ns To check the tick frequency you can read the Gev Timestamp Tick Frequen
76. within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Select the feature whose factory limits will be disabled Camera ParameterSelector SetValue ParameterSelector Gain Disable the limits for the selected featur Camera RemoveLimits SetValue true For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Note that the disable parameter limits feature will only be available at the guru viewing level For more information about the pylon Viewer see Section 3 1 on page 25 180 Basler pilot Features 11 12 Debouncer The debouncer feature aids in discriminating between valid and invalid input signals and only lets valid signals pass to the camera The debouncer value specifies the minimum time that an input signal must remain high or remain low in order to be considered a valid input signal We recommend setting the debouncer value so that it is slightly greater than the longest expected duration of an invalid signal Setting the debouncer to a value that is too short will result in accepting invalid signals Setting the debouncer to a value that is too long will result in rejecting valid signals Note that the debouncer delays a valid signal between it
77. 08 Basler pilot Pixel Data Formats When a monochrome camera is set for Mono 12 Packed the pixel data output is 12 bit data of the unsigned type The available range of data values and the corresponding indicated signal levels are as shown in the table below This Data Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 Basler pilot 109 Pixel Data Formats 9 2 4 YUV 4 2 2 Packed Format Equivalent to DCAM YUV 4 2 2 When a monochrome camera is set for the YUV 4 2 2 Packed pixel data format the camera transmits Y U and V values in a fashion that mimics the output from a color camera set for YUV 4 2 2 Packed The Y value transmitted for each pixel is an actual 8 bit brightness value similar to the pixel data transmitted when a monochrome camera is set for Mono 8 The U and V values transmitted will always be zero With this format a Y value is transmitted for each pixel but the U and V values are only transmitted for every second pixel The order of the pixel data for a received frame in the image buffer in your PC is similar to the order of YUV 4 2 2 Packed output from a color camera For more information about the YUV 4 2 2 Packed format on color cameras see Section 9 3 8 on page 125 9 2 5 YUV 4 2 2 YUYV Packed Format When a monochrome camera is set for the YUV 4 2 2 YUYV Packed pixel data format the camera transmits Y
78. 11 10 1 1 Modes of Operation The following modes of operation are available All auto functions provide the once mode of operation When the once mode of operation is selected the parameter values are automatically adjusted until the related image property reaches the target value After the automatic parameter value adjustment is complete the auto function will automatically be set to off and the new parameter value will be applied to the following images The parameter value can be changed by using the once mode of operation again by using the continuous mode of operation or by manual adjustment Some auto functions also provide a continuous mode of operation where the parameter value is adjusted repeatedly while images are acguired Depending on the current frame rate the automatic adjustments will usually be carried out for every or every other image unless the camera s micro controller is kept busy by other tasks The repeated automatic adjustment will proceed until the once mode of operation is used or until the auto function is set to off in which case the parameter value resulting from the latest automatic adjustment will operate unless it is manually adjusted When an auto function is set to off the parameter value resulting from the automatic adjustment will operate unless it is manually adjusted You can enable auto functions and change their settings while the camera is capturing images on the fly
79. 2 In Pwr VCC In Pwr VCC l O Out VCC Lj VO Out jo vO outa oo NOJA OON Standard Power and l O Cable Fig 22 Standard Power and I O Cable 62 D Note To avoid a voltage drop with long power wires we recommend that you supply camera power VCC through two separate wires between the power supply and the camera as shown in the figure above We also recommend that you supply camera power ground through two separate wires between the power supply and the camera as shown in the figure Basler pilot Physical Interface 7 4 3 PLC Power and l O Cable As with the standard power and l O cable described in the previous section the PLC power and I O cable is a single cable that connects power to the camera and connects to the camera s I O lines The PLC power and I O cable adjusts the voltage levels of PLC devices to the voltage levels required by the camera and it protects the camera against negative voltage and reverse polarity Close proximity to strong magnetic fields should be avoided Note We recommend using a PLC power and I O cable if the camera is connected to a PLC device You can use a PLC power and I O cable when the camera is not connected to a PLC device if power for the I O input is supplied with 24 VDC Basler offers PLC power and I O cables with 3 m and 10 m lengths Each cable is terminated with a 12 pin Hirose plug HR10A 10P 12S on the end that connects to the camera The other
80. 2 2 When a color camera is set for the YUV 422 Packed pixel data format each pixel in the captured image goes through a two step conversion process as it exits the sensor and passes through the camera s electronics This process yields Y U and V color information for each pixel In the first step of the process an interpolation algorithm is performed to get full RGB data for each pixel This is required because color cameras use a Bayer filter on the sensor and each individual pixel gathers information for only one color For more information on the Bayer filter see Section 9 3 1 on page 111 The second step of the process is to convert the RGB information to the YUV color model The conversion algorithm uses the following formulas Y 0 30 R 0 59G 0 11 B U 0417 R 0 33G 0 50 B V 0 50R 0 41G 0 09B Once the conversion to a YUV color model is complete the pixel data is transmitted to the host PC Note The values for U and for V normally range from 128 to 127 Because the camera transfers U values and V values with unsigned integers 128 is added to each U value and to each V value before the values are transferred from the camera This process allows the values to be transferred on a scale that ranges from 0 to 255 Basler pilot 125 Pixel Data Formats The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when the camera is set for YUV 4 2 2 Packed ou
81. 456789 1011 2 12341 15 16 77 18 19 2 21 2 23 A4 25 26 2 2829 30 JJ o o X Offset Auto Function Area of Interest Height BEBoo lt Ja u Rw NE Image Area of Interest Fig 47 Auto Function Area of Interest and Image Area of Interest Basler pilot 169 Features Relative Positioning of an Auto Function AOI The size and position of an Auto Function AOI can be but need not be identical to the size and position of the Image AOI Note that the overlap between Auto Function AOI and Image AOI determines whether and to what extent the auto function will control the related image property Only the pixel data from the areas of overlap will be used by the auto function to control the image property of the entire image Different degrees of overlap are illustrated in Figure 48 The hatched areas in the figure indicate areas of overlap If the Auto Function AOI is completely included in the Image AOI see a in Figure 48 the pixel data from the Auto Function AOI will be used to control the image property If the Image AOI is completely included in the Auto Function AOI see b in Figure 48 only the
82. 5 0 40 0 35 0 25 0 20 0 15 0 10 0 05 0 00 400 450 500 Wave Length nm 850 900 950 1000 aa 500 See eee 700 800 Wave Length nm 900 1000 Basler pilot 0 40 0 35 0 30 0 25 0 20 Absolute Quantum Efficiency Fig 9 piA1900 32gc Spectral Response 1 0 700 Wave Length nm 0 9 0 8 0 7 0 6 Relative Response 0 3 0 2 0 1 0 0 400 Fig 10 piA2400 12gc Spectral Response Basler pilot 550 Wave Length nm Specifications Requirements and Precautions 11 Specifications Reguirements and Precautions 1 5 Mechanical Specifications The camera housing conforms to protection class IP30 provided the lens mount is covered by a lens or by the cap that is shipped with the camera 1 5 1 Camera Dimensions and Mounting Points 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 the drawings below Camera housings are eguipped with four mounting holes on the top and four mounting holes on the bottom as shown in the drawings 12 Basler pilot 2 x M3 4 5 deep Specifications Reguirements and Precautions
83. 906 This tolerance is for the distance between the front of the lens mount and the sensor s photosensitive surface Note that this tolerance and the sensor tilt tolerance see above must be combined to obtain the total tolerance for every point on the photosensitive surface Maximum Sensor Tilt Angle Degrees Camera Tilt X Tilt Y Camera Tilt X Tilt Y piA640 210gm gc 0 48 0 63 piA1900 32gm gc 0 16 0 29 piA1000 48 gm gc 0 31 0 31 piA2400 12gm gc 0 27 0 32 piA1600 35 gm gc 0 19 0 26 Fig 12 Sensor Positioning Accuracy in mm Unless Otherwise Noted 14 Basler pilot Specifications Reguirements and Precautions 1 5 3 Maximum Thread Length on Color Cameras The C mount lens adapter on color models of the camera is normally eguipped with an internal IR cut filter As shown below the length of the threads on any lens you use with a color camera must be less than 8 0 mm If a lens with a longer thread length is used the IR cut filter will be damaged or destroyed and the camera will no longer operate 8 0 mm Not to Scale O O C mount Lens IR Cut Filt Lens Adapter UE Fig 13 Maximum Lens Thread Length on Color Cameras Note C mount color cameras that do not include an internal IR cut filter are available on request Monochrome cameras are not normally equipped with an internal IR cut filter however they can be equipped wit
84. As the figure illustrates within each square of four pixels one pixel sees only red light one sees only blue light and two pixels see only green light This combination mimics the human eye s sensitivity to color HEHENEHEHEHENENE Seme ERA ERA ERE ERA ERA ARE ARE ER HEHEHNHEHEHEHEHNEDH Er ERA ERA ERA ERA ARE ARE ER HEHENEHEHEHENENE ERA ERA ERE ERA ERA ARE ARE ER HEHENEHEHEHENENE ERA ERA ERE ERA ERA ARE ARE ER HEHENEHEHEHENENE ERA ERA ERE ERA ERA ARE ARE ER HEHENEHEHEHENDENE ERA ERA ERE ERA ARA ARE ARE ER HEHENEHEHEHENENE ERA ERA ERE ERA ERA ARE ARE ER HEHENEHEHEHENENE ERA ERA ERE ERA ERA ARE ARE ER Pixels Fig 37 Bayer Filter Pattern Basler pilot 111 Pixel Data Formats 9 3 1 1 Color Filter Alignment The alignment of the Bayer filter to the pixels in the images acguired by color cameras depends on the camera model Table 14 shows the filter alignment for each available camera model Color Camera Model Filter Alignment piA640 210 GB piA1000 48 GB piA1600 35 GB piA1900 32 GB piA2400 12 BG piA2400 17 BG Table 14 Bayer Filter to Sensor Alignment Bayer GB alignment means that pixel zero and pixel one of the first line in each image transmitted will be green and blue respectively And for the second line transmitted pixel zero and pixel one will be red and green respectively Since the pattern of the Bayer filter is fixed you can use this information to determine the color of all o
85. Basler pilot DIA en a USER S MANUAL FOR GigE VISION CAMERAS Document Number AW000151 Version 15 Language 000 English Release Date 30 September 2008 BASLER J VISION TECHNOLOGIES For customers in the U S A This eguipment 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 eguipment is operated in a commercial environment This eguipment generates uses and can radiate radio freguency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this eguipment in a residential area is likely to cause harmful interference in which case the user will be reguired to correct the interference at his own expense You are cautioned that any changes or modifications not expressly approved in this manual could void your authority to operate this eguipment The shielded interface cable recommended in this manual must be used with this eguipment in order to comply with the limits for a computing device pursuant to Subpart J of Part 15 of FCC Rules For customers in Canada This apparatus complies with the Class A limits for radio noise emissions set out in Radio Interference Regulations Pour utilisateurs au Canada Cet appareil est conforme aux normes Classe A pour bruit
86. For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For general information about auto functions see Section 11 10 on page 167 For information about Auto Function AOls and how to set them see Section 11 10 1 2 on page 169 Basler pilot 175 Features 11 10 3Exposure Auto Exposure Auto is an auto function and the automatic counterpart to manually setting an absolute exposure time The exposure auto function automatically adjusts the Auto Exposure Time Abs parameter value within set limits until a target average gray value for the pixel data of the related Auto Function AOI is reached In contrast to the manually set absolute exposure time the automatically adjusted absolute exposure time and the settable limits for parameter value adjustment are not restricted to multiples of the current exposure time base The exposure auto function uses Auto Function AOI and can be operated in the once and continuous modes of operation The exposure auto function is not available when trigger width exposure mode is selected When the exposure auto function is used the gain auto function can not be used at the same time If Auto Function AOI1 does not overlap the Image AOI see the Auto Function AOI section the pixel data from Auto Function AOI1 will not be used to control the image brightn
87. Network Drivers and Parameters 4 Basler Network Drivers and Parameters This section describes the Basler network drivers available for your camera and provides detailed information about the parameters associated with the drivers Two network drivers are available for the network adapter used with your GigE cameras The Basler filter driver is a basic GigE Vision network driver that is compatible with all network adapters The advantage of this driver is its extensive compatibility The Basler performance driver is a hardware specific GigE Vision network driver The driver is only compatible with network adapters that use specific Intel chipsets The advantage of the performance driver is that it significantly lowers the CPU load needed to service the network traffic between the PC and the camera s It also has a more robust packet resend mechanism Note During the installation process you should have installed either the filter driver or the performance driver For more information about compatible Intel chipsets see the Installation and Setup Guide for Cameras Used with Basler s palyon API AW000611xx000 For more information about installing the network drivers see the Installation and Setup Guide for Cameras Used with Basler s palyon API AW000611xx000 Basler pilot 27 Basler Network Drivers and Parameters 4 1 The Basler Filter Driver The Basler filter driver is a basic driver GigE Vision network driver It is designe
88. PI Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the Trigger Ready signal see Section 8 6 on page 92 For more information about the camera s exposure time parameter see Section 8 4 on page 87 Note The explanations in Section 8 3 3 and Section 8 3 4 are intended to give you a basic idea of how the use of a hardware trigger works For a more complete description refer to the Basler pylon Programmer s Guide and to the sample programs included in the Basler pylon Software Development Kit SDK 86 Basler pilot Image Acquisition Control 8 4 Exposure Time Parameters Many of the camera s image acquisition modes require you to specify an exposure time There are two ways to set exposure time by setting raw values or by setting an absolute value The two methods are described below You can use whichever method you prefer to set the exposure time The exposure time must not be set below a minimum specified value The minimum exposure time for each camera model is shown in Table 10 The maximum exposure time that can be set is also shown in Table 10 Camera Model Minimum Allowed Exposure Time Maximum Possible Exposure Time piA640 210gm gc 80 us 10000000 us piA1000 48gm gc 80 us 10000000 us piA1600 35gm gc 80 us 10000000 us piA1900 32gm gc 100 us 10000000 us
89. Parameters On the Fly 155 11 6 Binning ss RS EE EE detur BEER doh Bei ela lea jina 156 11 6 1 Considerations When Using Binning 158 TEZ ZAVeraglng se rata ee nae En ene A AVE dud nantes SOs eratis 160 11 8 Luminance Lookup Table 163 11 9 Gam asec RR REV RE he eee EE REA E RE Ma REI ee erae 166 TITO Auto FUNCOMS a aite Se mna Sobe sae is endete esce saa Aie diens 167 11 10 1 Common Characteristics 167 11 10 1 1 Modes of Operation 168 11 10 1 2 Auto Function AOL 5t ied ttes e Son See cidit 169 11 10 1 3 Using an Auto Function 173 11 10 2 Gall AO O Lo rune ero StmcpMP MERE ERR use st d eoe ES 174 14 10 3 Expos re Auto 3 acc a du eode hepate e es uere loj i e en 176 11 10 4 Balance White Auto 178 11 11 Disable Parameter Limits 180 11 12 D boundcer 22 23 sz pU Ree mE Rau vd RU a e 181 T4 13 Chunk Features ie eat eek ERG x Rete s 183 11 13 1 What Are Chunk Features 183 11 13 2 Making the Chunk Mode Active and Enabling the Extended Data Stamp 184 11 135 3 Frame Counte ai sch cd cee Mee S RE we Parka Pe iE eR 186 11 13 4 Fime Stampz zz 2s REL dE Een hb bidu inis 187 11 13 5 Line Status All
90. PixelForma Camera PixelForma Camera PixelForma Camera PixelForma Camera Pixel Camera PixelForma Camera Pixel Format Format Se Se Se Se Se Se Se tVal tVal tVal tVal tVal tVal tVal ue ue ue ue ue ue ue PixelForma PixelForma PixelForma PixelForma PixelForma PixelForma PixelForma t Mono8 t Monol2 t Monol6 t YUV422 t BayerG t BayerG t YUV422 Packed Packed YUYV Packed B8 Bl6 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 104 Basler pilot 9 2 9 2 1 Pixel Data Formats Pixel Data Formats for Mono Cameras Mono 8 Format Eguivalent to DCAM Mono 8 When a monochrome camera is set for the Mono 8 pixel data format it outputs 8 bits of brightness data per pix el The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when the camera is set for Mono 8 output The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first byte in the buffer Bm the last byte in the buffer
91. Raw and Gain Total settings are shown in the tables below Basler pilot 145 Features Gain Raw All Gain Raw Tap 1 Gain Raw Tap 2 Camera Model Min Max Max Max Max Max Max Setting Setting Setting Setting Setting Setting Setting 8 bit 16 bit 8 bit 16 bit 8 bit 16 bit depth depth depth depth depth depth piA640 210 0 500 400 500 400 500 400 piA1000 48 0 500 400 500 400 500 400 piA1600 35 0 500 400 500 400 500 400 piA1900 32 0 500 400 500 400 500 400 piA2400 12 0 500 400 500 400 500 400 piA2400 17 0 500 400 500 400 500 400 Table 15 Minimum and Maximum Allowed Gain Raw Settings Gain Raw All Gain Raw Tap 1 Gain Raw All Gain Raw Tap 2 Camera Model Min Max Max Max Max Setting Setting Setting Setting Setting 8 bit depth 16 bit depth 8 bit depth 16 bit depth piA640 210 0 500 400 500 400 piA1000 48 0 500 400 500 400 piA1600 35 0 500 400 500 400 piA1900 32 0 500 400 500 400 piA2400 12 0 500 400 500 400 piA2400 17 0 500 400 500 400 Table 16 Minimum and Maximum Allowed Total Gain Settings If for example the piA640 210 gm gc camera is set for a pixel data format that yields 8 bit effective pixel depth Mono 8 YUV 4 2 2 Packed YUV 4 2 2 YUYV Packed The Gain Raw All value can be set in a range from 0 to 500 The Gain Raw Tap 1 value can be set in a range from 0 to 500 The Gain Raw Tap 2 value can be set in
92. Response 0 3 0 2 0 1 0 0 400 500 600 700 800 900 1000 Wave Length nm Fig 5 piA2400 12gm Spectral Response 8 Basler pilot Specifications Reguirements and Precautions 1 4 Spectral Response for Color Cameras The following graphs show the spectral response for each available color camera model Note The spectral response curves exclude lens characteristics light source characteristics and IR cut filter characteristics To obtain best performance from color models of the camera use of a dielectric IR cut filter is recommended The filter should transmit in a range from 400 nm to 700 720 nm and it should cut off from 700 720 nm to 1100 nm A suitable IR cut filter is included in the standard C mount lens adapter on color models of the camera An IR cut filter is not included in the optional CS mount adapter 0 50 0 45 0 40 0 35 0 30 0 25 0 20 0 15 0 10 Absolute Quantum Efficiency 0 05 300 400 500 600 700 800 900 1000 1100 Wave Length nm Fig 6 piA640 210gc Spectral Response Basler pilot Specifications Reguirements and Precautions Absolute Ouantum Efficiency F Absolute Quantum Efficiency Fig 8 piA1600 35gc Spectral Response g 45 A o Co oa Co e N ol N o zx c1 e 350 400 7 piA1000 48gc Spectral Response 0 4
93. Timed Camera ExposureTimeRaw SetValue 100 Camera ExposureTimeBaseAbs SetValue 200 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 88 Basler pilot Image Acquisition Control 8 4 2 Setting the Exposure Time Using Absolute Settings You can also set the exposure time by using an absolute value This is accomplished by setting the Exposure Time Abs parameter The units for setting this parameter are us and the value can be set in increments of 1 us When you use the Exposure Time Abs parameter to set the exposure time the camera accomplishes the setting change by automatically changing the Exposure Time Raw parameter to achieve the value specified by your Exposure Time Abs setting This leads to a limitation that you must keep in mind if you use Exposure Time Abs parameter to set the exposure time That is you must set the Exposure Time Abs parameter to a value that is equivalent to a setting you could achieve by using the Exposure Time Raw parameter with the current Exposure Time Base parameter For example if the time base was currently set to 62 us you could use the Exposure Time Base Abs parameter to set the exposure to 62 us 124 us 186 us etc Note that if you set the Exposure Tim
94. Trig signal must be held high for at least 100 nanoseconds In order for the camera to detect a transition from high to low the ExTrig signal must be held low for at least 100 nanoseconds By default input line 1 is assigned to receive an ExTrig signal When you are triggering image acquisition with an ExTrig signal you must not acquire images at a rate that exceeds the maximum allowed for the current camera settings For more information about setting the camera for hardware triggering and selecting the input line to receive the ExTrig signal see Section 8 3 2 on page 83 For more information about determining the maximum allowed acquisition frame rate see Section 8 9 on page 98 80 Basler pilot Image Acquisition Control 8 3 1 Exposure Modes If you are triggering exposure start with an ExTrig signal two exposure modes are available timed and trigger width Timed Exposure Mode When timed mode is selected the exposure time for each image is determined by the value of the camera s exposure time parameter If the camera is set for rising edge triggering the exposure time starts when the ExTrig signal rises If the camera is set for falling edge triggering the exposure time starts when the ExTrig signal falls Figure 29 illustrates timed exposure with the camera set for rising edge triggering ExTrig Signal Period ExTrig Signal ub dh Exposure duration determined by the exposure time parameter Fi
95. Value 1000 Bandwidth Reserve Camera GevSCBWR SetValue 10 44 Basler pilot Network Related Camera Parameters and Managing Bandwidth Bandwidth Reserve Accumulation Camera GevSCBWRA SetValue 10 Frame Jitter Max int64 t jitterMax Camera GevSCFJM GetValue Device Max Throughput int64 t maxThroughput Camera GevSCDMT GetValue Device Current Throughput int64 t currentThroughput Camera GevSCDCT GetValue Resulting Framerate double resultingFps Camera ResultingFrameRateAbs GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 45 Network Related Camera Parameters and Managing Bandwidth 5 2 Managing Bandwidth When Multiple Cameras Share a Single Network Path If you are using a single camera on a GigE network the problem of managing bandwidth is simple The network can easily handle the bandwidth needs of a single camera and no intervention is required A more complicated situation arises if you have multiple cameras connected to a single network adapter as shown in Figure 17 Single Path Fig 17 Multiple Cameras on a Network One way to manage the situation where multiple cameras are sharing a single network path is to make
96. Value Camera AutoFunctionAOIWidth GetMax AutoFunctionAOIHeight SetValue Camera AutoFunctionAOIHeight GetMax For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters 11 10 1 3 Using an Auto Function To use an auto function carry out the following steps Quo m v Ms Select the Auto Function AOI that is related to the auto function you want to use Set the postion and size of the Auto Function AOI If necessary set the lower and upper limits for the parameter value If necessary set the target value Enable the auto function by setting it to once or continuous For more information the individual settings see the sections below describing the indvidual auto functions Basler pilot 173 Features 11 10 2Gain Auto Gain Auto is an auto function and the automatic counterpart of the manual gain feature The gain auto function automatically carries out a Gain Raw All adjustment The Auto Gain Raw parameter value is adjusted within set limits until a target average gray value for the pixel data from Auto Function AOI is reached Automatic adjustments for Gain Raw Tap 1 and Gain Raw Tap 2 are not available The gain auto function uses Auto Function AOI1 and can be operated in the once and continuous modes of operation When the gain auto function is used the ex
97. Y value for P4 Bs Y value for Ps Bg Y value for Ps B Y value for P7 Baa Y value for P 5 Bm 2 Y value for Pj Bm 1 Y value for Ph 4 Bm Y value for Ph With the camera set for Mono 8 the pixel data output is 8 bit data of the unsigned char type The available range of data values and the corresponding indicated signal levels are as shown in the table below 130 Basler pilot Pixel Data Formats This Data Value Indicates This Signal Level Hexadecimal Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 Note The interpolation and conversion algorithms are applied to the averaged pixel values when the averaging feature is used Basler pilot 131 Pixel Data Formats 9 4 Pixel Transmission Seguence For each captured image pixel data is transmitted from the camera in the following seguence Row 0 Col 0 Row Col o Row 2 Col 0 Row n 2 Col 0 Row n 1 Col 0 Row Col p Row g Col t Row Col 4 Row Col t Row n 2 Col t Row n 1 Col t Row Col 4 Row 0 Col 2 Row 1 Col 2 Row 2 Col 2 Row n 2 Col 2 Row n 1 Col 2 Row Col gt Row 0 Col m 2 Row Col m 2 Row 2 Col m 2 Row n 2 Col m 2 Row n 1 Col m 2 Row Col m 2 Where Row 9g Col o is the upper left corner of the sensor Row 0 Col m 1 gt Row Col 4 Row 2 Col m 1 gt Row n 2 Col m 1 Row n 1 Col m 1 gt Row Col q4 Row o Col m Row Col m Row gt Col m
98. a If you are operating the camera in a relatively EMI free environment you may find that a bandwidth reserve of 296 or 396 is adequate If you are operating in an extremely noisy environment you may find that a reserve of 8 or 10 is more appropriate Step 4 Calculate the data bandwidth needed by each camera The objective of this step is to determine how much bandwidth in Byte s each camera needs to transmit the image data that it generates The amount of data bandwidth a camera needs is the product of several factors the amount of data included in each image the amount of chunk data being added to each image the packet overhead such as packet leaders and trailers and the number of frames the camera is acquiring each second For each camera you can use the two formulas below to calculate the data bandwidth needed To use the formulas you will need to know the current value of the Payload Size parameter and the Packet Size parameter for each camera You will also need to know the frame rate in frames s at which each camera will operate Bytes Frame E load Size x Packet Overhead Payload Size 1 Leader Size Trailer Size acket Size Data Bandwidth Needed Bytes Frame x Frames s Where Packet Overhead 72 for a GigE network 78 for a 100 MBit s network Leader Size Packet Overhead 36 if chunk mode is not active Packet Overhead 12 if chunk mode is active Trailer Size Packet Overhead 8 x mea
99. a copy of the exact camera parameters that you were using when the problem occurred To make note of the parameters use Basler s The Viewer tool If you cannot access the camera please try to state the following parameter settings r Hoo wa Image Size AOI Pixel Format Packet Size Exposure Time Frame Rate 11 Live image test image If you are having an image problem try to generate and save live images that show the problem Also generate and save test images Please save the images in BMP format zip them and send them to Basler technical support Basler pilot 205 Troubleshooting and Support 206 Basler pilot Revision History Revision History Doc ID Number Date Changes AW00015101000 9 Feb 2007 Preliminary version of the document AW00015102000 22 Feb 2007 Updated the camera weight and operating temperatur range This is still a preliminary version AW00015103000 24 May 2007 First release covering production cameras AW00015104000 8 June 2007 Modified Section 2 for the installation of the Basler pylon software version 1 0 AW00015105000 19 July 2007 Integrated the Kodak KAI 2093 sensor Minor corrections throughout the manual Added information on IP30 in Section 1 2 Added warning not to remove the serial number in Section 1 9 Updated times in Section 7 7 3 Removed note on scA750 60 output in Sections 9 2 4 9 2 5 9 3 8 9 3 9
100. a range from 0 to 500 The sum of the Gain Raw All setting plus the Gain Raw Tap 1 setting must be between 0 and 500 inclusive The sum of the Gain Raw All setting plus the Gain Raw Tap 2 setting must be between 0 and 500 inclusive 146 Basler pilot Features If for example the piA640 210 gm gc the camera is set for a pixel data format that yields an effective pixel depth of 12 bits per pixel Mono 16 Mono 12 Packed The Gain Raw All value can be set in a range from 0 to 400 The Gain Raw Tap 1 value can be set in a range from 0 to 400 The Gain Raw Tap 2 value can be set in a range from 0 to 400 The sum of the Gain Raw All setting plus the Gain Raw Tap 1 setting must be between 0 and 400 inclusive The sum of the Gain Raw All setting plus the Gain Raw Tap 2 setting must be between 0 and 400 inclusive For normal operation we recommend that you set the value of Gain Raw Tap 1 and Gain Raw Tap 2 to zero and that you simply use Gain Raw All to set the gain Typically the tap gains are only used if you want to adjust the gain balance between the left half and the right half of the sensor If you know the current settings for Gain Raw All Gain Raw Tap 1 and Gain Raw Tap 2 you can use the formulas below to calculate the dB of gain that will result from the settings Gain on the Right Sensor Half 0 0359 x Gain Raw All Setting 0 0359 x Gain Raw Tap 1 Setting Gain on the Left Sensor Half 0 0359 x Gain R
101. a wines 6 x Rep ped RR RAS m Ese xe una 188 14 13 6 GRO Checksum nea eo sieni ED Eu ELD Reena ee 190 TT T4 Event Reporting vo Sites r a ee tees a KE NE ete RE ERG Bee vel 192 13 15 Test IMAGQ S ek ieu ko eee i Je a DAJE E Xm a e c i e e jeva 194 11 16 Device Information Parameters 197 11 17 Configuration Sets La 199 11 17 1 Saving Configuration Sets 200 11 17 2 Loading a Saved Set or the Default Set into the Active Set 200 11 17 3 Selecting the Default Startup Set 201 12 Troubleshooting and Support 203 12 1 Technical Support Resources 203 12 2 Before Contacting Basler Technical Support 204 Revision History 207 Feedback o JE iit ee wae ene coat a ia AI c cei ETA ek 211 INA ON nn ia en MNA A mo EAR aie A ANA SENA MJ 213 iv Basler pilot Specifications Reguirements and Precautions 1 Specifications Requirements and Precautions This section lists the camera models covered by the manual It provides the general specifications for those models and the basic requirements for using them This section also includes specific precautions that you should keep in mind when using the cameras We strongly recommend th
102. about using the viewer see the installation and Setup Guide for Cameras Used with Basler s pylon API AW000611xx000 3 2 The IP Configuration Tool The Basler IP Configuration Tool is a standalone application that lets you change the IP configuration of the camera via a GUI The tool will detect all Basler GigE cameras attached to your network and let you make changes to a selected camera The IP Configuration Tool is included in the pylon Software Development Kit and is also included in the freely available pylon runtime software package For more information about using IP Configuration Tool see the installation and Setup Guide for Cameras Used with Basler s pylon API AW000611xx000 Basler pilot 25 Tools for Changing Camera Parameters 3 3 The pylon API You can access all of the camera s parameters and can control the camera s full functionality from within your application software by using Basler s pylon API The Basler pylon Programmer s Guide and API Reference contains an introduction to the API and includes information about all of the methods and objects included in the API The Basler pylon Software Development Kit SDK includes a set of sample programs that illustrate how to use the pylon API to parameterize and operate the camera These samples include Microsoft Visual Studio solution and project files demonstrating how to set up the build environment to build applications based on the API 26 Basler pilot Basler
103. acket will be and the lower the data transmission rate will be After you have adjusted the Inter packet Delay parameter on each camera you can check the sum of the Bandwidth Assigned parameter values and see if the sum is now less than 125 MByte s 5 2 1 A Procedure for Managing Bandwidth In theory managing bandwidth sharing among several cameras is as easy as adjusting the inter packet delay In practice it is a bit more complicated because you must consider several factors when managing bandwidth The procedure below outlines a structured approach to managing bandwidth for several cameras The objectives of the procedure are To optimize network performance To determine the bandwidth needed by each camera for image data transmission To determine the bandwidth actually assigned to each camera for image data transmission For each camera to make sure that the actual bandwidth assigned for image data transmission matches the bandwidth needed To make sure that the total bandwidth assigned to all cameras does not exceed the network s bandwidth capacity To make adjustments if the bandwidth capacity is exceeded Step 1 Improve the Network Performance If you use as recommended the Basler performance driver with an Intel PRO network adapter or a compatible network adapter the network parameters for the network adapter are automatically optimized and need not be changed If you use the Basler filter driver and have already set
104. ade The frame includes 3000 packets Packet 1002 is missing within the stream of packets and has not been recovered Packets 2999 and 3000 are missing at the end of the stream of packets end of the frame The Maximum Number Resend Reguests parameter is set to 3 DIAGRAM IS NOT DRAWN TO SCALE 1 2 3 5 7 9 11 12 13 a ee Oa H d d lt 995 996 997 998 EE 1001 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 dla 2997 2998 Time SSS MM r j 4 6 8 10 14 gt Fig 15 Incomplete Stream of Packets and Part of the Resend Mechanism 1 Stream of packets Gray indicates that the status was checked as the packet entered the receive window White indicates that the status has not yet been checked 2 Receive window of the performance driver 3 As packet 1003 enters the receive window packet 1002 is detected as missing 4 Interval defined by the Resend Timeout parameter 5 The Resend Timeout interval expires and the first resend reguest for packet 1002 is sent to the camera The camera does not respond with a resend Interval defined by the Resend Response Timeout parameter The Resend Response Timeout interval expires and a second resend reguest for packet 1002 is sent to the camera The camera does not respond with a resend 8 Interval defin
105. aine diipi tees 151 Settilig s t a itin erret 151 white balance auto see balance white auto write timeout parameter 37 Y YUV 422 YUYV packed pixel data format ota i Na Dobis Mi IS 110 YUV 422 YUYV packed pixel format 128 YUV 422 data range 127 YUV 422 packed pixel data format 110 YUV 422 packed pixel format 125 Basler pilot Index 217 Index 218 Basler pilot
106. ake sure that you determine the value of the Bandwidth Assigned param eter after you have made any adjustments described in the earlier steps 2 Find the sum of the current Bandwidth Assigned parameter values for all of the cameras If the sum of the Bandwidth Assigned values is less than 125 MByte s for a Give network or 12 5 M Byte s for a 100 Bit s network the bandwidth management is OK If the sum of the Bandwidth Assigned values is greater than 125 MByte s for a Give network or 12 5 M Byte s for a 100 Bit s network the cameras need more bandwidth than is available and you must 50 Basler pilot Network Related Camera Parameters and Managing Bandwidth make adjustments In essence you must lower the data bandwidth needed by one or more of the cameras and then adjust the data bandwidths assigned so that they reflect the lower bandwidth needs You can lower the data bandwidth needed by a camera either by lowering its frame rate or by decreasing the size of the area of interest AOI Once you have adjusted the frame rates and or AOI settings on the cameras you should repeat steps 2 through 6 For more information about the camera s maximum allowed frame transmission rate see Section 8 9 on page 98 For more information about the AOI see Section 11 5 on page 153 Basler pilot 51 Network Related Camera Parameters and Managing Bandwidth 52 Basler pilot Camera Functional Description 6 Camera Functional Description This
107. al Decimal OxFF 127 OxFE 126 0x81 1 0x80 0 Ox7F 1 0x01 127 0x00 128 The signal level of a U component or a V component can range from 128 to 127 decimal Notice that the data values have been arranged to represent the full signal level range Note The interpolation and conversion algorithms are applied to the averaged pixel values when the averaging feature is used Basler pilot 127 Pixel Data Formats 9 3 9 YUV 4 2 2 YUYV Packed Format On color cameras the YUV 4 2 2 YUYV packed pixel data format is similar to the YUV 4 2 2 pixel format described in the previous section The only difference is the order of the bytes transmitted to the host PC With the YUV 4 2 2 format the bytes are ordered as specified in the DCAM standard issued by the 1394 Trade Association With the YUV 4 2 2 YUYV format the bytes are ordered to emulate the ordering normally associated with analog frame grabbers and Windows frame buffers The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when the camera is set for YUV 4 2 2 YUYV output With this format the Y component is transmitted for each pixel but the U and V components are only transmitted for every second pixel The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first byte in the buffer Bm the last
108. al Description The image buffer between the sensor and the Ethernet controller allows data to be read out of the sensor at a rate that is independent of the data transmission rate between the camera and the host computer This ensures that the data transmission rate has no influence on image quality Sensor Column Vert Shift Pixels Reg Line Line Line Line Line Line Column sass Column Vert Vert Shift Pixels Shift Pixels Reg Reg Left Horizontal Shift Register Column Vert Shift Pixels Reg Vert Reg Column Vert Shift Pixels Shift Pixels Reg Column P Sensor Center Line uus Column Vert Shift Pixels Reg Column Vert Shift Pixels Reg Right Horizontal Shift Register gt Fig 18 CCD Sensor Architecture 54 Fak ADC mla Basler pilot 24 MB Image Buffer ExpActive TrigRdy Ethernet VGC Controller Image Data and Control Data Control Micro Controller Control Data Control AOI Gain Black Level Fig 19 Camera Blo
109. at you read and follow the precautions 1 1 Models The current Basler pilot GigE Vision camera models are listed in the top row of the specification table on the next page of this manual The camera models are differentiated by their sensor size their maximum frame rate at full resolution and whether the camera s sensor is mono or color Unless otherwise noted the material in this manual applies to all of the camera models listed in the tables Material that only applies to a particular camera model or to a subset of models such as to color cameras only will be so designated Basler pilot 1 Specifications Reguirements and Precautions 1 2 General Specifications Specification piA640 210gm gc piA1000 48gm gc piA1600 35gm gc at full resolution Sensor Size gm 648 x 488 gm 1004 x 1004 gm 1608 x 1208 H x V pixels gc 646 x 486 gc 1000 x 1000 gc 1604 x 1204 Sensor Type Kodak KAI 0340 Kodak KAI 1020 Kodak KAI 2020 Progressive scan CCD Optical Size 1 3 2 3 1 Pixel Size 7 4 um x 7 4 um 7 4 um x 7 4 um 7 4 um x 7 4 um Max Frame Rate 210 fps 48 fps 35 fps Mono Color All models available in mono or color Data Output Type Fast Ethernet 100 Mbit s or Gigabit Ethernet 1000 Mbit s Pixel Data Formats Mono Models Mono 8 equivalent to DCAM Mono 8 Mono 16 equivalent to DCAM Mono 16 Mono 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV
110. ata Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 Note When a camera that is set for Mono 16 has only 12 bits effective the leader of transmitted frames will indicate Mono 12 as the pixel format Basler pilot 107 Pixel Data Formats 9 2 3 Mono 12 Packed Format When a monochrome camera is set for the Mono 12 Packed pixel data format it outputs 12 bits of brightness data per pixel Every three bytes transmitted by the camera contain data for two pixels The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when the camera is set for Mono 12 Packed output The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first byte in the buffer Bm the last byte in the buffer Byte Data Bo Po bits 11 4 B4 P4 bits 3 O Po bits 3 Bo P bits 11 4 B3 P bits 11 4 B4 Ps bits 3 0 P bits 3 Bs Ps bits 11 4 Bg P bits 11 4 B Ps bits 3 0 P bits 3 Bg Ps bits 11 4 Bg Pg bits 11 4 Bio P7 bits 3 0 Pg bits 3 B41 P7 bits 11 4 Bm 5 P 3 bits 11 4 Bm 4 Ph 2 bits 3 0 P 3 bits 3 Bm 3 Ph 2 bits 11 4 Bm 2 P4 bits 11 4 Bm4 P bits 3 0 P 4 bits 3 Bm P bits 11 4 1
111. ate up to the set value If the Acquisition Frame Rate Abs parameter is set to a value greater than the maximum allowed you can trigger acquisition at any rate up to the maximum allowed image acquisition rate with the current camera settings You can set the exposure time and the Acquisition Mode parameter values from within your application software by using the pylon API You can also execute the Acquisition Start and Trigger Software commands The following code snippets illustrate using the API to set the parameter values and execute the commands issuing software trigger commands Camera ExposureTimeRaw SetValue 200 Camera AcquisitionMode SetValue AcquisitionMode Continuous prepare for image acquisition here Camera AcquisitionStart Execute while finished Camera TriggerSoftware Execute retrieve acquired image here Camera AcguisitionStop Execute how to set and test the Acguisition Frame Rate Camera AcquisitionFrameRateAbs SetValue 60 0 78 Basler pilot Image Acquisition Control double resultingFrameRate Camera ResultingFrameRateAbs GetValue how to disable the FrameRateAbs parameter Camera AcquisitionFrameRateEnable SetValue false For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For mo
112. atures To load a saved configuration set or the default set from the camera s non volatile memory into the active set Set the User Set Selector to User Set 1 User Set 2 User Set 3 or Default Execute a User Set Load command to load the selected set into the active set You can set the User Set Selector and execute the User Set Load command from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and execute the command Camera UserSetSelector SetValue UserSetSelector UserSet2 Camera UserSetLoad Execute Note Loading a user set or the default set into the active set is only allowed when the camera is idle i e when it is not acguiring images continuously or does not have a single image acguisition pending Loading the default set into the active set is a good course of action ifyou have grossly misadjusted the settings in the camera and you are not sure how to recover The default settings are optimized for use in typical situations and will provide good camera performance in most cases 11 17 3Selecting the Default Startup Set You can select the default configuration set or one of the user configuration sets stored in the camera s non volatile memory to be the default startup set The configuration set that you designate as the default startup set will be loaded into the active set whenever the camera starts up at power on or after a reset
113. aw All Setting 0 0359 x Gain Raw Tap 2 Setting For example assume that you have set the Gain Raw All to 450 the Gain Raw Tap 1 to 0 and the Gain Raw Tap 2 to 0 Then Gain on the Right Sensor Half 0 0359 x 450 0 0359 x 0 Gain on the Right Sensor Half 16 2 dB Gain on the Left Sensor Half 0 0359 x 450 0 0359 x 0 Gain on the Left Sensor Half 16 2 dB Basler pilot 147 Features Setting the Gain Note Gain can not only be manually set see below but can also be automatically adjusted The Gain Auto function is the automatic counterpart of the gain feature and carries out a Gain Raw All adjustment automatically For more information about auto fuctions see Section 11 10 1 on page 167 For more information about the Gain Auto function see Section 11 10 2 on page 174 To set the Gain Raw All parameter value Set the Gain Selector to All Set the Gain Raw parameter to your desired value To set the Gain Raw Tap 1 parameter value Set the Gain Selector to Tap 1 Set the Gain Raw parameter to your desired value To set the Gain Raw Tap 2 parameter value Set the Gain Selector to Tap 2 Set the Gain Raw parameter to your desired value You can set the Gain Selector and the Gain Raw parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Set Gain Raw All Camera Ga
114. byte in the buffer Byte Data Bo Y value for Pg B U value for Po Bo Y value for P4 B3 V value for Po B4 Y value for P Bs U value for P5 Bg Y value for P5 B V value for Po Bg Y value for P4 Bg U value for P4 Bio Y value for P5 B41 V value for P4 Bm 7 Y value for P 5 Bn 6 U value for P 5 Bm 5 Y value for Pu Bm 4 V value for P 5 Bm 3 Y value for P 4 Bm 2 U value for P Bma4 Y value for Ph Bm V value for Py 128 Basler pilot Pixel Data Formats When a color camera is set for YUV 4 2 2 YUYV output the pixel data output for the Y component is 8 bit data of the unsigned char type The range of data values for the Y component and the corresponding indicated signal levels are shown below This Data Value Indicates This Signal Level Hexadecimal Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 The pixel data output for the U component or the V component is 8 bit data of the straight binary type The range of data values for a U or a V component and the corresponding indicated signal levels are shown below This Data Value Indicates This Signal Level Hexadecimal Decimal OxFF 127 OxFE 126 0x81 1 0x80 0 Ox7F 1 0x01 127 0x00 128 The signal level of a U component or a V component can range from 128 to 127 decimal Noti
115. can handle 8 kB packets and the switch can handle 6 kB packets then the maximum for the network is 6 kB packets Once you have determined the maximum packet size for your network set the value of the Packet Size parameter on each camera to this value Tip The manufacturer s documentation sometimes makes it difficult to determine the maximum packet size for a device especially network switches There is a quick and dirty way to check the maximum packet size for your network with its current configuration 1 Open the pylon Viewer select a camera and set the Packet Size param eter to a low value 1 kB for example 2 Use the Continuous Shot mode to capture several images 3 Gradually increase the value of the Packet Size parameter and capture a few images after each size change 4 When your Packet Size setting exceeds the packet size that the network can handle the viewer will lose the ability to capture images When you use Continuous Shot the viewer s status bar will indicate that it is acquiring images but the image in the viewing area will appear to be frozen 48 Basler pilot Network Related Camera Parameters and Managing Bandwidth Step 3 Set the Bandwidth Reserve parameter for each camera The Bandwidth Reserve parameter setting for a camera determines how much of the bandwidth assigned to that camera will be reserved for lost packet resends and for asynchronous traffic such as commands sent to the camer
116. ce You can also use the Basler pylon Viewer application to easily set the parameters For general information about auto functions see Section 11 10 on page 167 For information about Auto Function AOls and how to set them see Section 11 10 1 2 on page 169 For information about minimum allowed and maximum possible exposure time see Table 10 in Section 8 4 on page 87 Basler pilot 177 Features 11 10 4Balance White Auto Balance White Auto is an auto function and the automatic counterpart of the manual white balance feature The balance white auto function is only available on color models The automatic white balance is a two step process First the Balance Ratio Abs parameter values for red green and blue are each set to 1 5 Then assuming a grey world model the Balance Ratio Abs parameter values are adjusted such that the average gray values for the red and blue pixels match the average gray value for the green pixels The balance white auto function uses Auto Function AOI2 and can only be operated in the once mode of operation If Auto Function AOI2 does not overlap the Image AOI see the Auto Function AOI section the pixel data from Auto Function AOI2 will not be used to control the white balance of the image However as soon as the Balance White Auto function is set to once operation mode the Balance Ratio Abs parameter values for red green and blue are each set to 1 5 These settings will control the whi
117. ce that the data values have been arranged to represent the full signal level range Note The interpolation and conversion algorithms are applied to the averaged pixel values when the averaging feature is used Basler pilot 129 Pixel Data Fo 9 3 10 Mono 8 Format Eguivalent to DCAM Mono 8 rmats When a color camera is set for the Mono 8 pixel data format the pixel values in each captured image are first interpolated and converted to the YUV color model as described for the YUV 4 2 2 Packed format The camera then transmits the 8 bit Y value for each pixel to the host PC In the YUV color model the Y component for each pixel represents a brightness value This brightness value can be considered as eguivalent to the value that would be sent from a pixel in a monochrome camera So in essence when a color camera is set for Mono 8 it outputs an 8 bit monochrome image This type of output is sometimes referred to as Y Mono 8 The table below describes how the pixel data for a received frame will be ordered in the image buffer in your PC when a color camera is set for Mono 8 output The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first byte in the buffer Bm the last byte in the buffer Byte Data Bo Y value for Po B4 Y value for P4 Bo Y value for Po B3 Y value for P3 B4
118. ck Diagram Basler pilot Camera Functional Description Ethernet Network 55 Camera Functional Description 56 Basler pilot Physical Interface 7 Physical Interface This section provides detailed information such as pinouts and voltage requirements for the physical interface on the camera This information will be especially useful during your initial design in process 7 1 General Description of the Connections The camera is interfaced to external circuity via connectors located on the back of the housing An 8 pin RJ 45 jack used to provide a 100 1000 Mbit s Ethernet connection to the camera This jack includes a green LED and a yellow LED that indicate the state of the network connection A 12 pin receptacle used to provide access to the camera s I O lines and to provide power to the camera The drawing below shows the location of the two connectors and the LEDs 12 pin Receptacle Green LED Yellow LED Fig 20 Camera Connectors and LED Basler pilot 57 Physical Interface 7 2 7 2 1 Connector Pin Assignments and Numbering 12 pin Receptacle Pin Assignments The 12 pin receptacle is used to access the two physical input lines and four physical output lines on the camera It is also used to supply power to the camera The pin assignments for the receptacle are shown in Table 5 Pin Designation i Camera Power Gnd
119. conformity ee 2 3 5 connector types 60 CONNCCIONS sez ai HER 57 CPU interrupts 47 CRC checksum chunk 190 D debouncer and exposure start delay 96 explained esses 181 Setting io ep eee 181 signal delay 181 default startup set 201 device current throughput parameter 44 device firmware version parameter 197 device ID parameter 197 device manufacturer info parameter 197 device max throughput parameter 43 device model name parameter 197 device scan type parameter 197 device user ID parameter 197 device vendor name parameter 197 device version parameter 197 dimensions 2 3 5 12 disable parameter limits explained 180 drivers network 27 E electromagnetic interference 18 electrostatic discharge 18 EDA ETE 18 enable resend parameter 28 30 environmental requirements 19 ESD le LEE at 18 event reporting 192 exposure controlling with an ExTrig signal
120. cy parameter value This value indicates the number of clock ticks per second Frame Transmission Delay read write Sets a delay in ticks one tick lt 8 ns between when a camera would normally begin transmitting an acquired frame and when it actually begins transmission This parameter should be set to zero in most normal situations If you have many cameras in your network and you will be simultaneously triggering image acquisition on all of them you may find that your network switch or network adapter is overwhelmed if all of the cameras simultaneously begin to transmit image data at once The frame transmission delay parameter can be used to stagger the start of image data transmission from each camera Bandwidth Assigned read only Indicates the bandwidth in bytes per second that will be used by the camera to transmit image and chunk feature data and to handle resends and control data transmissions The value of this parameter is a result of the packet size and the inter packet delay parameter settings In essence the bandwidth assigned is calculated this way X Packets Y Bytes JATOHOROIS 7 Y Dyles Frame Packet X Packets Y Bytes 8ns 1 X Packets 4 pn apa Frame Packet JA ii Frame 1 x IPD x 8 ns Bandwidth Assigned Where X number of packets needed to transmit the frame Y number of bytes in each packet IPD Inter packet Delay setting in ticks with a tick set to the 8 ns standard When consider
121. d Heartbeat Timeout The GigE Vision standard requires implementation of a heartbeat routine to monitor the connection between the camera and the host PC This parameter sets the heartbeat timeout in milliseconds If a timeout occurs the camera releases the network connection and enters a state that allows reconnection Note Management of the heartbeat time is normally handled by the Basler s basic GigE implementation and changing this parameter is not required for normal camera operation However if you are debugging an application and you stop at a break point you will have a problem with the heartbeat timer The timer will time out when you stop at a break point and the connection to the camera will be lost When debugging you should increase the heartbeat timeout to a high value to avoid heartbeat timeouts at break points When debugging is complete you should return the timeout to its normal setting You can set the driver related transport layer parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to read and write the parameter values Read Write Timeout Camera t TlParams t TlParams Camera GetTLNodeMap TlParams ReadTimeout SetValue 500 500 milliseconds TlParams WriteTimeout SetValue 500 500 milliseconds Heartbeat Timeout Camera t TlParams t TlParams Camera GetTLNodeMap TlParams HeartbeatTimeout SetValu
122. d to be compatible with most network adapter cards The functionality of the filter driver is relatively simple For each frame the driver checks the order of the incoming packets If the driver detects that a packet or a group of packets is missing it will wait for a specified period of time to see if the missing packet or group of packets arrives If the packet or group does not arrive within the specified period the driver will send a resend request for the missing packet or group of packets The parameters associated with the filter driver are described below Enable Resend Enables or disables the packet resend mechanism If packet resend is disabled and the filter driver detects that a packet has been lost during transmission the grab result for the returned buffer holding the image will indicate that the grab failed and the image will be incomplete If packet resend is enabled and the driver detects that a packet has been lost during transmission the driver will send a resend request to the camera If the camera still has the packet in its buffer it will resend the packet If there are several lost packets in a row the resend requests will be combined Packet Timeout The Packet Timeout parameter defines how long in milliseconds the filter driver will wait for the next expected packet before it initiates a resend request Frame Retention The Frame Retention parameter sets the timeout in milliseconds for the frame retention
123. e 5000 5 seconds For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Basler pilot 37 Basler Network Drivers and Parameters 38 Basler pilot Network Related Camera Parameters and Managing Bandwidth 5 Network Related Camera Parameters and Managing Bandwidth This section describes the camera parameters that are related to the camera s performance on the network It also describes how to use the parameters to manage the available network bandwidth when you are using multiple cameras 5 1 Network Related Parameters in the Camera The camera includes several parameters that determine how it will use its network connection to transmit data to the host PC The list below describes each parameter and provides basic information about how the parameter is used The following section describes how you can use the parameters to manage the bandwidth used by each camera on your network Payload Size read only Indicates the total size in bytes of the image data plus any chunk data if chunks are enabled that the camera will transmit Packet headers are not included Stream Channel Selector read write The GigE Vision standard specifies a mechanism for establishing several separate stream channels between the camera and the PC This parameter selects the stream channel that will be affected
124. e Abs parameter to a value that you could not achieve by using the Exposure Time Raw and Exposure Time Base parameters the camera will automatically change the setting for the Exposure Time Abs parameter to the nearest achieveable value You should also be aware that if you change the exposure time using the raw settings the Exposure Time Abs parameter will automatically be updated to reflect the new exposure time Setting the Absolute Exposure Time Parameter You can set the Exposure Time Abs parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera ExposureTimeAbs SetValue 124 double resultingExpTime Camera ExposureTimeAbs GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 89 Image Acguisition Control 8 5 Overlapping Exposure and Sensor Readout The image acguisition process on the camera includes two distinct parts The first part is the exposure of the pixels in the imaging sensor Once exposure is complete the second part of the process readout of the pixel values from the sensor takes place In regard to this image acquisition process there are t
125. e Resend Response Timeout parameter 7 The Resend Timeout interval expires and the third resend request for packet 1002 is sent to the camera The camera does not respond with a resend 8 Interval defined by the Resend Response Timeout parameter 34 Basler pilot Basler Network Drivers and Parameters 9 Because the maximum number of resend reguests has been sent and the last Resend Response Timeout interval has expired packet 1002 is now considered as lost 10 End of the frame 11 Missing packets at the end of the frame 2999 and 3000 12 Interval defined by the Packet Timeout parameter You can set the performance driver parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to read and write the parameter values Get the Stream Parameters object Camera t StreamGrabber t StreamGrabber Camera GetStreamGrabber 0 Write the ReceiveWindowSize parameter StreamGrabber ReceiveWindowSize SetValue 16 Disable packet resends StreamGrabber EnableResend SetValue false Write the PacketTimeout parameter StreamGrabber PacketTimeout SetValue 40 Write the ResendRequestThreshold parameter StreamGrabber ResendRequestThreshold SetValue 5 Write the ResendRequestBatching parameter StreamGrabber ResendRequestBatching SetValue 10 Write the ResendTimeout parameter StreamGrabber Rese
126. e in the friendly name field of the device information objects returned by pylon s device enumeration procedure Device Scan Type read only contains the scan type of the camera for example area scan Sensor Width read only contains the physical width of the sensor in pixels Sensor Height read only contains the physical height of the sensor Max Width read only Indicates the camera s maximum area of interest AOI width setting Max Height read only Indicates the camera s maximum area of interest AOI height setting You can read the values for all of the device information parameters or set the value of the Device User ID parameter from within your application software by using the pylon API The following code snippets illustrate using the API to read the parameters or write the Device User ID Read the Vendor Name parameter Pylon String t vendorName Camera DeviceVendorName GetValue Read the Model Name parameter Pylon String t modelName Camera DeviceModelName GetValue Read the Manufacturer Info parameter Pylon String t manufacturerInfo Camera DeviceManufacturerInfo GetValue Read the Device Version parameter Pylon String t deviceVersion Camera DeviceVersion GetValue Read the Firmware Version parameter Pylon String t firmwareVersion Camera DeviceFirmwareVersion GetValue Basler pilot 197 Features Read the Device ID pa
127. e new duration time 142 Basler pilot I OControl 10 3 Checking the State of the I O Lines 10 3 1 Checking the State of a Single Output Line You can determine the current state of an individual output line To check the state of a line Use the Line Selector parameter to select an output line Read the value of the Line Status parameter to determine the current state of the selected line A value of true means the line s state is currently high and a value of false means the line s state is currently low You can set the Line Selector and read the Line Status parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and read the parameter value Select output line 2 and read the state Camera LineSelector SetValue LineSelector Out2 bool outputLine2State Camera LineStatus GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 10 3 2 Checking the State of All Lines You can determine the current state of all input and output lines with a single operation To check the state of all lines Read the value of the Line Status All parameter You can read the Line Status All parameter value from with
128. e period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period but 20 resends are needed The 5 resends available via the bandwidth reserve are used To complete all of the needed resends 15 resends would be required from the accumulator pool but the pool only has 9 resends So the 9 resends in the pool are used and 6 resend requests are answered with a packet unavailable error code The accumulator pool is reduced to 0 Basler pilot Network Related Camera Parameters and Managing Bandwidth 6 You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period and 1 resend is needed The 1 resend needed is taken from the resends available via the bandwidth reserve The other 4 resends available via the bandwidth reserve are not needed so they are added to the accumulator pool and they bring the pool up to 4 7 During this time period you do not trigger image acquisition You delay triggering acquisition for the period of time that would normally be needed to acquire and transmit a single image The current camera settings would allow 5 resends to occur during this period of time But since no data is transmitted no resends are required The 5 resends that could have occurred are added to the accumulator pool and they bring the pool up to 9 8 You trigger image acq
129. e sum of the Black Level Raw All setting plus the Black Level Raw Tap 1 setting must be less than or equal to 1023 The sum of the Black Level Raw All setting plus the Black Level Raw Tap 2 setting must also be less than or equal to 1023 Basler pilot 149 Features Setting the Black Level To set the Black Level Raw All value Set the Black Level Selector to All Set the Black Level Raw parameter to your desired value To set the Black Level Raw Tap 1 value Set the Black Level Selector to Tap 1 Set the Black Level Raw parameter to your desired value To set the Black Level Raw Tap 2 value Set the Black Level Selector to Tap 2 Set the Black Level Raw parameter to your desired value You can set the Black Level Selector and the Black Level Raw parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Set Black Level Raw All Camera BlackLevelSelector SetValue BlackLevelSelector All Camera BlackLevelRaw SetValue 64 Set Black Level Raw Tap 1 Camera BlackLevelSelector SetValue BlackLevelSelector Tapl Camera BlackLevelRaw SetValue 0 Set Black Level Raw Tap 2 Camera BlackLevelSelector SetValue BlackLevelSelector Tap2 Camera BlackLevelRaw SetValue 0 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API R
130. e user output lines as user settable Once you have designated an output line as user settable you can use camera parameters to set the state of the line Setting the State of a Single User Settable Output Line To set the state of a single user settable output line Use the User Output Selector to select the output line you want to set For example if you have designated output line 3 as user settable you would select user settable output 3 Set the value of the User Output Value parameter to true high or false low This will set the state of the selected line You can set the Output Selector and the User Output Value parameter from within your application software by using the pylon API The following code snippet illustrates using the API to designate output line 3 as user settable and setting the state of the output line Camera LineSelector SetValue LineSelector Out3 Camera LineSource SetValue LineSource UserOutput Camera UserOutputSelector SetValue UserOutputSelector UserOutput3 Camera UserOutputValue SetValue true bool currentUserOutput3State Camera UserOutputValue GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Setting the State of Multiple User Settable Output Lines The User Output Value All parameter is a 32 bit value
131. ecommended architecture for the network to which your camera is attached and deals with the IP configuration of your camera and network adapter After completing your camera installation refer to the Basler Network Drivers and Parameters and Network Related Camera Parameters and Managing Bandwidth sections of this camera User s Manual for information about improving your camera s performance in a network and about using multiple cameras Basler pilot 23 Software and Hardware Installation 24 Basler pilot Tools for Changing Camera Parameters 3 Tools for Changing Camera Parameters This section explains the options available for changing the camera s parameters The available options let you change parameters either by using standalone tools that access the camera via a GUI or by accessing the camera from within your software application 3 1 The pylon Viewer The Basler pylon Viewer is a standalone application that lets you view and change most of the camera s parameter settings via a GUI based interface The viewer also lets you acquire images display them and save them Using the pylon Viewer software is a very convenient way to get your camera up and running quickly when you are doing your initial camera evaluation or doing a camera design in for a new project The pylon Viewer is included in the pylon Software Development Kit and is also included in the freely available pylon runtime software package For more information
132. ect Plug Can Damage the 12 pin Connector The plug on the cable that you attach to the camera s 12 pin connector must have 12 pins Use of a smaller plug such as one with 10 pins or 8 pins can damage the pins in the camera s 12 pin connector Inappropriate Code May Cause Unexpected Camera Behavior The code snippets provided in this manual are included as sample code only Inappropriate code may cause your camera to function differently than expected and may compromise your application To ensure that the snippets will work properly in your application you must adjust them to meet your specific needs and must test them thoroughly prior to use Basler pilot Specifications Reguirements 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 Keep foreign matter outside of the camera Be careful not to allow liquid flammable or metallic material inside of the camera housing If operated with any foreign matter inside the camera may fail or cause a fire Avoid Electromagnetic fields Do not operate the camera in the vicinity of strong electromagnetic fields Avoid electrostatic charging Transport Properly Transport the camera i
133. ed It then adds a chunk to each acquired image containing the line status information The line status all information is a 32 bit value As shown in Figure 50 certain bits in the value are associated with each line and the bits will indicate the state of the lines If a bit is 0 it indicates that the state of the associated line was low at the time of triggering If a bit is 1 it indicates that the state of the associated line is was high at the time of triggering Indicates output line 4 state Indicates output line 3 state Indicates output line 2 state Indicates input line 2 state Indicates output line 1 state Indicates input line 1 state 34 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 14 10 9 8 7 6 5 4 3 2 1 0 Fig 50 Line Status All Parameter Bits Note The chunk mode must be active before you can enable the line status all feature or any of the other chunk feature Making the chunk mode inactive disables all chunk features 188 Basler pilot Features To enable the line status all chunk Use the Chunk Selector to select the Line Status All chunk Use the Chunk Enable parameter to set the value of the chunk to true Once the line status all chunk is enabled the camera will add a line status all chunk to each acguired image To retrieve data from a chunk appended to an image that has been received by your PC you must first run the image and its appended chunks through the chunk parser incl
134. ed by the Resend Response Timeout parameter 9 The Resend Response Timeout interval expires and a third resend request for packet 1002 is sent to the camera The camera still does not respond with a resend 10 Interval defined by the Resend Response Timeout parameter 11 Because the maximum number of resend requests has been sent and the last Resend Response Timeout interval has expired packet 1002 is now considered as lost 12 End of the frame 13 Missing packets at the end of the frame 2999 and 3000 14 Interval defined by the Packet Timeout parameter 39 32 Basler pilot Basler Network Drivers and Parameters Maximum Number Resend Requests The Maximum Number Resend Requests parameter sets the maximum number of resend reguests the performance driver will send to the camera for each missing packet Resend Timeout The Resend Timeout parameter defines how long in milliseconds the performance driver will wait after detecting that a packet is missing before sending a resend request to the camera The parameter applies only once to each missing packet after the packet was detected as missing Resend Request Response Timeout The Resend Request Response Timeout parameter defines how long in milliseconds the performance driver will wait after sending a resend request to the camera before considering the resend request as lost If a resend request for a missing packet is considered lost and if the maximum number of re
135. een used you can retrieve the time stamp information by doing the following Read the value of the Chunk Time Stamp parameter You can set the Chunk Selector and Chunk Enable parameter value from within your application software by using the pylon API You can also run the parser and retrieve the chunk data The following code snippets illustrate using the API to activate the chunk mode enable the time stamp chunk run the parser and retrieve the frame counter chunk data make chunk mode active and enable Time Stamp chunk Camera ChunkModeActive SetValue true Camera ChunkSelector SetValue ChunkSelector Timestamp Camera ChunkEnable SetValue true Basler pilot 187 Features retrieve data from the chunk IChunkParser amp ChunkParser Camera CreateChunkParser GrabResult Result StreamGrabber RetrieveResult Result ChunkParser AttachBuffer unsigned char Result Buffer Result GetPayloadSize int64 t timeStamp Camera ChunkTimestamp GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 11 13 5Line Status All The Line Status All feature samples the status of all of the camera s input lines and output lines each time an image acquisition is trigger
136. eference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 150 Basler pilot Features 11 3 White Balance on Color Models White balance capability has been implemented on color models of the camera White balancing can be used to adjust the color balance of the images transmitted from the camera Setting the White Balance Note White balance can not only be manually set see below but can also be automatically adjusted The Balance White Auto function is the automatic counterpart of the white balance feature and adjusts the white balance automatically For more information about auto fuctions see Section 11 10 1 on page 167 For more information about the Balance White Auto function see Section 11 10 4 on page 178 With the white balancing scheme used on these cameras the red intensity green intensity and blue intensity can each be adjusted For each color a Balance Ratio parameter is used to set the intensity of the color If the Balance Ratio parameter for a color is set to a value of 1 the intensity of the color will be unaffected by the white balance mechanism If the ratio is set to a value lower than 1 the intensity of the color will be reduced If the ratio is set to a value greater than 1 the intensity of the color will be increased The increase or decrease in intensity is proportional For
137. el data is sometimes referred to as raw output The GB in the name Bayer GB 8 refers to the alignment of the colors in the Bayer filter to the pixels in the acguired images For even lines in the images pixel zero will be green pixel one will be blue pixel two will be green pixel three will be blue etc For odd lines in the images pixel zero will be red pixel one will be green pixel two will be red pixel three will be green etc For more information about the Bayer filter see Section 9 3 1 on page 111 The tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer GB 8 output The following standards are used in the tables Po the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line Even Lines Odd Lines Byte Data Byte Data Bo Green value for Po Bo Red value for Pa B Blue value for P B Green value for P Bo Green value for Ps Bo Red value for P B3 Blue value for P3 B3 Green value for P3 B4 Green value for P4 B4 Red value for P4 B5 Blue value for P5 Bs Green value for P5 Bm 5 Green value for P 5 Bm 5 Red value for P 5 Bm 4 Blue value for P Bm 4 Green value for P
138. end request batching threshold relates to consecutive missing packets i e to a continuous sequence of missing packets Resend request batching allows grouping of consecutive missing packets for a single resend request rather than sending a sequence of resend requests where each resend request relates to just one missing packet The location of the resend request batching threshold determines the maximum number of consecutive missing packets that can be grouped together for a single resend request The maximum number corresponds to the number of packets that fit into the span between the resend request threshold and the resend request batching threshold plus one If the Resend Request Batching parameter is set to 0 no batching will occur and a resend request will be sent for each single missing packet For other settings consider an example Suppose the Resend Request Batching parameter is set to 80 referring to a span between the resend request threshold and the front end of the receive window that can hold five packets Figure 14 In this case 4 packets 5 x 80 will fit into the span between the resend request threshold and the resend request batching threshold Accordingly the maximum number of consecutive missing packets that can be batched is 5 4 1 Basler pilot 31 Basler Network Drivers and Parameters Timeout Resend Mechanism Parameters The timeout resend mechanism is illustrated in Figure 15 where the following assumptions are m
139. eneral Specifications 2 1 3 Spectral Response for Mono Cameras 6 1 4 Spectral Response for Color Cameras 9 1 5 Mechanical Specifications 12 1 5 1 Camera Dimensions and Mounting Points 12 1 5 2 Sensor Positioning Accuracy 14 1 5 3 Maximum Thread Length on Color Cameras 15 1 5 4 Mechanical Stress Test Results 16 1 6 Software Licensing Information 17 1 7 Avoiding EMI and ESD Problems 18 1 8 Environmental Reguirements 19 1 8 1 Temperature and Humidity 19 1 8 2 Heat DIissipaliOu manran nre naei Ed ri veni aed ea ZEE EHE eae 19 1 9 VPrecautlonS 4 varja Var ae eot V ele a a aes dje ki V velo 20 Software and Hardware Installation 23 Tools for Changing Camera Parameters 25 3 1 The pylon Viewer esc a eae RR Leg E eT 25 3 2 The IP Configuration Tool 25 9 3 The pylon API 22004 24 ence a a 22104 ER Sieg et Ne eet uud 26 Basler Network Drivers and Parameters
140. equivalent to DCAM Mono 16 Mono 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV Packed Mono 8 equivalent to DCAM Mono 8 Bayer GB 8 equivalent to DCAM Raw 8 Bayer GB 16 equivalent to DCAM Raw 16 Bayer GB 12 Packed YUV 4 2 2 Packed equivalent to DCAM YUV 4 2 2 YUV 4 2 2 YUYV Packed Color Models ADC Bit Depth 12 bits Synchronization Via external trigger signal or via software Exposure Control Programmable via the camera API Camera Power Requirements 412 to 24 VDC min 11 3 VDC absolute max 30 0 VDC 1 ripple 4 4 W O 12 VDC I O Ports 2 opto isolated input ports and 4 opto isolated output ports Lens Adapter C mount Size 86 7 mm x 44mm x 29 mm without lens adapter or connectors LxWxH 98 5 mm x 44 mm x 29 mm with lens adapter and connectors Weight 220 g typical Conformity CE FCC GenlCam GigE Vision IP30 Table 2 General Specifications Basler pilot Specifications Reguirements and Precautions Note The sensor characteristics of the piA1900 32gm gc cameras do not entirely conform to the quality standards generally adhered to by Basler The sensitivity to light for clusters of up to six contiguous pixels may deviate significantly from the sensitivities of normal pixels 4 Basler pilot Specifications Reguirements and Precautions Specification piA2400 12gm gc piA2400 17gm gc
141. er gives no regard to whether the GigE network has the capacity to carry all of the data and does not consider any bandwidth required for resends In essence this parameter indicates the maximum amount of data the camera could generate with no network restrictions If the Acquisition Frame Rate abs parameter has been used to set the camera s frame rate the camera will use this frame rate setting to calculate the device max throughput If software or hardware triggering is being used to control the camera s frame rate the maximum frame rate allowed with the current camera settings will be used to calculate the device max throughput Basler pilot 43 Network Related Camera Parameters and Managing Bandwidth Device Current Throughput read only Indicates the actual bandwidth in bytes per second that the camera will use to transmit image data and chunk data given the current area of interest settings chunk feature settings and the pixel format setting If the Acquisition Frame Rate abs parameter has been used to set the camera s frame rate the camera will use this frame rate setting to calculate the device current throughput If software or hardware triggering is being used to control the camera s frame rate the maximum frame rate allowed with the current camera settings will be used to calculate the device current throughput Note that the Device Current Throughput parameter indicates the bandwidth needed to transmit the actual image data
142. erated You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period but no resends are needed The accumulator pool started with 15 resends available and remains at 15 You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period but 7 resends are needed The 5 resends available via the bandwidth reserve are used and 2 resends are used from the accumulator pool The accumulator pool is drawn down to 13 You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period and 4 resends are needed The 4 resends needed are taken from the resends available via the bandwidth reserve The fifth resend available via the bandwidth reserve is not needed so it is added to the accumulator pool and brings the pool to 14 You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period but 10 resends are needed The 5 resends available via the bandwidth reserve are used and 5 resends are used from the accumulator pool The accumulator pool is drawn down to 9 You trigger image acquisition and during this tim
143. ered with a red lens in the sensor s Bayer filter you get 12 bits of red data For each pixel covered with a green lens in the filter you get 12 bits of green data And for each pixel covered with a blue lens in the filter you get 12 bits of blue data This type of pixel data is sometimes referred to as raw output The tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer BG12 Packed output The following standards are used in the tables Po the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line Even Lines Byte Data Bo Blue value for Pg bits 11 4 B4 Green value for P bits 3 0 Blue value for Po bits 3 0 Bo Green value for P bits 11 4 B3 Blue value for Ps bits 11 4 B Green value for P3 bits 3 0 Blue value for Ps bits 3 0 Bs Green value for Ps bits 11 4 Bg Blue value for P4 bits 11 4 B Green value for Ps bits 3 O Blue value for P4 bits 3 0 Bg Green value for Ps bits 11 4 Bm 5 Blue value for P 5 bits 11 4 Bm 4 Green value for P gt bits 3 0 Blue value for P 3 bits 3 0 Bm 3 Green value for P gt bits 11 4 Bm 2 Blue value for P
144. ers 78 8 3 Controlling Image Acquisition with a Hardware Trigger 80 8 3 1 Exposure MOdOS sss ir See dle were eee eed any pd ee TE ale 81 8 3 2 Setting the Camera for Hardware Triggering 83 8 3 3 Acquiring a Single Image by Applying One Hardware Trigger Transition 84 8 3 4 Acguiring Images by Applying a Series of Hardware Trigger Transitions 85 8 4 Exposure Time Parameters 87 8 4 1 Setting the Exposure Time Using Raw Settings 88 8 4 2 Setting the Exposure Time Using Absolute Settings 89 8 5 Overlapping Exposure and Sensor Readout 90 8 5 1 Guidelines for Overlapped Operation 91 98 6 Trigger Ready Signals nete xv ge ered pra Ve ee ERA 92 8 7 Exposure Active Signal 94 8 8 Acquisition Timing Chart 95 8 9 Maximum Allowed Acquisition Frame Rate 98 ii Basler pilot Table of Contents 9 Pixel Data Formats ini za ONE ENI adea d ada ad ki dads 103 9 1 Setting the Pixel Data Format 103 9 2 Pixel Data Formats for Mono Cameras 105 9 2 1 Mono 8 Format Equivalent to
145. ess Instead the current manual setting of the Exposure Time Abs parameter value will control the image brightness For more information about absolute exposure time settings and related limitations see Section 8 4 2 on page 89 For more information about exposure modes and how to select them see Section 8 2 1 on page 76 and Section 8 3 1 on page 81 To use the exposure auto function carry out the following steps Make sure trigger width exposure mode is not selected Select Auto Function AOI1 Set the postion and size of Auto Function AOI Set the lower and upper limits for the Auto Exposure Time Abs parameter value Set the target average gray value BRONA Enable the exposure auto function by setting it to once or continuous The settable limits for the Auto Exposure Time Abs parameter value are limited by the minimum allowed and maximum possible exposure time of the camera model The target average gray value may range from 0 black to 255 white Note that this range of numbers applies to 8 bit and to 16 bit 12 bit effective output modes Accordingly also for 16 bit output modes black is represented by 0 and white by 255 176 Basler pilot Features You can carry out steps 1 to 6 from within your application software by using the pylon API The following code snippets illustrate using the API to set the parameter values Selecting and setting Auto Function AOl1 See the Auto Function AOI section above S
146. etValue true Set the Gamma value to 1 2 Camera Gamma SetValue 1 2 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 166 Basler pilot Features 11 10 Auto Functions 11 10 1 Common Characteristics Auto functions control image properties and are the automatic counterparts of certain features like the gain feature or the white balance feature which normally require manual setting of the related parameter values Auto functions are particularly useful when an image property must be adjusted quickly to achieve a specific target value and when a specific target value must be kept constant in a series of images In addition an Auto Function AOI allows chosing a specific part of the image as the base for adjusting an image property An auto function automatically adjusts a parameter value until the related image property reaches a target value Note that the manual setting of the parameter value is not preserved For example when the Gain Auto function adjusts the gain parameter value the manually set gain parameter value is not preserved For some auto functions the target value is fixed For other auto functions the target value can be set as can the limits between which the related parameter
147. etting the limits for the Auto Exposure Time Abs parameter value the set parameter values serve as examples Setting the target average gray value A medium gray value is selected as an example Enabling the exposure auto function and selecting for example the continuous mode of operation Select the appropriate auto function AOI for luminance statistics Currently AutoFunctionAOISelector AOI1 is predefined to gather luminance statistics Set position and size of the auto function AOI Camera AutoFunctionAOISelector SetValue AutoFunctionAOISelector AOII1 Camera AutoFunctionAOIOffsetX SetValue 0 Camera AutoFunctionAOIOffsetY SetValue 0 Camera AutoFunctionAOIWidth SetValue Camera AutoFunctionAOIWidth GetMax Camera AutoFunctionAOIHeight SetValue Camera AutoFunctionAOIHeight GetMax Set exposure time limits for luminance control Camera AutoExposureTimeAbsLowerLimit SetValue 1000 Camera AutoExposureTimeAbsUpperLimit SetValue 1 0E6 Set target value for luminance control This is always expressed by an 8 bit value regardless of the current pixel format i e 0 black 255 gt white Camera AutoTargetValue SetValue 128 Set mode of operation for exposure auto function Camera ExposureAuto SetValue ExposureAuto Continuous For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Referen
148. f the other pixels in the image Bayer BG alignment means that pixel zero and pixel one of the first line in each image transmitted will be blue and green respectively And for the second line transmitted pixel zero and pixel one will be green and red respectively Since the pattern of the Bayer filter is fixed you can use this information to determine the color of all of the other pixels in the image Because the size and position of the area of interest on color cameras must be adjusted in increments of 2 the color filter alignment will remain the same regardless of the camera s area of interest AOI settings The Pixel Color Filter parameter indicates the current alignment of the camera s Bayer filter to the pixels in the images captured by a color camera You can tell how the current AOI is aligned to the Bayer filter by reading the value of the Pixel Color Filter parameter For more information about the camera s AOI feature see Section 11 5 on page 153 112 Basler pilot Pixel Data Formats 9 3 2 Bayer GB 8 Format Equivalent to DCAM Raw 8 When a color camera is set for the Bayer GB 8 pixel data format it outputs 8 bits of data per pixel and the pixel data is not processed or interpolated in any way So for each pixel covered with a red lens you get 8 bits of red data For each pixel covered with a green lens you get 8 bits of green data And for each pixel covered with a blue lens you get 8 bits of blue data This type of pix
149. f you are using the trigger width exposure mode and the camera is operating with overlapped exposures there is something you must keep in mind If the action of the ExTrig signal would end the current exposure while readout of the previously acquired image is still taking place the camera will automatically continue the exposure until readout of the previous image is complete This situation is illustrated Figure 29 for rising edge operation On the first cycle of the ExTrig signal shown in the figure the signal rises and falls while readout is taking place Normally you would expect exposure to take place only when the ExTrig signal is high But since the signal falls while the previous frame is still reading out the camera automatically extends exposure until the readout is complete On the second cycle of the ExTrig signal shown in the figure the signal rises during previous frame readout but falls after the readout is complete This is a normal situation and exposure would be determined by the high time of the ExTrig signal as you would expect TrigRdy Signal Exposure ExTrig Signal d Li Pel F N 1 F N Frame Readout Oo Frames Famen Fig 31 Trigger Width Exposure Mode with Overlapped Exposure You can set the exposure time parameter value and select an exposure mode from within your application software by using the pylon API The following code snippets illustrate using the API to set the exposure time parameter and select the
150. factor y is applied to the brightness value Y of each pixel according to the following formula Y Y ROJ xd Ycorrected Y max max The formula uses uncorrected and corrected pixel brightnesses that are normalized by the maximum pixel brightness The maximum pixel brightness equals 255 for 8 bit output and 4095 for 12 bit output When the gamma correction factor is set to 1 the output pixel brightness will not be corrected A gamma correction factor between 0 and 1 will result in increased overall brightness and a gamma correction factor greater than 1 will result in decreased overall brightness In all cases black output pixel brightness equals 0 and white output pixel brightness equals 255 at 8 bit output and 4095 at 12 bit output will not be corrected Enabling Gamma Correction and Setting the Gamma You can enable or disable the gamma correction feature by setting the value of the Gamma Enable parameter When gamma correction is enabled the correction factor is determined by the value of the Gamma parameter The Gamma parameter can be set in a range from 0 to 3 99902 So if the Gamma parameter is set to 1 2 for example the gamma correction factor will be 1 2 You can set the Gamma Enable and Gamma parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter values Enable the Gamma feature Camera GammaEnable S
151. features To enable the frame counter chunk Use the Chunk Selector to select the Frame Counter chunk Use the Chunk Enable parameter to set the value of the chunk to true Once the frame counter chunk is enabled the camera will add a frame counter chunk to each acquired image To retrieve data from a chunk appended an image that has been received by your PC you must first run the image and its appended chunks through the chunk parser included in the pylon API Once the chunk parser has been used you can retrieve the frame counter information by doing the following Read the value of the Chunk Frame Counter parameter You can set the Chunk Selector and Chunk Enable parameter value from within your application software by using the pylon API You can also run the parser and retrieve the chunk data The following code snippets illustrate using the API to activate the chunk mode enable the frame counter chunk run the parser and retrieve the frame counter chunk data make chunk mode active and enable Frame Counter chunk Camera ChunkModeActive SetValue true Camera ChunkSelector SetValue ChunkSelector Framecounter Camera ChunkEnable SetValue true retrieve date from the chunk IChunkParser amp ChunkParser Camera CreateChunkParser GrabResult Result StreamGrabber RetrieveResult Result ChunkParser AttachBuffer unsigned char Result Buffer Result GetPayloadSize 186 Basle
152. ffer Size Sets the size in bytes of the buffers used by the receive descriptors and the transmit descriptors Receive Descriptors Sets the number of descriptors to use in the adapter s receiving ring Transmit Descriptors Sets the number of descriptors to use in the adapter s transmit ring To access the advanced properties for an adapter Open a Network Connections window and find the connection for your network adapter Right click on the name of the connection and select Properties from the drop down menu A LAN Connection Properties window will open Click the Configure button Pe qw gt An Adapter Properties window will open Click the Advanced tab Note We strongly recommend using the default parameter settings Changing the parameters can have a significant negative effect on the performance of the adapter and the driver 36 Basler pilot Basler Network Drivers and Parameters 4 3 Transport Layer Parameters The transport layer parameters are part of the camera s basic GigE implementation These parameters do not normally reguire adjustment Read Timeout If a register read request is sent to the camera via the transport layer this parameter designates the time out in milliseconds within which a response must be received Write Timeout If a register write request is sent to the camera via the transport layer this parameter designates the time out in milliseconds within which an acknowledge must be receive
153. fied in step 1 6 Atthe end of the specified exposure time readout and transmission of the acquired image will take place 7 Atthis point the camera would ignore any additional software triggers To acquire another image you must a Repeat step 3 to prepare the camera to react to a software trigger b Repeat step 4 to issue a software trigger If you use the single image acquisition process repeatedly you must not begin acquisition of a new image until transmission of the previously acquired image is complete You can set the exposure time and the Acquisition Mode parameter values from within your application software by using the pylon API You can also execute the Acquisition Start and Trigger Software commands The following code snippets illustrate using the API to set the parameter values and execute the commands Camera ExposureTimeRaw SetValue 200 Camera AcquisitionMode SetValue AcquisitionMode SingleFrame prepare for image capture Camera AcguisitionStart Execute Camera TriggerSoftware Execute retrieve the captured image For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the camera s exposure time parameter see Section 8 4 on page 87
154. for the AOI you will be setting these values in terms of virtual sensor lines For more informtion about the area of interest AOI feature see Section 11 5 on page 153 158 Basler pilot Features Binning s Effect on the Sensor Readout and Frame Rate Formulas In several areas of the manual formulas appear for sensor readout time and for calculating the maximum frame rate In several of these formulas you must enter the current height of the area of interest AOI If you are not using binning you would enter the height of the AOI in physical sensor lines If binning is enabled however you must use the concept of a virtual sensor as described above and the height of the AOI that you use in the formulas would be in terms of virtual sensor lines The affected formulas appear on page 96 and on page 99 Basler pilot 159 Features 11 7 Averaging The avaraging feature lets you obtain an image that is the average of a set number of consecutively acguired individual images You can average up to 256 individual images When averaging is active the pixel values for each pixel will be summed and the total for each pixel will be divided by the number of the individual images acguired Decimals of the resulting average pixel values will be truncated and the averaged pixel values will be transmitted as integers You can use averaging for all modes of image acguisition You can obtain averaged images when the camera s acguisition mode is se
155. g 29 Timed Exposure with Rising Edge Triggering Trigger Width Exposure Mode When trigger width exposure mode is selected the length of the exposure will be directly controlled by the ExTrig signal If the camera is set for rising edge triggering the exposure time begins when the ExTrig signal rises and continues until the ExTrig signal falls If the camera is set for falling edge triggering the exposure time begins when the ExTrig signal falls and continues until the ExTrig signal rises Figure 30 illustrates trigger width exposure with the camera set for rising edge triggering Trigger width exposure is especially useful if you intend to vary the length of the exposure time for each captured image ExTrig Signal Period x Exposure t ExTrig Signal Fig 30 Trigger Width Exposure with Rising Edge Triggering When you operate the camera in trigger width exposure mode you must use the camera s exposure setting to set an exposure time The exposure time setting will be used by the camera to operate the trigger ready signal Basler pilot 81 Image Acguisition Control You should adjust the exposure setting to represent the shortest exposure time you intend to use For example assume that you will be using trigger width exposure and that you intend to use the ExTrig signal to vary the exposure time in a range from 3000 us to 5500 us In this case you would use the exposure setting to set the exposure time to 3000 us I
156. gned short little endian type The available range of data values and the corresponding indicated signal levels are as shown in the table below Note that for 16 bit data you might expect a value range from 0x0000 to OxFFFF However with the camera set for Bayer BG 16 only 12 bits of the 16 bits transmitted are effective Therefore the highest data value you will see is OXOFFF indicating a signal level of 4095 This Data Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 Note When a camera that is set for Bayer BG 16 has only 12 bits effective the leader of transmitted frames will indicate Bayer BG 12 as the pixel format 120 Basler pilot Pixel Data Formats 9 3 6 Bayer GB 12 Packed Format When a color camera is set for the Bayer GB 12 Packed pixel dataformat it outputs 12 bits of data per pixel Every three bytes transmitted by the camera contain data for two pixels With the Bayer GB 12 Packed coding the pixel data is not processed or interpolated in any way So for each pixel covered with a red lens in the sensor s Bayer filter you get 12 bits of red data For each pixel covered with a green lens in the filter you get 12 bits of green data And for each pixel covered with a blue lens in the filter you get 12 bits of blue data This type of pixel data is sometimes referred to as raw output For more information about the Bayer fi
157. h an internal filter on request Basler pilot 15 Specifications Reguirements and Precautions 1 5 4 Mechanical Stress Test Results Pilot cameras were submitted to an independent mechanical testing laboratory and subjected to the stress tests listed below The mechanical stress tests were performed on selected camera models After mechanical testing the cameras exhibited no detectable physical damage and produced normal images during standard operational testing Test Standard Conditions Vibration sinusoidal each axis DIN EN 60068 2 6 10 58 Hz 1 5 mm 58 500 Hz 20 g 1 Octave Minute 10 repetitions Shock each axis DIN EN 60068 2 27 20 g 11 ms 10 shocks positive 20 g 11 ms 10 shocks negative Bump each axis DIN EN 60068 2 29 20 g 11 ms 100 shocks positive 20 g 11 ms 100 shocks negative Vibration broad band random digital control each axis DIN EN 60068 2 64 15 500 Hz 0 05 PSD ESS standard profile 00 30 h Table 4 Mechanical Stress Tests The mechanical stress tests were performed with a dummy lens connected to a C mount The dummy lens was 35 mm long and had a mass of 66 g Using a heavier or longer lens reguires an additional support for the lens Basler pilot Specifications Reguirements and Precautions 1 6 Software Licensing Information The software in the camera includes the LWIP TCP IP implementation The copyright information f
158. hBuffer unsigned char Result Buffer Result GetPayloadSize int64 t offsetX Camera ChunkOffsetX GetValue int64 t offsetY Camera ChunkOffsetY GetValue int64 t width lt Camera ChunkWidth GetValue int64 t height Camera ChunkHeight GetValue int64 t dynamicRangeMin Camera ChunkDynamicRangeMin GetValue int64 t dynamicRangeMax Camera ChunkDynamicRangeMax GetValue ChunkPixelFormatEnums pixelFormat Camera ChunkPixelFormat GetValue For more information about using the chunk parser see the sample code that is included with the Basler pylon Software Development Kit SDK Basler pilot 185 Features 11 13 3Frame Counter The Frame Counter feature numbers images seguentially as they are acguired When the feature is enabled a chunk is added to each image containing the value of the counter The frame counter is a 32 bit value The counter starts at 0 and wraps at 4294967296 The counter increments by 1 for each acguired image Whenever the camera is powered off the counter will reset to 0 Be aware that if the camera is acguiring images continuously and continuous capture is stopped several numbers in the counting seguence may be skipped This happens due to the internal image buffering scheme used in the camera Note The chunk mode must be active before you can enable the frame counter feature or any of the other chunk feature Making the chunk mode inactive disables all chunk
159. he Basler pylon Viewer application to easily set the parameters Changing the Duration Time Base By default the Timer Duration Time Base is fixed at 1 uis and the timer duration is normally adjusted by setting the value of the Timer Duration Raw parameter However if you require a duration time that is longer than what you can achieve by changing the value of the Timer Duration Raw parameter alone the Timer Duration Time Base Abs parameter can be used to change the duration time base The Timer Duration Time Base Abs parameter value sets the duration time base in us The default is 1 us and it can be changed in 1 us increments Note that there is only one timer duration time base and it is used by all four of the available timers You can set the Timer Duration Time Base Abs parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera TimerDurationTimebaseAbs SetValue 5 Setting the Duration with an Absolute Value You can also set the Timer duration by using an absolute value This is accomplished by setting the Timer Duration Abs parameter The units for setting this parameter are us and the value can be set in increments of 1 us To set the duration for a timer using an absolute value Use the Timer Selector to select a timer Set the value of the Timer Duration Abs parameter You can set the Timer Selector and the T
160. he Basler pylon Viewer application to easily set the parameters For general information about auto functions see Section 11 10 on page 167 For information about Auto Function AOls and how to set them see Section 11 10 1 2 on page 169 Basler pilot 179 Features 11 11 Disable Parameter Limits For each camera parameter the allowed range of parameter values normally is limited The factory limits are designed to ensure optimum camera operation and in particular good image guality For special camera uses however it may be helpful to set parameter values outside of the factory limits The disable parameter limits feature lets you disable the factory parameter limits for certain parameters When the factory parameter limits are disabled the parameter values can be set within extended limits Typically the range of the extended limits is dictated by the physical restrictions of the camera s electronic devices such as the absolute limits of the camera s variable gain control The values for the extended limits can be seen using the Basler pylon Viewer or from within your application via the pylon API Note Currently the parameter limits can only be disabled on the Gain feature To disable the limits for a parameter Use the Parameter Selector to select the parameter whose limits you wish to disable Set the value of the Remove Limits parameter You can set the Parameter Selector and the value of the Remove Limits parameter from
161. he chunk mode is active and the Extended Image Data feature has been enabled the camera will automatically add an extended image data chunk to each acquired image The extended image data chunk appended to each acquired image contains some basic information about the image The information contained in the chunk includes The X Offset Y Offset Width and Height for the AOI The Pixel Format of the image The Minimum Dynamic Range and the Maximum Dynamic Range To retrieve data from the extended image data chunk appended to an image that has been received by your PC you must first run the image and its appended chunks through the chunk parser included in the pylon API Once the chunk parser has been used you can retrieve the extended image data by doing the following Read the value of the Chunk Offset X parameter Read the value of the Chunk Offset Y parameter Read the value of the Chunk Width parameter Read the value of the Chunk Height parameter Read the value of the Chunk Pixel Format parameter Read the value of the Chunk Dynamic Range Min Read the value of the Chunk Dynamic Range Max 184 Basler pilot Features The following code snippet illustrates using the pylon API to run the parser and retrieve the extended image data retrieve date from th xtended image data chunk IChunkParser amp ChunkParser Camera CreateChunkParser GrabResult Result StreamGrabber RetrieveResult Result ChunkParser Attac
162. iggering image acquistion at too high a rate by using the trigger ready signal as described above You should also be aware that if the Acquisition Frame Rate Abs parameter is enabled it will influence the rate at which images can be acquired If the Acquisition Frame Rate Abs parameter is set to a value less than the maximum allowed you can trigger acquisition at any rate up to the set value If the Acquisition Frame Rate Abs parameter is set to a value greater than the maximum allowed you can trigger acquisition at any rate up to the maximum allowed image acquisition rate with the current camera settings Basler pilot 85 Image Acguisition Control You can set the exposure time and the Acquisition Mode parameter values from within your application software by using the pylon API You can also execute the Acquisition Start and Stop commands The following code snippet illustrates using the API to set the parameter values and execute the commands Camera TriggerSelector SetValue TriggerSelector AcquisitionStart Camera ExposureMode SetValue ExposureMode Timed Camera ExposureTimeAbs SetValue 3000 Camera TriggerActivation SetValue TriggerActivation RisingEdge Camera AcquisitionMode SetValue AcquisitionMode Continuous Camera AcquisitionStart Execute Camera AcquisitionStop Execute For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and A
163. ih 15 level controlled exposure mode 81 line inverter parameter 137 line selector 135 line source parameter 135 line status all chunk 188 line status parameter 143 LUT luminance lookup table 163 LUT enable parameter 165 LUT index parameter 165 LUT selector eee 165 M max frame jitter parameter 43 max height parameter 197 max number resend request parameter rr aaa 33 max width parameter 197 maximum acquisition frame rate 98 maximum lens thread length 15 Basler pilot Index mechanical drawings 12 mechanical stress test 16 missing packet detection rede 29 SlalUS ree nodis 29 mode of operation CONTINUOUS esesseeeeeee 168 ono 168 triodels itt de seka 1 mono 12 packed pixel format 108 mono 16 pixel format 106 mono 8 pixel format 105 130 mounting holes 12 multiple cameras on a network 46 N network adapter pac
164. imer Duration Abs parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera TimerSelector SetValue TimerSelector Timerl Camera TimerDurationAbs SetValue 100 Basler pilot 141 I O Control When you use the Timer Duration Abs parameter to set the duration time the camera accomplishes the setting change by automatically changing the Timer Duration Raw parameter to achieve the value specified by the Timer Duration Abs setting This leads to a limitation that you must keep in mind if you use Timer Duration Abs parameter to set the duration time That is you must set the Timer Duration Abs parameter to a value that is eguivalent to a setting you could achieve by using the Timer Duration Raw and the current Timer Duration Base parameters For example if the time base was currently set to 50 us you could use the Timer Duration Abs parameter to set the duration to 50 us 100 us 150 us etc If you read the current value of the Timer Duration Abs parameter the value will indicate the product of the Timer Duration Raw parameter and the Timer Duration Time Base In other words the Timer Duration Abs parameter will indicate the current duration time setting You should also be aware that if you change the duration time using the raw settings the Timer Duration Abs parameter will automatically be updated to reflect th
165. in your application software by using the pylon API The following code snippet illustrates using the API to read the parameter value int64 t lineState Camera LineStatusAll GetValue The Line Status All parameter is a 32 bit value As shown in Figure 40 certain bits in the value are associated with each line and the bits will indicate the state of the lines If a bit is O it indicates that Basler pilot 143 I O Control the state of the associated line is currently low If a bitis 1 it indicates that the state of the associated line is current high Indicates output line 4 state Indicates output line 3 state Indicates output line 2 state Indicates input line 2 state Indicates output line 1 state Indicates input line 1 state 31 30 29 28 27 26 25 24 2352221 20 19 18 tz 16 15 14 13 12 t hio 9 8 7 e s 4 32 1 0 Fig 40 Line Status All Parameter Bits 144 Basler pilot Features 11 Features This section provides detailed information about the standard features available on each camera It also includes an explanation of the operation and the parameters associated with each feature 11 1 Gain The camera s gain is adjustable As shown in Figure 41 increasing the gain increases the Gray Values slope of the response curve for the camera 4095 255 1298 6dB OdB This results in a higher gray value output from 12 bit 8 bit the camera for a given amount of output from the imaging sen
166. inSelector SetValue GainSelector All Camera GainRaw SetValue 100 Set Gain Raw Tap 1 Camera GainSelector SetValue GainSelector Tapl Camera GainRaw SetValue 0 Set Gain Raw Tap 2 Camera GainSelector SetValue GainSelector Tap2 Camera GainRaw SetValue 0 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 148 Basler pilot Features 11 2 Black Level Adjusting the camera s black level will result in an offset to the pixel values output from the camera As mentioned in the Functional Description section of this manual for readout purposes the sensor used in the camera is divided into two halves As a result of this design there are three black level adjustments available Black Level Raw All Black Level Raw Tap 1 and Black Level Raw Tap 2 Black Level Raw All is a global adjustment i e its setting affects both halves of the sensor The Black Level Raw All value can be set in a range from 0 to 1023 Black Level Raw Tap 1 sets an additional amount of black level adjustment for the right half of the sensor The Black Level Raw Tap 1 value can be set in a range from 0 to 1023 The total black level for the right half of the sensor will be the sum of the Black Level Raw All value
167. ines in the sensor But if binning is enabled monochrome cameras only these parameters are set in terms of virtual columns and lines i e the settings for an Auto Function AOI will refer to the binned lines and columns in the sensor and not to the physical lines in the sensor as they normally would D Normally the X Offset Y Offset Width and Height parameter settings for an Auto For more information about the concept of a virtual sensor see Section 11 6 1 on page 158 You can select an Auto Function AOI and set the X Offset Y Offset Width and Height parameter values for the Auto Function AOI from within your application software by using the pylon API The following code snippets illustrate using the API to select an Auto Function AOI and to get the maximum allowed settings for the Width and Height parameters The code snippets also illustrate setting the X Offset Y Offset Width and Height parameter values As an example Auto Function AOH is selected 172 Basler pilot Features Select the appropriate auto function AOI for luminance statistics Currently AutoFunctionAOISelector AOIl is predefined to gather luminance statistics Set Camera Camera Camera Camera Camera position and size of the auto function AOI AutoFunctionAOISelector SetValue AutoFunctionAOISelector AOII1 AutoFunctionAOIOffsetX SetValue 0 AutoFunctionAOIOffsetY SetValue 0 AutoFunctionAOIWidth Set
168. ing the API to set the selector and the parameter value Camera TriggerSelector SetValue TriggerSelector AcquisitionStart Camera TriggerMode SetValue TriggerMode Off For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 73 Image Acguisition Control 8 1 2 Acquiring One Image at a Time In single frame operation the camera acquires and transmits a single image To select single frame operation the camera s Acguisition Mode parameter must be set to Single Frame To begin image acquisition execute an Acquisition Start command Exposure time is determined by the value of the camera s exposure time parameter When using the single frame method to acquire images you must not begin acquiring a new image until the previously captured image has been completely transmitted to the host PC You can set the Acquisition Mode parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera AcquisitionMode SetValue AcquisitionMode SingleFrame You can also execute the Acquisition Start command by using the API For detailed information about using the pylon API refer to the Basler pylon Progra
169. ing this formula you should know that on a Gigabit network it takes one tick to transmit one byte Also be aware that the formula has been simplified for easier understanding 40 Basler pilot Network Related Camera Parameters and Managing Bandwidth Bandwidth Reserve read write Used to reserve a portion of the assigned bandwidth for packet resends and for the transmission of control data between the camera and the host PC The setting is expressed as a percentage of the Bandwidth Assigned parameter For example if the Bandwidth Assigned parameter indicates that 30 MByte s have been assigned to the camera and the Bandwidth Reserve parameter is set to 5 then the bandwidth reserve will be 1 5 MByte s Bandwidth Reserve Accumulation read write A software device called the bandwidth reserve accumulator is designed to handle unusual situations such as a sudden EMI burst that interrupts an image transmission If this happens a larger than normal number of packet resends may be needed to properly transmit a complete image The accumulator is basically an extra pool of resends that the camera can use in unusual situations The Bandwidth Reserve Accumulation parameter is a multiplier used to set the maximum number of resends that can be held in the accumulator pool For example assume that the current bandwidth reserve setting for your camera is 5 and that this reserve is large enough to allow up to 5 packet resends during a frame period A
170. ion time could vary Also note that the frame transmission cannot be less than the frame readout time So if the frame transmission time formula returns a value that is less than the readout time the approximate frame transmission time will be equal to the readout time Due to the nature of the Ethernet network the transmission start delay can vary from frame to frame The start delay however is of very low significance when compared to the transmission time For more information about the Payload Size and Device Current Throughput parameters see Section 5 1 on page 39 Basler pilot 97 Image Acguisition Control 8 9 Maximum Allowed Acquisition Frame Rate In general the maximum allowed acquisition frame rate for your camera can be limited by three factors The amount of time it takes to read the data for an acquired image known as a frame from the image sensor to the frame buffer This time varies depending on the height of the frame Shorter frames take less time to read out of the sensor The frame height is determined by the camera s AOI settings The exposure time for acquired frames If you use very long exposure times you can acquire fewer frames per second The amount of time that it takes to transmit an acquired frame from the camera to your host PC The amount of time needed to transmit a frame depends on the bandwidth assigned to the camera Note When the averaging feature is used an increased acquisition frame
171. ket size 48 network drivers 27 network parameter 47 network performance 47 network switch packet size 48 O optical size of the sensor 2 3 5 output frame rate 161 output lines configuring 135 electrical characteristics 69 inverter eite ile 137 response tiMe 71 voltage requirements 69 overlapped exposure 90 P packet size Caimieta x c x e i 48 network adapter 48 network switch 48 packet size parameter 39 packet timeout parameter 28 33 parameter setS 199 parameter sets saving 200 parameters loaded at startup 201 payload size parameter 39 performance driver 27 215 Index pin assignments 58 pin numbering eese 59 pixel data formats 103 YUV 422 YUYV packed
172. l and you should base the use of your ExTrig signal on the state of the trigger ready signal To set the camera to react continuously to ExTrig signal transitions follow the sequence below The sequence assumes that you have set the camera for rising edge triggering and for the timed exposure mode 1 Access the camera s API and set the exposure time parameters for your desired exposure time 2 Setthe value of the camera s Acquisition Mode parameter to Continuous Execute an Acquisition Start command This prepares the camera to react to the trigger signals 4 Checkthe state of the camera s Trigger Ready signal a If the TrigRdy signal is high you can transition the ExTrig signal when desired b If the TrigRdy signal is low wait until TrigRdy goes high and then transition the ExTrig signal when desired 5 When the ExTrig signal transitions from low to high image acquisition will start Exposure will continue for the length of time you specified in step 1 6 Atthe end of the specified exposure time readout and transmission of the acquired image will take place 7 Repeat steps 4 and 5 each time you want to start another image acquisition 8 Execute an Acquisition Stop command The camera will no longer react to hardware triggers If you are acquiring images using a series of hardware trigger transitions you must avoid acquiring images at a rate that exceeds the maximum allowed with the current camera settings You can avoid tr
173. lates the maximum frame rate based on the sensor readout time 1 Max F AOI Height x C C gt ax Frames s AOI Height x C4 C gt Where AO Height lt the height of the acquired frames as determined by the AOI settings The constants C4 and C depend on the camera model as shown in the table below C4 C2 piA640 210gm gc 8 76 us 521 17 us piA1000 48 gm gc 13 39 us 7423 76 us piA1600 35 gm gc 20 52 us 3873 2 us piA1900 32gm gc 0 us 31021 26 us piA2400 12gm gc 26 19 us 26210 09 us piA2400 17 gm gc 20 94 us 15413 35 us Note The maximum frame rate of the piA1900 32gm gc is limited to 32 fps Basler pilot 99 Image Acguisition Control Formula 2 Calculates the maximum frame rate based on the exposure time for the acguired frames Max Frames s Where 1 Exposure time in us C4 The constant C4 depends on the camera model as shown in the table below C3 piA640 210gm gc 46 99 us piA1000 48 gm gc 95 57 us piA1600 35gm gc 79 64 us piA1900 32 gm gc 139 38 us piA2400 12gm gc 102 40 us piA2400 17 gm gc 81 92 us For more information about setting the exposure time see Section 8 4 on page 87 Formula 3 Calculates the maximum frame rate based on the frame transmission time Max Frames s D Device Current Throughput Parameter Value Payload Size Parameter Value Note When the averaging feature is used the above formula is re
174. ler pilot Specifications Reguirements and Precautions 1 3 Spectral Response for Mono Cameras The following graphs show the spectral response for each available monochrome camera model Note The spectral response curves exclude lens characteristics and light source characteristics 0 6 0 5 0 4 0 3 0 2 Absolute Quantum Efficiency 0 1 0 0 300 400 500 600 700 800 900 1000 1100 Wave Length nm Fig 1 piA640 210gm Spectral Response 6 Basler pilot 0 50 Specifications Reguirements and Precautions 0 45 0 40 0 35 0 30 0 25 0 20 0 15 Absolute Quantum Efficiency 0 10 0 05 0 00 300 400 500 Fig 2 piA1000 48gm Spectral Response 0 6 600 700 Wave Length nm 800 900 1000 0 5 0 4 0 3 0 2 Absolute Quantum Efficiency 0 1 0 0 200 300 400 500 Fig 3 piA1600 35gm Spectral Response Basler pilot 600 700 Wave Length nm 800 900 1000 1100 Specifications Reguirements and Precautions 0 50 0 45 0 40 0 35 0 30 0 25 0 20 0 15 0 10 0 05 0 00 Absolute Quantum Efficiency 300 400 500 600 700 800 900 1000 Wave Length nm Fi g 4 piA1900 32gm Spectral Response 0 9 0 8 0 7 0 6 0 5 7 0 4 Relative
175. lied with 24 VDC See the following section for more information on PLC power and I O cables A single cable is used to connect power to the camera and to connect to the camera s l O lines as shown in Figure 22 The end of the standard power and l O cable that connects to the camera must be terminated with a Hirose micro plug part number HR10A 10P 12S or the equivalent The cable must be wired to conform with the pin assignments shown in the pin assignment tables The maximum length of the standard power and l O cable is at least 10 meters The cable must be shielded and must be constructed with twisted pair wire Use of twisted pair wire is essential to ensure that input signals are correctly received Close proximity to strong magnetic fields should be avoided Basler pilot 61 Physical Interface The reguired 12 pin Hirose plug is available from Basler Basler also offers a cable assembly that is terminated with a 12 pin Hirose plug on one end and unterminated on the other Contact your Basler sales representative to order connectors or cables CAUTION An Incorrect Plug Can Damage the 12 pin Connector The plug on the cable that you attach to the camera s 12 pin connector must have 12 pins Use of a smaller plug such as one with 10 pins or 8 pins can damage the pins in the camera s 12 pin connector Hirose HR10A 10P 12S 12 pin Plug A In Pwr Gnd F m Purona ZE Oln1 OIn2 I O In Gnd V O Out 1 l O Out
176. llowing code snippet illustrates using the API to set the selector and the parameter value Camera TimerSelector SetValue TimerSelector Timerl Camera TimerDelayAbs SetValue 100 When you use the Timer Delay Abs parameter to set the delay time the camera accomplishes the setting change by automatically changing the Timer Delay Raw parameter to achieve the value specified by the Timer Delay Abs setting This leads to a limitation that you must keep in mind if you use Timer Delay Abs parameter to set the delay time That is you must set the Timer Delay Abs parameter to a value that is eguivalent to a setting you could achieve by using the Timer Delay Raw and the current Timer Delay Base parameters For example if the time base was currently set to 50 us you could use the Timer Delay Abs parameter to set the delay to 50 us 100 us 150 us etc Note that if you set the Timer Delay Abs parameter to a value that you could not achieve by using the Timer Delay Raw and current Timer Delay Time Base parameters the camera will automatically change the setting for the Timer Delay Abs parameter to the nearest achieveable value You should also be aware that if you change the delay time using the raw settings the Timer Delay Abs parameter will automatically be updated to reflect the new delay time 10 2 4 3 Setting a Timer Duration Time There are two ways to set the duration time for a timer by setting raw values or by setting an absol
177. lor models of the camera that have a C mount lens adapter are eguipped with an IR cut filter as standard eguipment The filter is mounted inside of the lens adapter Cameras without an IR cut filter are available on request Monochrome cameras do not include an IR cut filter in the lens adapter Monochrome cameras with a C mount lens adapter can be equipped with a filter on request Lens Thread Length is Limited The location of the IR cut filter limits the length of the threads on any lens you use with the camera If a lens with a very long thread length is used the IR cut filter will be damaged or destroyed and the camera will no longer operate CAUTION 152 Basler pilot Features 11 5 Area of Interest AOI The area of interest AOI feature lets you specify a portion of the imaging sensor array and after each image is acquired only the pixel information from the specified portion of the array is transmitted to the host PC The area of interest is referenced to the top left corner of the array The top left corner is designated as column 0 and line 0 as shown in Figure 42 The location and size of the area of interest is defined by declaring an X offset coordinate a width a Y offset coordinate and a height For example suppose that you specify the x offset as 10 the width as 16 the y offset as 6 and the height as 10 The area of the array that is bounded by these settings is shown in Figure 42 The camera will only t
178. low when the acquisition has started and will go high again when it is safe to trigger the next acquisition see Figure 34 The camera calculates the rise of the trigger ready signal based on the current exposure time parameter setting the current size of the area of interest and the time it will take to readout the captured pixel values from the sensor The trigger ready signal is especially useful if you want to run the camera at the maximum acquisition frame capture rate for the current conditions If you monitor the trigger ready signal and you trigger acquisition of each new image immediately after the signal goes high you will be sure that the camera is operating at the maximum acquisition frame rate for the current conditions Signal goes high Signal goes low Signal goes high Signal goes low at earliest safe when exposure at earliest safe when exposure moment to trigger for acquisition moment to trigger for acquisition acquisition N 1 N 1 begins acquisition N 2 N 2 begins TrigRdy Signal Image Acquisition N Exposure Readout Image Acquisition N 1 Exposure Readout Image Acquisition N 2 Exposure Readout Time Fig 34 Trigger Ready Signal 92 Basler pilot Image Acquisition Control You should be aware that if the Acquisition Frame Rate Abs parameter is enabled the operation of the trigger ready signal will be influenced by the value of the parameter If the value of
179. lso assume that the Bandwidth Reserve Accumulation parameter is set to 3 With these settings the accumulator pool can hold a maximum of 15 resends i e the multiplier times the maximum number of resends that could be transmitted in a frame period Note that with these settings 15 will also be the starting number of resends within the accumulator pool The chart on the next page and the numbered text below it show an example of how the accumulator would work with these settings The chart and the text assume that you are using an external trigger to trigger image acquisition The example also assumes that the camera is operating in a poor environment so many packets are lost and many resends are required The numbered text is keyed to the time periods in the chart Basler pilot 41 Network Related Camera Parameters and Managing Bandwidth Resends available via the bandwidth 5 5 5 5 5 5 5 5 5 reserve Resends needed 0 7 4 10 20 1 0 0 1 Effect on the accumulator pool 0 2 1 5 9 4 5 5 1 Resends left in the accumulator pool transmission Time Period 1 2 3 4 5 6 7 8 9 oo bio oboo b bo ob i b FA amp TIFA amp TIIFA amp TI FA amp TIIFA amp TII FA amp T FA amp TI FA amp T after frame F A amp T Frame Acquired Not enough 1 42 and Transmitted resends available Packet unavailable errors gen
180. lter see Section 9 3 1 on page 111 The tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer GB 12 Packed output The following standards are used in the tables Po the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line Even Lines Byte Data Bo Green value for Po bits 11 4 B4 Blue value for P bits 3 O Green value for Pg bits 3 0 Bo Blue value for P bits 11 4 B3 Green value for P3 bits 11 4 B4 Blue value for P3 bits 3 0 Green value for P3 bits 3 0 Bs Blue value for Ps bits 11 4 Bg Green value for P4 bits 11 4 B Blue value for Ps bits 3 0 Green value for P4 bits 3 0 Bg Blue value for Ps bits 11 4 Bm 5 Green value for P 3 bits 11 4 Bm 4 Blue value for Pj bits 3 0 Green value for P 3 bits 3 0 Bm 3 Blue value for Pp bits 11 4 Bm 2 Green value for P bits 11 4 Bma4 Blue value for P bits 3 0 Green value for P bits 3 O Bm Blue value for P bits 11 4 Basler pilot 121 Pixel Data Formats Odd Lines Byte Data Bo
181. lues and the corresponding indicated signal levels are as shown in the table below This Data Value Hexadecimal Indicates This Signal Level Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 116 Basler pilot Pixel Data Formats 9 3 4 Bayer GB 16 Format Equivalent to DCAM Raw 16 When a color camera is set for the Bayer GB 16 pixel data format it outputs 16 bits of data per pixel with 12 bits effective The 12 bits of effective pixel data fill from the least significant bit The four unused most significant bits are filled with zeros With the Bayer GB 16 the pixel data is not processed or interpolated in any way So for each pixel covered with a red lens you get 12 effective bits of red data For each pixel covered with a green lens you get 12 effective bits of green data And for each pixel covered with a blue lens you get 12 effective bits of blue data This type of pixel data is sometimes referred to as raw output The GB in the name Bayer GB 16 refers to the alignment of the colors in the Bayer filter to the pixels in the acquired images For even lines in the images pixel zero will be green pixel one will be blue pixel two will be green pixel three will be blue etc For odd lines in the images pixel zero will be red pixel one will be green pixel two will be red pixel three will be green etc For more information about the Bayer filter see Section 9 3 1 on page 111 The
182. lute value You can use whichever method you prefer to set the delay time Setting the Delay with Raw Values When the delay time for a timer is set using raw values the delay time will be determined by a combination of two elements The first element is the value of the Timer Delay Raw parameter and the second element is the Timer Delay Time Base The delay time is the product of these two elements Delay Time Timer Delay Raw Parameter Value x Timer Delay Time Base By default the Timer Delay Time Base is fixed at 1 us Typically the delay time is adjusted by setting the Timer Delay Raw parameter value The Timer Delay Raw parameter value can range from 0 to 4095 So if the value is set to 100 for example the timer delay will be 100 x 1 us or 100 us To set the delay for a timer Use the Timer Selector to select a timer Set the value of the Timer Delay Raw parameter You can set the Timer Selector and the Timer Delay Raw parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera TimerSelector SetValue TimerSelector Timerl Camera TimerDelayRaw SetValue 100 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Changing the Delay Time Base
183. mages at the maximum allowed Note that before you can use the Acquisition Frame Rate Abs parameter to control the frame rate the parameter must be enabled You can set the Acquisition Mode parameter value and you can enable and set the Acquisition Frame Rate Abs parameter from within your application software by using the pylon API The following code snippets illustrate using the API to set the parameter values 74 Basler pilot Image Acquisition Control set camera in continous mode Camera AcquisitionMode SetValue AcquisitionMode Continuous set a frame rate and getting the resulting frame rate Camera AcquisitionFrameRateEnable SetValue true Camera AcquisitionFrameRateAbs SetValue 20 5 double resultingFrameRate Camera ResultingFrameRateAbs GetValue You can also execute the Acquisition Start and Stop commands by using the API For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the camera s exposure time parameter see Section 8 4 on page 87 For more information about determining the maximum allowed acquisition frame rate see Section 8 9 on page 98 Note The explanations in Section 8 1 2 and Section 8 1 3 are intended to give you a basic idea of how
184. me and will make this factor less restrictive If you are using normal exposure times and you are using the camera at it s maximum resolution your exposure time will not normally be the most restrictive factor on the frame rate However if you are using long exposure times or small areas of interest it is quite possible to 98 Basler pilot Image Acquisition Control find that your exposure time is the most restrictive factor on the frame rate In this case you should lower your exposure time You may need to compensate for a lower exposure time by using a brighter light source or increasing the opening of your lens aperture The frame transmission time will not normally be a restricting factor But if you are using multiple cameras and you have set a small packet size or a large inter packet delay you may find that the transmission time is restricting the maximum allowed rate In this case you could increase the packet size or decrease the inter packet delay If you are using several cameras connected to the host PC via a network switch you could also use a multiport network adapter in the PC instead of a switch This would allow you to increase the Ethernet bandwidth assigned to the camera and thus decrease the transmission time For more information about AOI settings see Section 11 5 on page 153 For more information on the settings that determine the bandwidth assigned to the camera see Section 5 2 on page 46 Formula 1 Calcu
185. ment If no acknowledgement is received within a specified timeout the camera will resend the event message If an acknowledgement is still not received the timeout and resend mechanism will repeat until a specified maximum number of retrys is reached If the maximum number of retrys is reached and no acknowledge has been received the message will be dropped During the time that the camera is waiting for an acknowledgement no new event messages can be transmitted The Event Queue As mentioned in the example above the camera has an event queue The intention of the queue is to handle short term delays in the camera s ability to access the network and send event messages When event reporting is working smoothly a single event will be placed in the queue and this event will be sent to the PC in an event message before the next event is placed in queue If there is an occasional short term delay in event message transmission the queue can buffer several events and can send them within a single event message as soon as transmission time is available 192 Basler pilot Features However if you are operating the camera at high frame rates with a small AOl the camera may be able to generate and gueue events faster than they can be transmitted and acknowledged In this case The gueue will fill and events will be dropped 2 An event overrun will occur 3 Assuming that you have event overrun reporting enabled the camera will generate an e
186. mmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the camera s exposure time parameter see Section 8 4 on page 87 8 1 3 Acquiring Images Continuously Free run In continuous frame operation the camera continuously acquires and transmits images To select continuous frame operation the camera s Acquisition Mode parameter must be set to Continuous Note that operating the camera in continuous frame mode without the use of a trigger is also commonly called free run To begin acquiring images issue an Acquisition Start command The exposure time for each image is determined by the value of the camera s exposure time parameter Acquisition start for the second and subsequent images is automatically controlled by the camera Image acquisition and transmission will stop when you execute an Acquisition Stop command When the camera is operating in continuous frame mode without triggering the acquisition frame rate is determined by the Acquisition Frame Rate Abs parameter If the parameter is enabled and set to a value less than the maximum allowed acquisition frame rate the camera will acquire images at rate specified by the parameter setting If the parameter is disabled or is set to a value greater than the maximum allowed acquisition frame rate the camera will acquire i
187. n be a primary cause of EMI problems Use a line filter on the main power supply Install the camera and camera cables as far as possible from devices generating sparks If necessary use additional shielding Decrease the risk of electrostatic discharge by taking the following measures Use conductive materials at the point of installation e g floor workplace Use suitable clothing cotton and shoes Control the humidity in your environment Low humidity can cause ESD problems Basler pilot Specifications Reguirements and Precautions 1 8 Environmental Reguirements 1 8 1 Temperature and Humidity Housing temperature during operation 0 C 50 C 432 F 4122 F Humidity during operation 20 80 relative non condensing Storage temperature 20 C 80 C 4 F 176 F Storage humidity 20 80 relative non condensing 1 8 2 Heat Dissipation You must provide sufficient heat dissipation to maintain the temperature of the camera housing at 50 C or less Since each installation is unique Basler does not supply a strictly required technique for proper heat dissipation Instead we provide the following general guidelines In all cases you should monitor the temperature of the camera housing and make sure that the temperature does not exceed 50 C Keep in mind that the camera will gradually become warmer during the first 1 5 hours of operation After 1 5 hours the housing temperatu
188. n its original packaging only Do not discard the packaging Clean Properly Avoid cleaning the surface of the camera s sensor if possible If you must clean it use a soft lint free cloth dampened with a small quantity of high quality window cleaner Because electrostatic discharge can damage the sensor you must use a cloth that will not generate static during cleaning cotton is a good choice To clean the surface of the camera housing use a soft dry cloth To remove severe stains use a soft cloth dampened with a small quantity of neutral detergent then wipe dry Do not use solvents or thinners to clean the housing they can damage the surface finish Read the manual Read the manual carefully before using the camera Basler pilot 21 Specifications Reguirements and Precautions 22 Basler pilot Software and Hardware Installation 2 Software and Hardware Installation The information you will need to install and operate the camera is included in the Installation and Setup Guide for Cameras Used with Basler s pylon API AW000611xx000 You can obtain the Installation and Setup Guide for Cameras Used with Basler s pylon API from the Basler pylon SDK installation CD or free of charge as a download from the Basler website www baslerweb com The guide includes the information you will need to install both hardware and software and to begin capturing images It also describes the recommended network adapters describes the r
189. n the table from 0 through 4095 the table works like this The number at location 0 in the table represents the 12 bit value that will be transmitted out of the camera when the sensor reports that a pixel has a value of 0 The numbers at locations 1 through 7 are not used The number at location 8 in the table represents the 12 bit value that will be transmitted out of the camera when the sensor reports that a pixel has a value of 8 The numbers at locations 9 through 15 are not used The number at location 16 in the table represents the 12 bit value that will be transmitted out of the camera when the sensor reports that a pixel has a value of 16 The numbers at locations 17 through 23 are not used The number at location 24 in the table represents the 12 bit value that will be transmitted out of the camera when the sensor reports that a pixel has a value of 24 And so on As you can see the table does not include a defined 12 bit output value for every pixel value that the sensor can report So what does the camera do when the sensor reports a pixel value that is between two values that have a defined 12 bit output In this case the camera performs a straight line interpolation to determine the value that it should transmit For example assume that the sensor reports a pixel value of 12 In this case the camera would perform a straight line interpolation between the values at location 8 and location 16 in the table The result of the
190. ndTimeout SetValue 2 Write the ResendRequestResponseTimeout parameter StreamGrabber ResendRequestResponseTimeout SetValue 2 Write the MaximumNumberResendRequests parameter StreamGrabber MaximumNumberResendRequests SetValue 25 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Note that the performance driver parameters will only appear in the viewer if the performance driver is installed on the adapter to which your camera is connected For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 35 Basler Network Drivers and Parameters Adapter Properties When the Basler Performance driver is installed it adds a set of advanced properties to the network adapter These properties include Max Packet Latency A value in microseconds that defines how long the adapter will wait after it receives a packet before it generates a packet received interrupt Max Receive Inter packet Delay A value in microseconds that defines the maximum amount of time allowed between incoming packets Maximum Interrupts per Second Sets the maximum number of interrupts per second that the adapter will generate Network Address allows the user to specify a MAC address that will override the default address provided by the adapter Packet Bu
191. ng packets With the default parameter values the resend request threshold is located very close to the front end of the receive window Accordingly there will be only a minimum delay between detecting a missing packet and sending a resend request for it In this case a delay according to the Resend Timeout parameter will not occur see Figure 16 In addition resend request batching will not occur DIAGRAM IS NOT DRAWN TO SCALE 1 2 3 5 7 9 10 11 Hot d f lt 995 996 997 998 999 1000 ae 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 ne 2997 2998 gt 4 6 8 12 ig 16 Combination of Threshold Resend Mechanism and Timeout Resend Mechanism 1 Stream of packets Gray indicates that the status was checked as the packet entered the receive window White indicates that the status has not yet been checked 2 Receive window of the performance driver Threshold for sending resend requests resend request threshold The first resend request for packet 1002 is sent to the camera The camera does not respond with a resend Interval defined by the Resend Response Timeout parameter GS The Resend Timeout interval expires and the second resend request for packet 1002 is sent to the camera The camera does not respond with a resend 6 Interval defined by th
192. ng the charges from adjacent pixels into one pixel Two types of binning are available vertical binning and horizontal binning With vertical binning adjacent pixels from 2 lines 3 lines or a maximum of 4 lines in the imaging sensor array are summed and are reported out of the camera as a single pixel Figure illustrates vertical binning Vertical Binning by 3 Vertical Binning by 4 TERN Vertical Binning by 2 la placilo BS Cel J Gao C OC DO OE D cocco COCO Go B Fig 43 Vertical Binning Eli mi I LE O O With horizontal binning adjacent pixels from 2 columns 3 columns or amaximum of 4 columns are summed and are reported out of the camera as a single pixel Figure illustrates horizontal binning Horizontal Binning by 2 Horizontal Binning by 3 Horizontal Binning by 4 J zl dHHHE i Booo
193. ns round up x to the nearest integer x 4 means round up x to the nearest multiple of 4 Step 5 Calculate data bandwidth assigned to each camera For each camera there is a parameter called Bandwidth Assigned This read only parameter indicates the total bandwidth that has been assigned to the camera The Bandwidth Assigned parameter includes both the bandwidth that can be used for image data transmission plus the bandwidth that is reserved for packet resents and camera control signals To determine the data bandwidth assigned you must subtract out the reserve Basler pilot 49 Network Related Camera Parameters and Managing Bandwidth You can use the formula below to determine the actual amount of assigned bandwidth that is available for data transmission To use the formula you will need to know the current value of the Bandwidth Assigned parameter and the Bandwidth reserve parameter for each camera 100 Bandwidth Reserved Data Bandwidth Assigned Bandwidth Assigned x 100 Step 6 For each camera compare the data bandwidth needed with the data bandwidth assigned For each camera you should now compare the data bandwidth assigned to the camera as determined in step 4 with the bandwidth needed by the camera as determined in step 3 For bandwidth to be used most efficiently the data bandwidth assigned to a camera should be equal to or just slightly greater than the data bandwidth needed by the camera If y
194. one will be green pixel two will be red pixel three will be green pixel four will be red etc The tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer BG 8 output The following standards are used in the tables Po the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line Even Lines Odd Lines Byte Data Byte Data Bo Blue value for Pa Bo Green value for Po B Green value for P B Red value for P Bo Blue value for Po Bo Green value for Po B3 Green value for P3 B3 Red value for P3 B4 Blue value for P4 B4 Green value for P4 Bs Green value for P5 Bs Red value for Ps 2 e 2 e 2 e 2 e 2 e 2 e Bm 5 Blue value for P 5 Bm 5 Green value for P 5 Bm 4 Green value for P 4 Bm 4 Red value for Ph 4 Bm 3 Blue value for P 3 Bm 3 Green value for P 5 Bm 2 Green value for Ph 2 Bm 2 Red value for P gt Bma4 Blue value for P Bma4 Green value for P Bm Green value for P Bm Red value for P Basler pilot 115 Pixel Data Formats With the camera set for Bayer BG 8 the pixel data output is 8 bit data of the unsigned char type The available range of data va
195. onfiguration oec oes Menon set the default configuration set and user configurations sets ie RAM eee s User Set 2 J L Active Set poe a Active Configuration Set User Set3 The active configuration set contains the camera s current ese parameter settings and thus determines the camera s ki performance that is what your image currently looks like When you change parameter settings using the pylon API or the pylon Viewer you are making changes to the active configuration set The active configuration set is located in the camera s volatile memory and the settings are lost if the camera is reset or if power is switched off The active configuration set is usually called the active set for short Fig 54 Configuration Sets Default Configuration Set When a camera is manufactured a test setup is performed on the camera and an optimized configuration is determined The default configuration set contains the camera s factory optimized configuration The default configuration set is saved in a permanent file in the camera s non volatile memory It is not lost when the camera is reset or switched off and it cannot be changed The default configuration set is usually just called the default set for short User Configuration Sets As mentioned above the active configuration set is stored in the camera s volatile memory and the settings are lost if the camera is reset or if power is switched off The camera can save most of
196. or this implementation is as follows Copyright c 2001 2002 Swedish Institute of Computer Science All rights reserved Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met 1 Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer 2 Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution 3 The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Basler pilot 17
197. osure active signal see Section Section 8 7 on page 94 For more information about the trigger ready signal see Section Section 8 6 on page 92 For more information about assigning camera output signals to physical output lines see Section 10 2 1 on page 135 70 Basler pilot Physical Interface 7 7 3 Output Line Response Time Response times for the output lines on the camera are as shown below Camera Output Signal Output Line Voltage Time Fig 26 Output Line Response Times Time Delay Rise TDR 1 5 us Rise Time RT 1 3 5 0 us Time Delay Fall TDF 2 1 20 us Fall Time FT 21 5 us Note The response times for the output lines on your camera will typically fall into the ranges specified above The exact response time for your specific application will depend on the external resistor and the applied voltage you use Basler pilot 71 Physical Interface O In 1 Q BF545C In 1 Ctrl Gnd I O In Gnd VO In 2 Q BF545C In 2 Ctrl Gnd VO In Gnd Out 1 Ctrl ene VO Out Vec a BC847BS VO Out 1 Out 2 Ctrl 220 VO Out VCC Q BC847BS VO Out 2 Out 3 Ctrl 2200 VO Out Vec Q BC847BS 1 0_Out_3 Out 4 Ctrl 2200 1 0_Out_VCC Q BC847BS VO Out 4 Fig 27 I O Line Schematic 72 12 Pin Receptacle In Pwr Gnd O In 1 O In 2 I O In Gnd O Out 1 O Out 2 In Pwr VCC l O Out VCC l O Out 3 l O Out 4
198. ou find that this is the situation for all of the cameras on the network you can go on to step 6 now If you find a camera that has much more data bandwidth assigned than it needs you should make an adjustment To lower the amount of data bandwidth assigned you must adjust a parameter called the Inter packet Delay If you increase the Inter packet Delay parameter value on a camera the data bandwidth assigned to the camera will decrease So for any camera where you find that the data bandwidth assigned is much greater then the data bandwidth needed you should do this Raise the setting for the Inter packet delay parameter for the camera Recalculate the data bandwidth assigned to the camera Compare the new data bandwidth assigned to the data bandwidth needed Repeat 1 2 and 3 until the data bandwidth assigned is equal to or just greater than the data bandwidth needed Fon gt Note If you increase the inter packet delay to lower a camera s data output rate there is something that you must keep in mind When you lower the data output rate you increase the amount of time that the camera needs to transmit an acquired frame image Increasing the frame transmission time can restrict the camera s maximum allowed acquisition frame rate Step 7 Check that the total bandwidth assigned is less than the network capacity 1 For each camera determine the current value of the Bandwidth Assigned parameter The value is in Byte s M
199. overlapped exposures is not a matter of issuing a command or switching a setting on or off Rather the way that you operate the camera will determine whether the exposures are overlapped or not overlapped If we define the frame period as the time from the start of exposure for one image acquisition to the start of exposure for the next image acquisition then Exposure will overlap when Frame Period x Exposure Time Readout Time Exposure will not overlap when Frame Period gt Exposure Time Readout Time You can calculate the readout time for a captured image by using the formula on page 95 8 5 1 Guidelines for Overlapped Operation If you will be operating the camera with overlapped exposure there are two important guidelines to keep in mind You must not begin the exposure time for a new image acquisition while the exposure time of the previous acquisition is in progress You must not end the exposure time of the current image acquisition until readout of the previously acquired image is complete The camera will ignore any trigger signals that violate these guidelines When you are operating a camera with overlapped exposure and using a hardware trigger signal to trigger image acquisition you could use the camera s exposure time parameter settings and timing formulas to calculate when it is safe to begin each new acquisition However there is a much more convenient way to know when it safe to begin each acquisition The camera su
200. pixel data from the Image AOI will be used to control the image property If the Image AOI only partially overlaps the Auto Function AOI see c in Figure 48 only the pixel data from the area of partial overlap will be used to control the image property If the Auto Function AOI does not overlap the Image AOI see d in Figure 48 the Auto Function will not or only to a limited degree control the image property For details see the sections below describing the individual auto functions D We strongly recommend completely including the Auto Function AOI in the Image AOI or depending on your needs choosing identical positions and sizes for Auto Function AOI and Image AOI 170 Basler pilot Features 01234567 89 1011 2 13 M 15 16 17 18 19 20 21 2 23 24 25 26 27 28 29 30 Auto Function AOI Image AOI u5bUu gURBHBBoouou5ruwvno b t 012345267 89 1011 2 13 M 15 16 17 18 19 20 21 2 23 24 25 26 27 2829 3 Auto Function AOI Image AOI
201. placed by the related formula in the Averaging section which may permit a higher maximum acquisition frame rate For the related formula when the averaging feature is used see Section 11 7 on page 160 100 Basler pilot Image Acquisition Control Example Assume that you are using a piA640 210gm camera set for an exposure time of 2000 us and for 600 x 400 resolution Also assume that you have checked the value of the Device Current Throughput parameter the Payload Size parameters and found them to be 110000000 and 240000 respectively and the averaging feature is not used Formula 1 1 Max Framesis 400 x8 zene 52715 Max Frames s 248 4 frames s Formula 2 1 Max F n TRES SX Frames 5900 s 46 5 Max Frames s 488 5 frames s Formula 3 110000000 240000 Max Frames s 458 3 frames s Max Frames s Formula one returns the lowest value So in this case the limiting factor is the sensor readout time and the maximum allowed acquisition frame rate would be 248 4 frames per second Basler pilot 101 Image Acguisition Control 102 Basler pilot Pixel Data Formats 9 Pixel Data Formats By selecting a pixel data format you determine the format layout of the image data transmitted by the camera This section provides detailed information about the available pixel data formats 9 1 The setting for the camera s Pixel Format parameter determines the format of the pixel data that will be outp
202. posure auto function can not be used at the same time If Auto Function AOI1 does not overlap the Image AOI see the Auto Function AOI section the pixel data from Auto Function AOI1 will not be used to control the image brightness Instead the current manual setting of the Gain Raw parameter value will control the image brightness For more information about gain see Section 11 1 on page 145 To use the gain auto function carry out the following steps Select Auto Function AOI1 Set the postion and size of Auto Function AOI Set the lower and upper limits for the Auto Gain Raw parameter value Set the target average gray value Enable the gain auto function by setting it to once or continuous arwon The currently settable limits for the Auto Gain Raw parameter value depend on the current pixel data format on the current settings for binning and on whether or not the Gain Raw parameter limits for the manually set gain feature are disabled The target average gray value may range from 0 black to 255 white Note that this range of numbers applies to 8 bit and to 16 bit 12 bit effective output modes Accordingly also for 16 bit output modes black is represented by 0 and white by 255 You can carry out steps 1 to 5 from within your application software by using the pylon API The following code snippets illustrate using the API to set the parameter values Selecting and setting Auto Function AOI Setting the limits for
203. pplies a trigger ready signal that is specifically designed to let you trigger overlapped exposure safely and efficiently For more information about using the Trigger Ready signal see Section 8 6 on page 92 For more detailed guidelines about using an external trigger signal with the trigger width exposure mode and overlapped exposure refer to the application notes called Using a Specific External Trigger Signal with Overlapped Exposure AW000565xx000 The application notes are available in the downloads section of the Basler website www baslerweb com Basler pilot 91 Image Acguisition Control 8 6 Trigger Ready Signal As described in the previous section the cameras can operate in an overlapped acguisition fashion When the camera is operated in this manner it is especially important that the exposure time of a new image acquisition not start until exposure of the previously acquired image is complete and the exposure time of a new image acquisition not end until readout of the previously acquired image is complete The camera supplies a Trigger Ready TrigRdy output signal you can use to ensure that these conditions are met when you are using a hardware trigger signal to trigger image acquisition When you are acquiring images the camera automatically calculates the earliest moment that it is safe to trigger each new acquisition The trigger ready signal will go high when it is safe to trigger an acquisition will go
204. r pilot Features int64 t frameCounter Camera ChunkFramecounter GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 11 13 4Time Stamp The Time Stamp feature adds a chunk to each acquired image containing a time stamp that was generated when image acquisition was triggered The time stamp is a 64 bit value The time stamp is based on a counter that counts the number of time stamp clock ticks generated by the camera The unit for each tick is 8 ns as specified by the Gev Timestamp Tick Frequency The counter starts at camera reset or at power off on Note The chunk mode must be active before you can enable the time stamp feature or any of the other chunk feature Making the chunk mode inactive disables all chunk features To enable the time stamp chunk Use the Chunk Selector to select the Time Stamp chunk Use the Chunk Enable parameter to set the value of the chunk to true Once the time stamp chunk is enabled the camera will add a time stamp chunk to each acquired image To retrieve data from a chunk appended to an image that has been received by your PC you must first run the image and its appended chunks through the chunk parser that is included in the pylon API Once the chunk parser has b
205. rameter Pylon String t deviceID Camera DeviceFirmwareVersion GetValue Writ and read the Device User ID Camera DeviceUserID lt custom name Pylon String t deviceUserID Camera DeviceUserID GetValue Read int64 t the Sensor Width parameter sensorWidth lt Camera SensorWidth GetValue Read int64 t Read int64 t the Sensor Height parameter sensorHeight Camera SensorHeight GetValue the Max Width parameter maxWidth Camera WidthMax GetValue Read int64 t the Max Height parameter maxHeight Camera HeightMax GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily read the parameters and to read or write the Device User ID You can use the Basler pylon IP Configuration tool to read or write the Device User ID For more information about the pylon Viewer see Section 3 1 on page 25 For more information about the pylon IP Configuration Tool see the Installation and Setup Guide for Cameras Used with Basler s pylon API AW000611xx000 198 Basler pilot Features 11 17 Configuration Sets A configuration set is a group of values that contains all of the Non volatile parameter settings needed to control the camera There are Memory as 1 three basic types of configuration sets the active c
206. ransfer pixel data from within the area defined by your settings Information from the pixels outside of the area of interest is discarded Column 0 1 2 3 4 5 6 7 8 9 101 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Line o 1 k ai X 3 Offset m A 6 7 NENA 8 E E 9 E H N H Height 19 NNNM 1 NOM 12 w 13 a a The camera H will only 15 transmit the 16 pixel data 17 from this 18 j area 19 I 1 de Y Offset gt Width Fig 42 Area of Interest One of the main advantages of the AOI feature is that decreasing the height of the AOI can increase the camera s maximum allowed acquisition frame rate For more information about how changing the AOI height affects the maximum allowed frame rate see Section 8 9 on page 98 Basler pilot 153 Features Setting the AOI By default the AOI is set to use the full resolution of the camera s sensor You can change the size and the position of the AOI by changing the value of the camera s X Offset Y Offset Width and Height parameters The value of the X Offset parameter determines the starting column for
207. rce signal for the selected line Note By default the Exposure Active signal is assigned to Output Line 1 and the Trigger Ready Signal is assigned to Output Line 2 You can set the Line Selector and the Line Source parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera LineSelector SetValue LineSelector Outl Camera LineSource SetValue LineSource ExposureActive Camera LineSelector SetValue LineSelector Out2 Camera LineSource SetValue LineSource TriggerReady For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 For more information about setting the state of user settable output signals see Section 10 2 2 on page 136 For more information about working with the timer output signals see Section 10 2 4 on page 138 Basler pilot 135 I O Control For more information about the exposure active signal see Section 8 7 on page 94 For more information about the trigger ready signal see Section 8 6 on page 92 10 2 2 Setting the State of User Settable Output Lines As mentioned in the previous section you can designate one or more of th
208. re information about the pylon Viewer see Section 3 1 on page 25 For more information about the camera s exposure time parameter see Section 8 4 on page 87 For more information about determining the maximum allowed acquisition frame rate see Section 8 9 on page 98 Note The explanations in Section 8 2 2 and Section 8 2 3 are intended to give you a basic idea of how the use of a software trigger works For a more complete description refer to the Basler pylon Programmer s Guide and to the sample programs included in the Basler pylon Software Development Kit SDK Basler pilot 79 Image Acguisition Control 8 3 Controlling Image Acquisition with a Hardware Trigger You can configure the camera so that an external hardware trigger ExTrig signal applied to one of the input lines will control image acquisition A rising edge or a falling edge of the ExTrig signal can be used to trigger image acquisition The ExTrig signal can be periodic or non periodic When the camera is operating under control of an ExTrig signal the period of the ExTrig signal will determine the rate at which the camera is acquiring images 1 Acquisition Frame Rate ExTrig period in seconds i For example if you are operating a camera with an ExTrig signal period of 20 ms 0 020 s i gt _ f 0 020 00 PS So in this case the acquisition frame rate is 50 fps In order for the camera to detect a transition from low to high the Ex
209. re should stabilize and no longer increase If your camera is mounted on a substantial metal component in your system this may provide sufficient heat dissipation The use of a fan to provide air flow over the camera is an extremely efficient method of heat dissipation The use of a fan provides the best heat dissipation Basler pilot 19 Specifications Reguirements and Precautions 1 9 Precautions A CAUTION Avoid Dust on the Sensor The camera is shipped with a cap on the lens mount To avoid collecting dust on the camera s IR cut filter color cameras or sensor mono cameras make sure that you always put the cap in place when there is no lens mounted on the camera Lens Thread Length is Limited Color models of the camera with a C mount lens adapter are equipped with an IR cut filter mounted inside of the adapter The location of this filter limits the length of the threads on any lens you use with the camera If a lens with a very long thread length is used the IR cut filter will be damaged or destroyed and the camera will no longer operate For more specific information about the lens thread length see Section 1 5 3 on page 15 gt CAUTION gt CAUTION 20 Voltage Outside of Specified Range Can Cause Damage If the voltage of the power to the camera is greater than 30 0 VDC damage to the camera can result If the voltage is less than 11 3 VDC the camera may operate erratically An Incorr
210. reen LED and a yellow LED When the green LED is lit it indicates that an active network connection is available When the yellow LED is lit it indicates that data is being transmitted via the network connection 7 3 2 12 pin Connector The 12 pin connector on the camera is a Hirose micro receptacle part number HR10A 10R 12P or the equivalent The recommended mating connector is the Hirose micro plug part number HR10A 10P 12S or the equivalent 60 Basler pilot Physical Interface 7 4 Cabling Reguirements 7 4 1 Ethernet Cables Use high quality Ethernet cables To avoid EMI the cables must be shielded Use of category 6 or category 7 cables with S STP shielding is strongly recommended As a general rule applications with longer cables or applications in harsh EMI conditions require higher category cables Either a straight through patch or a cross over Ethernet cable can be used to connect the camera directly to a GigE network adapter in a PC or to a network switch Close proximity to strong magnetic fields should be avoided 7 4 2 Standard Power and I O Cable Note The standard power and I O cable is intended for use if the camera is not connected to a PLC device If the camera is connected to a PLC device we recommend using a PLC power and I O cable rather than the standard power and I O cable You can use a PLC power and I O cable when the camera is not connected to a PLC device if power for the I O input is supp
211. rl Fig 23 Typical Input Circuit For more information about input line pin assignments and pin numbering see Section 7 2 on page 58 For more information about how to use an ExTrig signal to control acquisition start see Section 8 3 on page 80 For more information about configuring the input lines see Section 10 1 on page 133 68 Basler pilot Physical Interface 7 7 2 Output Lines 7 7 2 1 Voltage Requirements The following voltage requirements apply to the I O output VCC pin 10 of the 12 pin receptacle Voltage Significance lt 43 3 VDC The l O output may operate erratically 43 3 to 24 VDC Recommended operating voltage 30 0 VDC Absolute maximum the camera may be damaged when the absolute maximum is exceeded Table 9 Voltage Requirements for the I O Output VCC 7 7 2 2 Line Schematic The camera is eguipped with four physical output lines designated as Output Line 1 Output Line 2 Output Line 3 and Output Line 4 The output lines are accessed via the 12 pin receptacle on the back of the camera As shown in the I O schematic each output line is opto isolated See the previous section for the recommended operating voltage The absolute maximum voltage is 30 0 VDC The maximum current allowed through an output circuit is 100 mA A conducting transistor means a logical one and a non conducting transistor means a logical zero Figure 24 shows a typical circuit you can
212. rt To help you as guickly 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 the next two pages fill it out and fax the pages to your local dealer or to your nearest Basler support center Or you can send an e mail listing the reguested pieces of information and with the reguested files attached Our Basler technical support contact information is shown in the title section of this manual 204 The camera s product ID The camera s serial number Network adapter that you use with the camera Describe the problem in as much detail as possible If you need more space use an extra sheet of paper If known what s the cause of the problem When did the problem occur After start After a certain action e g a change of parameters While running Basler pilot Troubleshooting and Support 7 How often did does the problem o Once Every time occur Regularly when Occasionally when 8 How severe is the problem Camera can still be used Camera can be used after take this action Camera can no longer be used 9 Did your application ever run r Yes rf No without problems 10 Parameter set It is very important for Basler technical Support to get
213. rt Delay from Table 11 Debouncer Setting Total Start Delay 12 44 us 5 us Total Start Delay 17 44 us TrigRdy Signal i ExTrig Signal Exposure Start Delay Exposure Start Delay lt q Exposure Exposure Exposure E Frame N Frame N 1 Frame N 2 xposure at Frame Frame N Readout to the Image Buffer Frame N 1 Readout to the Image Buffer Readout p i Transmission Start Delay Pp Transmission Start Delay mi ET gt a Frame Frame N Transmission to Host PC Frame N 1 Transmission to Host PC Transmission Timing charts are not drawn to scale Fig 36 Exposure Start Controlled with an ExTrig Signal You can calculate the frame readout time by using this formula Frame Readout Time AOI Height x C4 us Co us Where the values for the constants C4 and C are from the table in Section 8 9 on page 98 and AOI height is the height of the acquired frames as determined by the AOI settings For more information about the AOI height see Section 11 5 on page 153 For more information about the averaging feature see Section 11 7 on page 160 You can calculate an approximate frame transmission time by using this formula erase Transmission Tine Payload Size Parameter Value Device Current Throughput Parameter Value 96 Basler pilot Image Acquisition Control Note that this is an approximate frame transmission time Due to the nature of the Ethernet network the transmiss
214. s transferred from the camera The features that add chunks to the acquired images are referred to as chunk features Before you can use any of the features that add chunks to the image you must make the chunk mode active Making the chunk mode active is described in the next section Basler pilot 183 Features 11 13 2Making the Chunk Mode Active and Enabling the Extended Data Stamp Before you can use any of the camera s chunk features the chunk mode must be made active Making the chunk mode active does two things It makes the Frame Counter the Time Stamp and the Line Status All chunk features available to be enabled It automatically enables the Extended Image Data chunk feature To make the chunk mode active Set the Chunk Mode Active parameter to true You can set the Chunk Mode Active parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera ChunkModeActive SetValue true Note that making the chunk mode inactive switches all chunk features off Also note that when you enable ChunkModeActive the PayloadType for the camera changes from Pylon PayloadType Image to Pylon PayloadType ChunkData For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Once t
215. s arrival at the camera and its transfer The duration of the delay will be determined by the debouncer value The following diagram illustrates how the debouncer filters out invalid input signals i e signals that are shorter than the debouncer value The diagram also illustrates how the debouncer delays a valid signal Unfiltered arriving signals AES l l l l l Debouncer debouncer value Transferred valid signal j I delay TIMING CHARTS ARE NOT DRAWN TO SCALE Fig 49 Filtering of Input Signals by the Debouncer The debouncer value is determined by the value of the Line Debouncer Time Abs parameter value The parameter is set in microseconds and can be set in a range from 0 to approximately 1 s Basler pilot 181 Features To set a debouncer Use the Line Selector to select the camera input line for which you want to set the debouncer input line1 or 2 Set the value of the Line Debouncer Time Abs parameter You can set the Line Selector and the value of the Line Debouncer Abs parameter from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Select the input line Camera LineSelector SetValue LineSelector Linel Set the parameter value to 100 microseconds Camera LineDebouncerTimeAbs SetValue 100 For detailed information about using the pylon API refer to the Basler p
216. s effective The 12 bits of effective pixel data fill from the least significant bit The four unused most significant bits are filled with zeros With the Bayer BG 16 the pixel data is not processed or interpolated in any way So for each pixel covered with a red lens you get 12 effective bits of red data For each pixel covered with a green lens you get 12 effective bits of green data And for each pixel covered with a blue lens you get 12 effective bits of blue data This type of pixel data is sometimes referred to as raw output The BG in the name Bayer BG 16 refers to the alignment of the colors in the Bayer filter to the pixels in the acguired images For even lines in the images pixel one will be blue pixel two will be green pixel three will be blue pixel four will be green etc For odd lines in the images pixel one will be green pixel two will be red pixel three will be green pixel four will be red etc The tables below describe how the data for the even lines and for the odd lines of a received frame will be ordered in the image buffer in your PC when the camera is set for Bayer BG 16 output Note that the data is placed in the image buffer in little endian format The following standards are used in the tables Pg the first pixel transmitted by the camera for a line P the last pixel transmitted by the camera for a line Bo the first byte of data for a line Bm the last byte of data for a line
217. s radio lectriques sp cifi es dans le R glement sur le brouillage radio lectrique Life Support Applications These products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Basler customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Basler for any damages resulting from such improper use or sale Warranty Note Do not open the housing of the camera The warranty becomes void if the housing is opened All material in this publication is subject to change without notice and is copyright Basler Vision Technologies 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 com Table of Contents Table of Contents 1 Specifications Requirements and Precautions 1 1 1 Models jan en AE Oe Re xax got Fee PO IESUS ER AUI ave e aga o ideji CE 1 1 2 G
218. send requests as set by the Maximum Number Resend Requests parameter has not yet been reached another resend request will be sent In this case the parameter defines the time separation between consecutive resend requests for a missing packet Packet Timeout The Packet Timeout parameter defines how long in milliseconds the performance driver will wait for the next expected packet before it sends a resend request to the camera This parameter ensures that resend requests are sent for missing packets near to the end of a frame In the event of a major interruption in the stream of packets the parameter will also ensure that resend requests are sent for missing packets that were detected to be missing immediately before the interruption Basler pilot 33 Basler Network Drivers and Parameters Threshold and Timeout Resend Mechanisms Combined Figure 16 illustrates the combined action of the threshold and the timeout resend mechanisms where the following assumptions are made All parameters set to default The frame includes 3000 packets Packet 1002 is missing within the stream of packets and has not been recovered Packets 2999 and 3000 are missing at the end of the stream of packets end of the frame The default values for the performance driver parameters will cause the threshold resend mechanism to become operative before the timeout resend mechanism This ensures maximum efficiency and that resend requests will be sent for all missi
219. sensor You can change the size and the position of an Auto Function AOI by changing the value of the Auto Function AOI s X Offset Y Offset Width and Height parameters The value of the X Offset parameter determines the starting column for the Auto Function AOI The value of the Y Offset parameter determines the starting line for the Auto Function AOI The value of the Width parameter determines the width of the Auto Function AOI The value of the Height parameter determines the height of the Auto Function AOI When you are setting an Auto Function AOI you must follow these guidelines The sum of the X Offset setting plus the Width setting must not exceed the width of the camera s sensor For example on the piA640 21gm0 the sum of the X Offset setting plus the Width setting must not exceed 648 The sum of the Y Offset setting plus the Height setting must not exceed the height of the camera s sensor For example on the piA640 210gm the sum of the Y Offset setting plus the Height setting must not exceed 488 The X Offset Y Offset Width and Height parameters can be set in increments of 1 and Height parameters for an Auto Function AOI in increments of 2 to make the Auto Function AOI match the Bayer filter pattern of the sensor For example you should set the X Offset parameter to 0 2 4 6 8 etc D On color cameras we strongly recommend setting the X Offset Y Offset Width Function AOI refer to the physical columns and l
220. single ExTrig signal transition follow the sequence below The sequence assumes that you have set the camera for rising edge triggering and for the timed exposure mode 1 Access the camera s API and set the exposure time parameter for your desired exposure time 2 Setthe value of the camera s Acquisition Mode parameter to Single Frame Execute an Acquisition Start command This prepares the camera to react to a single trigger In single frame mode executing the start command prepares the camera to react to a single trigger 4 Checkthe state of the camera s Trigger Ready signal a If the TrigRdy signal is high you can transition the ExTrig signal when desired b If the TrigRdy signal is low wait until TrigRdy goes high and then transition the ExTrig signal when desired 5 When the ExTrig signal transitions from low to high image acquisition will start Exposure will continue for the length of time you specified in step 1 6 Atthe end of the specified exposure time readout and transmission of the acquired image will take place 7 At this point the camera would ignore any additional ExTrig signal transitions To acquire another image you must a Repeat step 3 to prepare the camera to react to a hardware trigger transition b Repeat step 4 to check if the camera is ready to acquire an image c Repeat step 5 to begin image acquisition You can set the exposure time and the Acquisition Mode parameter values from within your
221. sor Decreasing the gain decreases the slope of the response curve and results in a lower gray value for a given amount of sensor output Increasing the gain is useful when at your brightest exposure a gray value lower than 255 in modes that output 8 bits per pixel or 0 4095 in modes that output 12 bits per pixels 0 25 50 100 is reached For example if you found that at your brightest exposure the gray values output by the camera were no higher than 127 in an 8 bit mode you could increase the gain to 6 dB an amplification factor of 2 and thus reach gray values of 254 Sensor Output Signal Fig 41 Gain in dB As mentioned in the Functional Description section of this manual for readout purposes the sensor used in the camera is divided into two halves As a result of this design there are three gain adjustments available Gain Raw All Gain Raw Tap 1 and Gain Raw Tap 2 Gain Raw All is a global adjustment i e its setting affects both halves of the sensor Gain Raw Tap 1 sets an additional amount of gain for the right half of the sensor The total gain for the right half of the sensor will be the sum of the Gain Raw All value plus the Gain Raw Tap 1 value Gain Raw Tap 2 sets an additional amount of gain for the left half of the sensor The total gain for the left half of the sensor will be the sum of the Gain Raw All value plus the Gain Raw Tap 2 value For each camera model the minimum and maximum allowed Gain
222. ster The left horizontal shift register shifts out charges from left to right that is pixel 1 pixel 2 pixel 3 and so on The right horizontal shift register shifts out charges from right to left that is pixel n pixel n 1 pixel n 2 and so on where n is the last pixel in a line As the charges move out of the horizontal shift registers they are converted to voltages proportional to the size of each charge Each voltage is then amplified by a Variable Gain Control VGC and digitized by an Analog to Digital converter ADC For optimal digitization gain and black level can be adjusted by setting camera parameters After each voltage has been amplified and digitized it passes through an FPGA and into an image buffer As the pixel data passes through the FPGA it is reordered so that the pixel data for each line will be transmitted from the camera in ascending order from pixel 1 through pixel n All shifting is clocked according to the camera s internal data rate Shifting continues in a line by line fashion until all image data has been read out of the sensor The pixel data leaves the image buffer and passes back through the FPGA to an Ethernet controller where it is assembled into data packets The packets are then transmitted via an Ethernet network to a network adapter in the host PC The Ethernet controller also handles transmission and receipt of control data such as changes to the camera s parameters Basler pilot 53 Camera Function
223. t image Camera TestImageSelector SetValue TestImageSelector Testimagel For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 194 Basler pilot Features Test Image 1 Fixed Diagonal Gray Gradient 8 bit The 8 bit fixed diagonal gray gradient test image is best suited for use when the camera is set for monochrome 8 bit output The test image consists of fixed diagonal gray gradients ranging from 0 to 255 If the camera is set for 8 bit output and is operating at full resolution test image one will look similar to Figure 52 The mathematical expression for this test image Gray Value column number row number MOD 256 4 Fig 52 Test Image One Test Image 2 Moving Diagonal Gray Gradient 8 bit The 8 bit moving diagonal gray gradient test image is similar to test image 1 but it is not stationary The image moves by one pixel from right to left whenever a new image acguisition is initiated The test pattern uses a counter that increments by one for each new image acquisition The mathematical expression for this test image is Gray Value column number row number counter MOD 256 Test Image 3 Moving Diagonal Gray Gradient 12 bit The 12 bit moving diagonal gray gradient test
224. t to single frame and to continuous and when the camera ac guires images continuously free run or when triggers are used Each individual image must be triggered separately Accordingly for each averaged image the num ber of reguired triggers will be egual to the set number of individual images used for averaging When the camera s acguisition mode is set to single frame a single averaged image will be ob tained The averaged image will be based on the set number of individual images The number of triggers necessary for each averaged image will be egual to the set number of individual images For example if the acguisition mode is set to single frame and the number of individual images used for averaging is set to three three triggers are needed to obtain the averaged image Note Make sure that for each averaged image the number of triggers is equal to the set number of individual images used for averaging Note Make sure the object being imaged does not move while the sequence of individual images is acquired Otherwise the object will appear blurred in the averaged image Note Although the camera allows changing the settings for all features while a sequence of individual images is acquired we do not recommend to do so The new settings would be applied as soon as they are set Accordingly the averaged image would be based on individual images acquired with different feature settings and poor quality for the averaged image
225. te balance of the image For information on the white balance feature see Section 11 3 on page 151 To use the balance white auto function carry out the following steps 1 Select Auto Function AOl2 2 Setthe postion and size of Auto Function AOI2 3 Enable the balance white auto function by setting it to once You can carry out steps 1 to 3 from within your application software by using the pylon API The following code snippet illustrates using the API to use the auto function Selecting and setting Auto Function AOI2 See the Auto Function AOI section above Enabling the balance white auto function and selecting the once mode of operation Set AOI for white balance statistics Currently AutoFunctionAOISelector AOI2 is predefined to gather white balance statistics Set position and size of the auto function AOI Camera AutoFunctionAOISelector SetValue AutoFunctionAOISelector AOI2 Camera AutoFunctionAOIOffsetX SetValue O Camera AutoFunctionAOIOffsetY SetValue O Camera AutoFunctionAOIWidth SetValue Camera AutoFunctionAOIWidth GetMax Camera AutoFunctionAOIHeight SetValue Camera AutoFunctionAOIHeight GetMax Set mode of operation for gain auto function Camera BalanceWhiteAuto SetValue BalanceWhiteAuto Once 178 Basler pilot Features For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use t
226. te in the buffer Bm the last byte in the buffer Byte Data Bo Low byte of brightness value for Po B4 High byte of brightness value for Po Bo Low byte of brightness value for P B3 High byte of brightness value for P4 B4 Low byte of brightness value for P Bs High byte of brightness value for P Bg Low byte of brightness value for P4 B High byte of brightness value for P4 Bg Low byte of brightness value for P4 Bg High byte of brightness value for P4 Bm 7 Low byte of brightness value for P4 Bm 6 High byte of brightness value for P 5 Bm 5 Low byte of brightness value for P gt Bm 4 High byte of brightness value for P gt Bm 3 Low byte of brightness value for Ph 4 Bm 2 High byte of brightness value for P Bm 1 Low byte of brightness value for P Bm High byte of brightness value for P 106 Basler pilot Pixel Data Formats When the camera is set for Mono 16 the pixel data output is 16 bit data of the unsigned short little endian type The available range of data values and the corresponding indicated signal levels are as shown in the table below Note that for 16 bit data you might expect a value range from 0x0000 to OXFFFF However with the camera set for Mono16 only 12 bits of the 16 bits transmitted are effective Therefore the highest data value you will see is OXOFFF indicating a signal level of 4095 This D
227. test image is available on color cameras only and is designed for use when the camera is set for YUV output As shown in Figure 53 test image six consists of diagonal color gradients The image moves by one pixel from right to left whenever you signal the camera to capture a new image To display this test pattern on a monitor you must convert the YUV output from the camera to 8 bit RGB Fig 53 Test Image Six 196 Basler pilot Features 11 16 Device Information Parameters Each camera includes a set of device information parameters These parameters provide some basic information about the camera The device information parameters include Device Vendor Name read only contains the name of the camera s vendor This string will always indicate Basler as the vendor Device Model Name read only contains the model name of the camera for example piA640 210gm Device Manufacturer Info read only can contain some information about the camera manufacturer This string usually indicates none Device Version read only contains the device version number for the camera Firmware Version read only contains the version of the firmware in the camera Device ID read only contains the serial number of the camera Device User ID read write is used to assign a user defined name to a device This name will be displayed in the Basler pylon Viewer and the Basler pylon IP Configuration Tool The name will also be visibl
228. the settings from the current active set to a reserved area in the camera s non volatile memory A configuration set saved in the non volatile memory is not lost when the camera is reset or switched off There are three reserved areas in the camera s non volatile memory available for saving configuration sets A configuration set saved in a reserved area is commonly referred to as a user configuration set or user set for short The three available user sets are called User Set 1 User Set 2 and User Set 3 Note The settings for frame transmission delay inter packet delay and the luminance lookup table are not saved in the user sets and are lost when the camera is reset or switched off If used these settings must be set again after each camera reset or restart Basler pilot 199 Features Default Startup Set You can select the default configuration set or one of the user configuration sets stored in the camera s non volatile memory to be the default startup set The configuration set that you designate as the default startup set will be loaded into the active set whenever the camera starts up at power on or after a reset Instructions for selecting the default startup set appear on the next page 11 17 1 Saving Configuration Sets Saving the current active set into the camera s non volatile memory is a three step process Make changes to the camera s settings until the camera is operating in a manner that you would like to save
229. the area of interest The value of the Y Offset parameter determines the starting line for the area of interest The value of the Width parameter determines the width of the area of interest The value of the Height parameter determines the height of the area of interest When you are setting the camera s area of interest you must follow these guidelines on all camera models The sum of the X Offset setting plus the Width setting must not exceed the width of the camera s sensor For example on the piA640 210gm the sum of the X Offset setting plus the Width setting must not exceed 648 The sum of the Y Offset setting plus the Height setting must not exceed the height of the camera s sensor For example on the piA640 210gm the sum of the Y Offset setting plus the Height setting must not exceed 488 On monochrome cameras The X Offset Y Offset Width and Height parameters can be set in increments of 1 On color cameras The X Offset Y Offset Width and Height parameters can be set in increments of 2 and they must be set to an even number For example the X Offset parameter can be set to 0 2 4 6 8 etc Note Normally the X Offset Y Offset Width and Height parameter settings refer to the physical columns and lines in the sensor But if binning is enabled these parameters are set in terms of virtual columns and lines For more information see Section 11 6 on page 156 154 Basler pilot Features You can set the X Offset
230. the parameter is greater than zero but less than the maximum allowed the trigger ready will go high at the rate specified by the parameter value For example if the parameter is set to 10 the trigger ready signal will go high 10 times per second If the value of the parameter is greater than the maximum allowed acquisition frame rate with the current camera settings the trigger ready signal will work as described above and will go high at a point that represents the maximum acquisition frame rate allowed Note If you attempt to start an image acquisition when the trigger ready signal is low the camera will simply ignore the attempt The trigger ready signal will only be available when hardware triggering is enabled By default the trigger ready signal is assigned to physical output line 2 on the camera However the assignment of the trigger signal to a physical output line can be changed For more information about changing the assignment of camera output signals to physical output lines see Section 10 2 1 on page 135 For more information about the electrical characteristics of the camera s output lines see Section 7 7 2 on page 69 Basler pilot 93 Image Acguisition Control 8 7 Exposure Active Signal The camera s exposure active ExpAc signal goes high when the exposure time for each image acquisition begins and goes low when the exposure time ends as shown in Figure 35 This signal can be used as a flash trigger and
231. timer Whenever the filter driver detects the leader for a frame the frame retention timer starts The timer resets after each packet in the frame is received and will timeout after the last packet is received If the timer times out at any time before the last packet is received the buffer for the frame will be released and will be indicated as an unsuccessful grab You can set the filer driver parameter values from within your application software by using the pylon API The following code snippet illustrates using the API to read and write the parameter values Enable Resend Camera t StreamGrabber t StreamGrabber Camera GetStreamGrabber 0 StreamGrabber EnableResend SetValue false disable resends Packet Timeout FrameRetention Camera t StreamGrabber t StreamGrabber Camera GetStreamGrabber 0 StreamGrabber PacketTimeout SetValue 40 StreamGrabber FrameRetention SetValue 200 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference AW000131xx000 You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 28 Basler pilot Basler Network Drivers and Parameters 4 2 The Basler Performance Driver The Basler performance driver is a hardware specific GigE Vision network driver compatible with network adapters that use specific Intel chipsets
232. to each acquired image containing a CRC checksum calculated using the Z modem method As shown in Figure 6 2 the checksum is calculated using all of the image data and all of the appended chunks except for the checksum itself The CRC chunk is always the last chunk appended to the image data CRC checksum is calculated on this data Image Data ChunkX ChunkY Chunk including any required padding Data Data CRC Fig 51 CRC Checksum Note The chunk mode must be active before you can enable the CRC feature or any of the other chunk feature Making the chunk mode inactive disables all chunk features To enable the CRC checksum chunk Use the Chunk Selector to select the CRC chunk Use the Chunk Enable parameter to set the value of the chunk to true Once the CRC chunk is enabled the camera will add a CRC chunk to each acquired image To retrieve CRC information from a chunk appended to an image that has been received by your PC you must first run the image and its appended chunks through the chunk parser included in the pylon API Once the chunk parser has been used you can retrieve the CRC information Note that the CRC information provided by the chunk parser is not the CRC checksum itself Rather it is a true false result When the image and appended chunks pass through the parser the parser calculates a CRC checksum based on the received image and chunk information It then compares the calculated CRC checksum with
233. to enable inversion on the selected line and to false to disable inversion You can set the Line Selector and the Line Inverter parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Enable the inverter on output line 1 Camera LineSelector SetValue LineSelector_Outl Camera LineInverter SetValue true For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 137 I O Control 10 2 4 Working with Timers The camera has four timer output signals available Timer 1 Timer 2 Timer 3 and Timer 4 As shown in Figure 39 each timer works as follows A trigger source event occurs that starts the timer A delay period begins to expire When the delay expires the timer signal goes high and a duration period begins to expire When the duration period expires the timer signal goes low Duration lt lt lt lt lt GN G Trigger source event occurs Fig 39 Timer Signal Currently the only trigger source event available to start the timer is exposure active In other words you can use exposure start to trigger the start of a timer
234. tput The following standards are used in the table Po the first pixel transmitted by the camera P the last pixel transmitted by the camera Bo the first byte in the buffer Bm the last byte in the buffer Byte Data Bo U value for Po B Y value for Po Bo V Value for Po B3 Y value for P4 B4 U value for P Bs Y value for Po Bg V Value for Ps B Y value for P5 Bg U value for P Bg Y value for P4 Bio V Value for P B11 Y value for P5 Bm 7 U value for Ph 3 Bm 6 Y value for P 5 Bm 5 V Value for P s Bm 4 Y value for Pj Bm 3 U value for P 4 Bm 2 Y value for Py Bma4 V Value for Py Bm Y value for Ph 126 Basler pilot Pixel Data Formats When the camera is set for YUV 4 2 2 Packed output the pixel data output for the Y component is 8 bit data of the unsigned char type The range of data values for the Y component and the corresponding indicated signal levels are shown below This Data Value Indicates This Signal Level Hexadecimal Decimal OxFF 255 OxFE 254 0x01 1 0x00 0 The pixel data output for the U component or the V component is 8 bit data of the straight binary type The range of data values for a U or a V component and the corresponding indicated signal levels are shown below This Data Value Indicates This Signal Level Hexadecim
235. tware by using the pylon API The following code snippet illustrates using the API to set the parameter values Enable vertical binning by 2 Camera BinningVertical SetValue 2 Enable horizontal binning by 4 Camera BinningHorizontal SetValue 4 Disable vertical and horizontal binning Camera BinningVertical SetValue 1 Camera BinningHorizontal SetValue 1 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters Basler pilot 157 Features 11 6 1 Considerations When Using Binning Increased Response to Light Using binning can greatly increase the camera s response to light When binning is enabled ac quired images may look overexposed If this is the case you can reduce the lens aperture reduce the intensity of your illumination reduce the camera s exposure time setting or reduce the camera s gain setting Reduced Resolution Using binning effectively reduces the resolution of the camera s imaging sensor For example the sensor in the piA640 210gm camera normally has a resolution of 648 H x 488 V If you set this camera to use horizontal binning by 3 and vertical binning by 3 the effective resolution of the sensor is reduced to 216 H by 162 V Note that the 488 pixel vertical dimension of the sensor was not evenly divisible by 3 so we rounded do
236. uded in the pylon API Once the chunk parser has been used you can retrieve the line status all information by doing the following Read the value of the Chunk Line Status All parameter You can set the Chunk Selector and Chunk Enable parameter value from within your application software by using the pylon API You can also run the parser and retrieve the chunk data The following code snippets illustrate using the API to activate the chunk mode enable the line status all chunk run the parser and retrieve the line status all chunk data make chunk mode active and enable Line Status All chunk Camera ChunkModeActive SetValue true Camera ChunkSelector SetValue ChunkSelector LineStatusAll Camera ChunkEnable SetValue true retrieve data from the chunk IChunkParser amp ChunkParser Camera CreateChunkParser GrabResult Result StreamGrabber RetrieveResult Result ChunkParser AttachBuffer unsigned char Result Buffer Result GetPayloadSize int64 t lineStatusAll Camera ChunkLineStatusAll GetValue For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 Basler pilot 189 Features 11 13 6CRC Checksum The CRC Cyclic Redundancy Check Checksum feature adds a chunk
237. uisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period but no resends are needed The 5 resends available via the bandwidth reserve are not needed so they are added to the accumulator pool and they bring the pool up to 14 9 You trigger image acquisition and during this time period the camera acquires and transmits a frame The bandwidth reserve setting would allow 5 resends during this time period and 1 resend is needed The 1 resend needed is taken from the resends available via the bandwidth reserve The other 4 resends available via the bandwidth reserve are not needed so they are added to the accumulator pool Note that with the current settings the accumulator pool can only hold a maximum of 15 resends So the pool is now 15 Frame Max Jitter read only If the Bandwidth Reserve Accumulation parameter is set to a high value the camera can experience a large burst of data resends during transmission of a frame This burst of resends will delay the start of transmission of the next acquired frame The Frame Max Jitter parameter indicates the maximum time in ticks one tick 8 ns that the next frame transmission could be delayed due to a burst of resends Device Max Throughput read only Indicates the maximum amount of data in bytes per second that the camera could generate given its current settings and an ideal world This paramet
238. use to monitor an output line with a voltage signal The circuit in Figure 24 is monitoring output line 1 Q BC847BS Out 1 Ctrl Your Gnd Voltage V O Out 1 Output OAONOaRWD Signal to You VO Out VCC Camera 13310 424 12 Pin Your Gnd Receptacle Fig 24 Typical Voltage Output Circuit Basler pilot 69 Physical Interface Figure 25 shows a typical circuit you can use to monitor an output line with an LED or an opto coupler In this example the voltage for the external circuit is 24 VDC Current in the circuit is limited by an external resistor The circuit in Figure 25 is monitoring output line 1 Q Out 1 Ctrl BC847BS Your Gnd VO Out 1 ONoOoaRWDN VO Out VCC Camera 424 VDC 12 Pin Your Gnd Receptacle Fig 25 Typical LED Output Signal at 24 VDC for the External Circuit Example By default the camera s exposure active ExpAc signal is assigned to Output Line 1 The exposure active signal indicates when exposure is taking place By default the camera s trigger ready TrigRdy is assigned to Output Line 2 The trigger ready signal goes high to indicate the earliest point at which exposure start for the next frame can be triggered The assignment of camera output signals to physical output lines can be changed by the user For more information about output line pin assignments and pin numbering see Section 7 2 on page 58 For more information about the exp
239. ut from the camera The available pixel formats depend on the camera model and whether the camera is monochrome or color Table 12 lists the pixel formats available on each monochrome camera model and Table 13 lists the pixel formats available on each color camera model Setting the Pixel Data Format Mono Camera Model Mono 8 Mono 16 Mono 12 Packed YUV 4 2 2 Packed YUV 4 2 2 YUYV Packed piA640 210gm piA1000 48gm piA1600 35gm piA1900 32gm piA2400 12gm piA2400 17gm Table 12 Pixel Formats Available on Monochrome Cameras format available Color Camera Mono 8 Bayer Bayer Bayer Bayer Bayer Bayer YUV YUV Model GB8 BG8 GB16 BG16 GB12 BG 12 4 2 2 4 2 2 Packed Packed Packed YUYV Packed piA640 210gc e e e e e e piA1000 48gc e e e e e e piA1600 35gc e e e e e piA1900 32gc e e e e e o piA2400 12gc e o e e e e piA2400 17gc 9 e 9 Table 13 Pixel Formats Available on Color Cameras format available Basler pilot 103 Pixel Data Formats Details of the monochrome formats are described in Section 9 2 on page 105 and details of the color formats are described in Section 9 3 on page 111 You can set the Pixel Format parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the parameter value Camera
240. ute value You can use whichever method you prefer to set the duration time Setting the Duration with Raw Values When the duration time for a timer is set using raw values the duration time will be determined by a combination of two elements The first element is the value of the Timer Duration Raw parameter and the second element is the Timer Duration Time Base The duration time is the product of these two elements Duration Time lt Timer Duration Raw Parameter Value x Timer Duration Time Base By default the Timer Duration Time Base is fixed at 1 us Typically the duration time is adjusted by setting only the Timer Duration Raw parameter value 140 Basler pilot I OControl The Timer Duration Raw parameter value can range from 1 to 4095 So if the value is set to 100 for example the timer duration will be 100 x 1 us or 100 us To set the duration for a timer Use the Timer Selector to select a timer Set the value of the Timer Duration Raw parameter You can set the Timer Selector and the Timer Duration Raw parameter value from within your application software by using the pylon API The following code snippet illustrates using the API to set the selector and the parameter value Camera TimerSelector SetValue TimerSelector Timerl Camera TimerDurationRaw SetValue 100 For detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference You can also use t
241. value for Py Bm 5 Low byte of green value for P Bm 4 High byte of blue value for P gt Bm 4 High byte of green value for P gt Bn 3 Low byte of green value for Py Bm 3 Low byte of red value for Py Bm 2 High byte of green value for Py Bm 2 High byte of red value for P Bm 1 Low byte of blue value for P Bm 1 Low byte of green value for Ph Bm High byte of blue value for Ph Bm High byte of green value for Ph When the camera is set for Bayer GB 16 the pixel data output is 16 bit data of the unsigned short little endian type The available range of data values and the corresponding indicated signal levels are as shown in the table below Note that for 16 bit data you might expect a value range from 0x0000 to OxFFFF However with the camera set for Bayer GB 16 only 12 bits of the 16 bits transmitted are effective Therefore the highest data value you will see is OXOFFF indicating a signal level of 4095 This Data Value Indicates This Signal Level Hexadecimal Decimal OxOFFF 4095 OxOFFE 4094 0x0001 1 0x0000 0 118 D Note When a camera that is set for Bayer GB 16 has only 12 bits effective the leader of transmitted frames will indicate Bayer GB 12 as the pixel format Basler pilot Pixel Data Formats 9 3 5 Bayer BG 16 Format Equivalent to DCAM Raw 16 When a color camera is set for the Bayer BG 16 pixel data format it outputs 16 bits of data per pixel with 12 bit
242. value will be automatically adjusted For example the gain auto function allows setting an average gray value for the image as a target value and setting a lower and an upper limit for the gain parameter value Each auto function uses the pixel data from an individual Auto Function Area of Interest Auto Function AOI for automatically adjusting a parameter value and accordingly for controlling the related image property Some auto functions share a single Auto Function AOI Generally the different auto functions can operate at the same time For exceptions see the sections below describing the individual auto functions Note that auto functions do not affect the camera s frame rate pertinent camera settings and with the general circumstances used for capturing D A target value for an image property can only be reached if it is in accord with all images Otherwise the target value will only be approached For example with a short exposure time insufficient illumination and a low setting of the upper limit for the gain parameter value the Gain Auto function may not be able to achieve the set target average gray value for the image only An auto function uses the binned pixel data and controls the image property You can use an auto function when also using binning monochrome cameras of the binned image For more information about binning see Section 11 6 on page 156 Basler pilot 167 Features
243. vels required at the camera s l O input see Table 5 Voltage Significance 0 to 24 VDC Recommended operating voltage 0 to 8 4 VDC The voltage indicates a logical 0 48 4 to 410 4 VDC Region where the transition threshold occurs the logical state is not defined in this region 410 4 VDC The voltage indicates a logical 1 430 0 VDC Absolute maximum the camera may be damaged when the absolute maximum is exceeded Table 8 Voltage Requirements for the I O Input When Using a PLC Power and I O Cable Basler pilot 67 Physical Interface 7 7 1 2 Line Schematic The camera is equipped with two physical input lines designated as Input Line 1 and Input Line 2 The input lines are accessed via the 12 pin receptacle on the back of the camera As shown in the I O line schematic each input line is opto isolated See the previous section for input voltages and their significances The absolute maximum input voltage is 30 0 VDC The current draw for each input line is between 5 and 15 mA Figure 23 shows an example of a typical circuit you can use to input a signal into the camera By default Input Line 1 is assigned to receive an external hardware trigger ExTrig signal that can be used to control the start of image acquisition Your 12 Pin Gnd Receptacle low t Camera 2 30 VDC m O ln 1 3 Absolute BF545C 4 Max 5 6 7 3 3 V 8 Your O Gnd In 1 Ct
244. vent overrun event and place it in the gueue 4 As soon as transmission time is available an event message containing the event overrun event will be transmitted to the PC The event overrun event is simply a warning that events are being dropped The notification contains no specific information about how many or which events have been dropped Setting Your System for Event Reporting To use event reporting two conditions must be met Event reporting must be enabled in the camera A pylon event grabber must be created within your application assuming that you are using the pylon API The main purpose of the pylon event grabber is to receive incoming event messages Another purpose of the pylon event grabber is to handle event message acknowledgement The values for the event message timeout and the event message retry count are set via the event grabber An event adapter object of the event grabber can be used to parse the information contained within each event message You can enable event reporting create a pylon event grabber and use the event adapter object from within your application software by using the pylon API The pylon software development kit includes a Camera Events code sample that illustrates the entire process For more detailed information about using the pylon API refer to the Basler pylon Programmer s Guide and API Reference Basler pilot 193 Features 11 15 Test Images All cameras include the
245. wn to the nearest whole number Possible Image Distortion Objects will only appear undistorted in the image if the numers of binned lines and columns are equal With all other combinations the imaged objects will appear distorted If for example vertical binning by 2 is combined with horizontal binning by 4 the widths of the imaged objects will appear shrunk by a factor of 2 compared to the heights If you want to preserve the aspect ratios of imaged objects when using binning you must use vertical and horizontal binning where equal numbers of lines and columns are binned e g vertical binning by 3 combined with horizontal binning by 3 Binning s Effect on AOI Settings When you have the camera set to use binning keep in mind that the settings for your area of interest AOI will refer to the binned lines and columns in the sensor and not to the physical lines in the sensor as they normally would Another way to think of this is by using the concept of a virtual sen sor For example assume that you are using a piA640 210gm camera set for 3 by 3 binning as described above In this case you would act as if you were actually working with a 216 column by 162 line sensor when setting your AOI parameters The maximum AOI width would be 216 and the maximum AOI height would be 162 When you set the X Offset and the Width for the AOI you will be setting these values in terms of virtual sensor columns And when you set the Y Offset and the Height
246. wo common ways for the camera to operate with non overlapped exposure and with overlapped exposure In the non overlapped mode of operation each time an image is acquired the camera completes the entire exposure readout process before acquisition of the next image is started This situation is illustrated in Figure 32 Image Acquisition N Image Acquisition N 1 Image Acquisition N 2 Exposure Readout Exposure Readout Exposure Readout Time Fig 32 Non overlapped Exposure While operating in a non overlapped fashion is perfectly normal and is appropriate for many situations it is not the most efficient way to operate the camera in terms of acquisition frame rate On this camera however it is allowable to begin exposing a new image while a previously acquired image is being read out This situation is illustrated in Figure 33 and is known as operating the camera with overlapped exposure As you can see running the camera with readout and exposure overlapped can allow higher acquisition frame rates because the camera is performing two processes at once Image Acquisition N Exposure Readout Image Acquisition N 1 Exposure Readout Image Acquisition N 2 Exposure Readout Image Acquisition N 3 Exposure Readout Time Fig 33 Overlapped Exposure 90 Basler pilot Image Acquisition Control Determining whether your camera is operating with overlapped or non
247. ylon Programmer s Guide and API Reference You can also use the Basler pylon Viewer application to easily set the parameters For more information about the pylon Viewer see Section 3 1 on page 25 182 Basler pilot Features 11 13 Chunk Features This section provides detailed information about the chunk features available on each camera 11 13 1 What Are Chunk Features In most cases enabling a camera feature will simply change the behavior of the camera The Test Image feature is a good example of this type of camera feature When the Test Image feature is enabled the camera outputs a test image rather than a captured image This type of feature is referred to as a standard feature When certain camera features are enabled the camera actually develops some sort of information about each image that it acquires In these cases the information is added to each image as a trailing data chunk when the image is transferred to the host PC Examples of this type of camera feature are the Frame Counter feature and the Time Stamp feature When the Frame Counter feature is enabled for example after an image is captured the camera checks a counter that tracks the number of images acquired and develops a frame counter stamp for the image And if the Time Stamp feature is enabled the camera creates a time stamp for the image The frame counter stamp and the time stamp would be added as chunks of trailing data to each image as the image i
Download Pdf Manuals
Related Search
Related Contents
(FC4A) Series PLCs ACER®nt 13-12-12 Product User Guide EN SF-2517 Waffle maker Instruction for use SR SF Operating Instructions Samsung Galaxy GRAND Prime 用户手册 説明書 - スリック User`s Manual - Full Compass MーTSUBーSHー 砂 Bell Aliant PC Phone User Guide Copyright © All rights reserved.
Failed to retrieve file