Home
        7.3.3 Bayer BG 12 Format
         Contents
1.                                                                                                                                                        Column  0123 4 5 67 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30  Row 0  1 L   a    Y 3  Offset 4 i  5 7  A 6  7 EEE  8 E E  9 H H N  Height    EEN IS  11 mH  12           13 a a The camera  i will only  15 transmit the  16 pixel data  17 from this  18 i area  19 L  I LI 1 La                Ne X Offset        gt     Width       Fig  36  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 effects the maximum allowed frame rate   See Section 6 6 on page 67     Basler ace 119    Standard Features    Setting the AOI    By default  the AOI is setto 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 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  
2.                                                                                                                                       CCD Sensor  Vert  Vert  Vert  Vert   RES Pixels Bed Pixels zu Pixels zh Pixels  je             y  je          y  a       je            y      y je ES  ADC VGC    Horizontal             ___              ___  shift Register             Fig  7  CCD Sensor Architecture         ga      60 MB ExFrameStartTrig    Image  Buffer ExpActive            FrameTrigWait    Ethernet Ethernet  VGC  Controller Image Data Network    and  Control Data    Control    Micro   Controller Control  Data          Control   AOI  Gain  Black Level    Fig  8  Camera Block Diagram    22 Basler ace    Physical Interface    5 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     5 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   Since the camera is Power over Ethernet capable  the jack can also be used to provide power  to the camera     A 6 pin receptacle used to provide access to the camera   s I O lines and to provide power to the  camera  if PoE is not used      The drawing below shows the location of the two c
3.                         2  output line   configuring ai a i 96   electrical characteristics                      38   ID Verter   oec a 98   voltage requirements                           38  output lines   response time ieee eeen 40  overlapped exposure                           s 56  overtriggering the camera                         59  P  packet size   Camera  ure oae 205   network adapter                                 205   network switch                         ssssssse 205  packet size parameter                             195  packet timeout parameter                184  189  parameter Selice araia 157  parameter sets  SAVING                            159  parameters loaded at startup                  161  payload size parameter                           195  performance driver                            sssse 183  pin assignments    24  pixel data formats                       sssssusse 71  pixel format parameter                               71   215    Index    pixel formats    Bayer BG 12 packed                           85  Bayer BG 16                ssseesssuss 83  Bayer BG 8               ssssssseesess 81  mono 12    i veeeeee ss ta reae nene aote rt ree 74  mono 12 packed          2  eee 76  MONO aine rici toa n La RR 72 92  YUV 422  YUYV  packed              78  90  YUV 422 packed                            78  87  plxel SZE i c e egeat ie 2  pixel transmission sequence                      94  PLC power and I O cable                     27  29  voltage req
4.                      sssessusssses 51  exposure modes                   ssesseeeee 50  exposure overlap time max abs  parameler       efi tete bes 51  63  exposure start delay                                   65  exposure time   maximum possible                               54   minimum allowed                                 54  extended image data chunk                     164  external trigger signal   controlling exposure with                     49   min high low time                                 49  214    F  factory setup  ooooooccccccccnoncncccnocccnnnos  157  158  auto functions factory setup              157  high gain factory setup                      157  standard factory setup                      157  filter driven sretan e 183  frame counter chunk                         ssse 166  VESET areata a E A T 167  frame rate  and AOI SiZB coooocccccccnococccccccicnannnconin  ns 67  controlling with a hardware trigger      49  max allowed                          sssesessssss 67  frame readout time                           sssuee 65  frame retention parameter                       184  frame transmission delay parameter       196  frame transmission time                            65  frame trigger wait signal                      51  59  free TUM paute enden ide e 43  functional description                                 21  G  gain  SONO ien 108  galri autQ   2i eee ooo dn e ea ees 140  gamma correction    eeen 132  H  heartbeat timeout parameter              
5.                  65  explained                            sees  35  CCCII 36  signal delay                          sssssssssss 35  default configuration set                          157  device current throughput parameter      200    213    Index    device firmware version parameter         155  device ID parameter                                155  device manufacturer info parameter        155  device max throughput parameter           199  device model name parameter                155  device scan type parameter                     155  device user ID parameter                        155  device vendor name parameter               155  device version parameter                        155  digital shift    112  dimensions                        eseeeeeeeen eene 2  disable parameter limits   explained                               eeeeseeee 147  drivers  network                        eeeeeese 183  dust ossi es epo netur aedes 13  E  electromagnetic interference                      11  electrostatic discharge                               11  EM ans topa 11  enable resend parameter                184  186  environmental requirements                      12  ESD dada a aE falda nner sare 11  event reporting         occccccccnncccnnccnnnnannnnnnos 149  exposure   controlling with an ExTrig signal          49   overlapped re 56  exposure active signal                               55  exposure auto                   seeeee 142  exposure mode   UM et RS 50   trigger width    
6.                 0x01 1  0x00 0  Basler ace    93    Pixel Data Formats    7 4 Pixel Transmission Sequence    For each captured image  pixel data is transmitted from the camera in the following sequence     Row y Col o  Row y Col 4  Row y Col 2    ROW Col m2  Row y Col m1  Row     Col m  Row 4 Col o  Row 4 Col 4  Row 4 Col  gt     Row  Col m 2  Row 4 Col m 1    Row Col m  Row 2 Col q  Row 2 Col 4  Row 2 Col 2    ROW Col m2  Row 2 Colm 4  Row 2 Col m  Row n 2 Colo  ROWp2Coly  Row p 2 Colo    Row p 2 COl m 2  Row p 2 COl p 4  Row p 2 Col m  Row p 1 Col y  Row p 4 Col 4  Row p 14 Colo    Row p 4 COl m7  Row p 1 Colm4  Row p 4 Colm  Row   Col q  Row 4 Col 4  Row   Col  gt     Row  Col m 2  Row   Col m 1  Row  Col m    Where Row y Col y is the upper left corner of the sensor  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     94 Basler ace    1 O Control    8 I O Control    This section describes how to configure the camera   s physical input line and physical output line  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 5 7 on page 32     8 1 Configuring the Input Line    8 1 1 Assigning the Input Line to Receive a  Hardware Trigger Sign
7.                 sess 22    Basler ace    Index    C  cables  Ethernet                  sssssseeseeee 27  power and I O  PLC                      27  29  power and I O  standarad                     27  camera power requirements                  2  30  chunk dynamic range max  A nee s 165  chunk dynamic range min  parameter    eei eg 165  chunk enable  parameter                166  169  171  174  176  chunk frame counter parameter              166  chunk height parameter                           165  chunk line status all parameter                174  chunk mode airiran aa asiata 164  chunk mode active parameter                 164  chunk offset x parameter                         165  chunk offset y parameter                         165  chunk parser   Em 164  166  169  171  174  176  chunk pixel format parameter                  165  chunk selector         166  169  171  174  176  chunk time stamp parameter                   169  chunk trigger input counter  parameter orte 171  chunk width parameter                            165  cleaning the camera and sensor               14  code snippets  proper use                         14  Color filter econo 79  configuration set loaded at startup          161  configuration sets                            157   161  conformity Ae 3  connector YPES eunin 26  COMMECIONS iaa der 23  CPU interrupts   ccoocococcccnnncccccccccccnnannnnnno 204  CRC checksum chunk                             176  D  debouncer  and exposure start delay    
8.           n  wor      B Shifted Once  4    Basler ace    Standard Features    If the pixel values being output by the camera   s sensor are high enough to set bit 11 to 1  we  recommend not using shift by 1  If you do nonetheless  all bits output from the camera will  automatically be set to 1  Therefore  you should only use the shift by 1 setting when your pixel  readings with an 8 bit pixel format selected and with digital shift disabled are all less than 128     Shift by 2    When the camera is set to shift by 2  the output from the    camera will include bit 9 through bit 2 from the ADC  ADC    The result of shifting twice is that the output of the        cds bit bit bit bit bit bit bit bit bit bit bit bit  camera is effectively multiplied by 4  10 9 8 7 6 5 4 3 2 1 0       If the pixel values being output by the camera s sensor  are high enough to set bit 10 or bit 11 to 1  we  recommend not using shift by 2  If you do nonetheless   all bits output from the camera will automatically be set  to 1  Therefore  you should only use the shift by 2  setting when your pixel readings with an 8 bit pixel format selected and with digital shift disabled are  all less than 64     Shifted Twice       Shift by 3    When the camera is set to shift by 3  the output from  the camera will include bit 8 through bit 1 from the    ADC  ADC       i   bit bit bit bit bit bit bit bit bit bit bit bit  The result of shifting three times is that the output of 10 9 8 7 6 5 4 3 2 1 0  the camera is e
9.        20  software trigger                     eessssusss 46  spectral response                         sssssssss 4   7  speed and duplex                        sssssss 204  standard factory setup             157  158  160  standard power and I O cable                   27   voltage requirements                     30  32  startup parameter set                              161  Startup set    eter 158  161  SUDDO   ui a tei e 180  T  target value                                eseeeeeess 133  technical support                          sssssssss 179  temperature   housing temp                     seeseeeeeeese 12  test image selector                                  151  test images  ooocooocconoccconocanonnnnnnonanananoninno 151  time delay time base abs parameter       100  time stamp chunk                         sssssssss 169  timed exposure mode                               50  timer delay                                eeeseeeeeeee 101  timer delay abs parameter                      101  timer delay raw parameter                       100  timer delay time                         sssessssss 100  timer delay time base                              100  timer duration    eerren 102  timer duration abs parameter                  103  timer duration raw parameter                  102  timer duration time base                          102  timer duration time base abs  parameter peireira e 102  timer selector                     99  100  102  103  timer trigger source parame
10.      193  heartbeat timer                          sesssssse 193  heat dissipation    eee 12  high gain factory setup                            157  horizontal DINNING                         seessss 122  horizontal mirror image                            126  humidity  eed secco daa 12  l  image distortion             o ooonnciccccinccnnnnccnns 124  image property  target ValUB   ooooocccccncccccccccccocccnnnncnnne 133  input line  configuring                     sse 95  electrical characteristics                      34  propagation delay                                35  voltage requirements                           32    Basler ace    installation   liardWare      eese ada 17   SOM  WA O ooooooocccccccnnnannccnccnonnnnncnncncinnnnos 17  integrate enabled signal                             55  inter packet delay                                     203  inverter   output line                             sees  98  IP configuration tool                         ussssss 19  IP 30 taste Ret nan 8  IR cut filter    6  9  118  J  jumbo frames              sssssssssseeeee 205  jumbo packets      oooccccccccnccccccnananancnoncnnnos 205  L  lens adapter                              sesseeeeeeeess 2  lens thread length                                     9  line inverter parameter                               98  line selector                                 eesseeessss 96  line source parameter                                96  line status all chunk                              
11.      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  Also 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
12.     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     144 Basler ace    Standard Features    9 11 5 Balance 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  gray world  model  the Balance  Ratio Abs parameter values are adjusted such that the average values for the  red  and  blue   pixels match the average 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 white balance of the image     For information on the white balance feature  see Section 9 3 on page 111     To use the balance white auto function  carry out the following steps  
13.     tranar tee 72   7 2 20 Mono 12 Format            0 000 eee 74   7 2 3 Mono 12 Packed Format            0 0000 c eee eee 76   7 2 4 YUV 4 2 2 Packed Format            0 000 00 cee 78   7 2 5 YUV 4 2 2  YUYV  Packed Format               00000 0c cee eee eee 78   7 3 Pixel Data Output Formats for Color Cameras           0 0  00000 cece eee eee 79  7 3 1 The Bayer Color Filter            llli 79  7 3 1 1 Color Filter Alignment          llis 80   7 3 2   Bayer BG 8 Format      oe ose pibus eee ge ad Beeler e et 81   1 33    Bayer BG 12  Format  anos 3 iru dB E edie eeean Seis ees 83   ii Basler ace    Table of Contents    7 3 4 Bayer BG 12 Packed Format               00 0 cee eee 85   735 YUV 4 2 2 Packed Format            0 00000 cece 87   7 3 6 YUV 4 2 2  YUYV  Packed Format             00  00 0 eee sees  90   C34   MONOS Format    cocida er ees ewe YU eee ne UR ELE es 92   7 4 Pixel Transmission Sequence              000 cece teens 94  8  O GODITOL  yin E nd tie    95  8 1 Configuring the Input Line             0 0 0 0 tee 95  8 1 1 Assigning the Input Line to Receive a Hardware Trigger Signal             95   8 2 Configuring the Output Line              0 00 2 ee 96  8 2 1 Assigning a Camera Output Signal to the Physical Output Line             96   8 2 2 Setting the State of a User Settable Output Line                        97   8 2 3 Setting the Output Line for Invert           0     0 022 ee 98   8 2 4 Working with the Timer Signal              0 0000 cece eee eee 99  
14.    0 0 0 00 rne 132  9 11 Auto Functions csi end od ee aR ee bed eR aad is 133  9 11 1 Common Characteristics          llis 133  9 11 1 1 Modes of Operation               0 0000 eee 134   9 11 1 2 Auto Function AQl       o ocoocccccoooo lees 135   9 11 1 3 Using an Auto Function      seses anaana aaa 139   9 11 2  Gain Auton A SLE ee  Dad eau uf tee a 140    Basler ace    Table of Contents    9 11 3  Exposure  Autos  i  coca aa HA ee ER ls 142  9 11 4 Auto Function Profile    0 0 0    0 0 0 0  ccc rr 144  9 11 5 Balance White Auto           llli 145  9 12 Disable Parameter Limits            0 0 00 0 eee eee eens 147  9 13 Event Reporting   ssa danas a Ped Papa gaan a Whe tees RE Pa 149  9 14 TestImages   x  ii fA EA eden oe pe sew RAE Sie Ree wee SEES 151  9 15 Device Information Parameters         0   0 00 ccc eee ers 155  9 16 Configuration Sets z ecse erana i r a a eee 157  9 16 1 Selecting a Factory Setup as the Default Set                          158  9 16 2 Saving a User Set           0 0 0 2  eee 159  9 16 3 Loading a Saved Set or the Default Set into the Active Set               160  9 16 4 Selecting the Startup Set            00 0000 0c ee 161  10 Chunk  Features ostia A Oak S ERE eer ote 163  10 1 What are Chunk Features               0c ee eee eee 163  10 2 Making the  Chunk Mode  Active and Enabling the Extended Data Stamp         164  10 3   Frame  Go  unter   ass is Abd oe f wets tese a Se 166  10 4  Time Stamp    edi A 169  10 5 Trigger Input Counter    0 2 2 
15.    00 00 00 re 171  10 6 Line Status All    eee eee n 174  10 f  GRC CHECKSUM 22321 REA Ere RA Sak Me a 176  11 Troubleshooting and Support              00 cece eee eee 179  11 1 Tech Support Resources       o o oocococo eee 179  11 2 Obtaining an RMA Number                20 00000 eee ec eee 179  11 3 Before Contacting Basler Technical Support                 0000 00 e eee 180  Appendix A  Basler Network Drivers and Parameters                    LLiuuuuuuuuuuun  183  A 1 The Basler Filter Driver            llle IR nh 184  A 2 The Basler Performance Driver         0 00 00 ccc eee eens 185  Appendix B  Network Related Camera Parameters and Managing Bandwidth              195  B 1 Network Related Parameters in the Camera                000 cee eens 195  B 2 Managing Bandwidth When Multiple Cameras Share a Single Network Path       202  B 3 A Procedure for Managing Bandwidth                   00 0c e eee 204  REVISION HIStory   ista eid ER oe pe ER dE EXON rate eS 209  Feedback xv rra ass ades pde ga ut ola e Mace ae Rol ua Ceca tu aid 211  Index  DE el qti aed KERR STG WAR CAMO ERAS 213    iv Basler ace    Specifications  Requirements  and Precautions    1 Specifications  Requirements   and Precautions    This section lists the camera models covered by the manual  It provides the general specifications  for 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 
16.    1  Select Auto Function AOI2   2  Setthe position 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  0          Camera AutoFunctionAOIOffsetY SetValue  0     Camera AutoFunctionAOIWidth SetValue  Camera AutoFunctionAOIWidth GetMax       Camera AutoFunctionAOIHeight SetValue  Camera AutoFunctionAOIHeight GetMax                  Set mode of operation for balance white auto function       Camera BalanceWhiteAuto SetValue  BalanceWhiteAuto Once       Basler ace 145    Standard Features    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 9 11 on page 133     For information
17.    174  line status parameter                               104  lookup table                          sssssessssesss 129  luminance lookup table                            129  EU Tete t ettet rennen 129  LUT enable parameter                            131  LUT index parameter                               131  LUT selector                                             131  M  max frame jitter parameter                       199  max frame rate                  sessssssssssssss 67  max height parameter                              155  max lens thread length                                 9  max number resend request  parameter  ita 189  max width parameter                               155  mirror image   cccccccccccnncinananananaannnncnnnccnnns 126  missing packet   O a 185   SlalUS ainn a a o 185  mode of operation  of auto function    continuous cccoooconacanaaanconnncnnncnnnncnnninon 134   ONCE  MICE 134    Basler ace    Index    models vanos Nene er Rs 1  mono 12 packed pixel format                    76  mono 12 pixel format                                 74  mono 8 pixel format                             72 92  multiple cameras on a network                202  N  network adapter   packet SiZO oooooocccocccoccccccccnnncnnnccnncnnn 205  network drivers eese 183  network parameter                           sssse 204  network performance                        sssse 204  network switch   packet size                          sseess 205  O  optical size of the sensor     
18.    B5 Blue value for P2 B5 Green value for P   B3 Green value for P3 B3 Red value for P3   B4 Blue value for P4 B4 Green value for P4  Bs Green value for Ps Bs Red value for Ps   z e  z e   2 e 2 e   2 e 2 e   Bm 5 Blue value for P  5 Bm 5 Green value for Ph 5  Bm 4 Green value for P4 Bm 4 Red value for P4  Bm 3 Blue value for Ph 3 Bm 3 Green value for Ph 3  Bm 2 Green value for P    Bm 2 Red value for Pp 2  Bm 1 Blue value for P  4 Bm4 Green value for P  4  Bm Green value for Ph Bm Red value for P                             Basler ace 81    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 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   82    Basler ace    Pixel Data Formats    7 3 3 Bayer BG 12 Format    When a color camera is set for the Bayer BG 12 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 BG 12 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
19.   1    Max F  S ee nae a aA Ae MER  ax Frames s   400 x 16 99 us     1376 35 MS    Max Frames s   122 3 frames s    Formula 2     1  2000 us   24 00 us    Max Frames s   494 1 frames s    Max Frames s      Formula 3     110000000 Bytes s  Max F   LA Bytes s  E  240000 Bytes    Max Frames s   458 3 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 122 3 frames per second     Basler ace    69    Image Acquisition Control    6 6 1 Disabling the Frame Rate Limit    Normally  the maximum frame rate that an acA640 100 camera can achieve with a given group of  parameter settings is as described in the previous section  In this normal situation  the maximum  frame rate is limited by the standard operating ranges of several of the electronic components used  in the camera  The goal of remaining within these standard operating ranges is to ensure that the  camera provides optimum image quality     If you desire  you can use the Disable Parameter Limits feature to remove the maximum frame rate  limit on your acA640 100 camera  If you remove the frame rate limit  the electronic components will  be allowed to operate outside of their normal operating ranges  With the limit removed  you will find  that the maximum allowed frame rate at full resolution will increase and that the maximum allowed  frame rate with smaller AOI settings will also increase proportionately   
20.   2  and 3 until the data bandwidth assigned is equal to or just greater than the data  bandwidth needed     Note   O  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   Make 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     Ifthe 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    Basler ace 207    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 band
21.   30  Frame Trigger Wait Signal with the Trigger Width Exposure Mode    If you are operating the camera in the trigger width exposure mode  you can avoid overtriggering  the camera by always doing the following     Setting the camera s Exposure Overlap Time Max parameter so that it represents the smallest  exposure time you intend to use     Monitoring the camera s Frame Trigger Wait output signal and only using the ExFSTrig signal  to start exposure when the Frame Trigger Wait signal is high     Making sure that your exposure time is always equal to or greater than the setting for the  Exposure Overlap Time Max parameter     You should set the Exposure Overlap Time Max Abs parameter value to represent the shortest  exposure time you intend to use  For example  assume that you will be using trigger width exposure  mode and that you intend to use the ExFSTrig signal to vary the exposure time in a range from 3000  us to 5500 us  In this case you would set the camera s Exposure Overlap Time Max Abs parameter  to 3000 us     You can use the pylon API to setthe Exposure Overlap Time Max Abs parameter value from within  your application software  The following code snippet illustrates using the API to set the parameter  value        Camera ExposureOverlapTimeMaxAbs SetValue  3000       Basler ace 63    Image Acquisition Control    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 pyl
22.   Camera TriggerSelector SetValue  TriggerSelector FrameStart          Set the mode for the selected trigger          Camera TriggerMode SetValue  TriggerMode Off        Set th xposure tim          Camera ExposureTimeAbs SetValue  3000                Enable the acquisition frame rate parameter and set the frame rat                Camera AcquisitionFrameRateEnable SetValue  true          Camera AcquisitionFrameRateAbs SetValue  60 0          Start image capture       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     For more information about the pylon Viewer  see Section 3 1 on page 19     Basler ace 45    Image Acquisition Control    6 2 2 Using a Software Frame Start Trigger    6 2 2 1 Introduction    Ifthe camera s Frame Start Trigger Mode parameter is setto On and the Frame Start Trigger source  parameter is set to Software  you must use a software trigger to start frame acquisition  A software  trigger is issued to the camera by executing a Trigger Software command on the host PC     Image acquisition starts when the software trigger is received by the camera  The exposure time for  each image is determined by the value of the camera   s Exposure Time Abs parameter  Figure 18  illustrates image acquisition with a software trigger     When using a software trigger  the camera   s 
23.   If you do disable the maximum frame rate limit  you may see some degradation in the overall image  quality  In many applications  however  the benefits of an increase in the maximum allowed frame  rate will outweigh the drawbacks of a marginal decrease in image quality     To determine how much disabling the frame rate limit will affect the maximum allowed frame rate  with your current camera settings     Read the value of the Resulting Frame rate parameter with the maximum frame rate limit  enabled     Use the Disable Parameter Limits feature to remove the limit   Read the value of the Resulting Frame rate parameter with the limit disabled     For more information about using the Disable Parameter Limits feature  see Section 9 12 on  page 147     For more information about the Resulting Frame Rate parameter  see page 200     70 Basler ace    Pixel Data Formats    7 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     7 1    The setting for the camera s Pixel Format parameter determines the format of the pixel data that will  be output from the camera  The available pixel formats depend on the camera model and whether  the camera is monochrome or color  Table 8 lists the pixel formats available on each monochrome  camera model and Table 9 lists the pixel formats available on each color camera model     Setti
24.   Minimum and Maximum Allowed Gain Raw Settings    To set the Gain Raw parameter value   Set the Gain Selector to Gain All   Set the Gain Raw parameter to your desired value     You can set the Gain Selector and the Gain 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 GainSelector SetValue  GainSelector All       Camera GainRaw SetValue  400       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 19     108 Basler ace    Standard Features       Note  On all cameras  the minimum setting for the Gain Raw parameter can be reduced  to O by using the Disable Parameter Limits feature           For more information about the Disable Parameter Limits feature  see  Section 9 12 on page 147           If you know the current decimal setting for the gain raw  you can use the following formula to  calculate the dB of gain that will result from that setting     Gaingp   0 0359 x Gain Raw Setting    Example     Assume that you are working with a camera that has a gain raw setting of 200  The gain is    calculated as follows     Gaing    0 0359 x 200    Gaingp  7 2    Table 11 shows the minimum and maximum possible dB of gai
25.   The  numbered text is keyed to the time periods in the chart     Basler ace 197    Network Related Camera Parameters and Managing Bandwidth                                                                Time Period 1 2 3 4 5 6 7 8 9  a ff ft A E  FA amp TI FA amp TIIFA amp T FA amp T  FA amp TIIFA amp T FA amp T FA amp T  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 F4  5  5 i  Resends left in the  accumulator pool 15 13 14 9 0 4 9 14 15  after frame                                  transmission            F A  amp  T    Frame Acquired Not enough           1     198    and Transmitted resends available   Packet unavailable    errors generated     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 
26.   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 12 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 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     For more information about the Bayer filter  see Section 7 3 1 on page 79     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 12 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 blue value for Py Bo Low byte of green value for Py  B4 High byte of blue value for Py B4 High byte of green value for Pg  Bo Low byte of g
27.   power and I O cable will adjust the voltages to the levels required by the camera   s I O input  see    Table 3         Voltage    Significance        0 to  24 VDC    Recommended operating voltage         0 to  8 4 VDC    The voltage indicates a logical 0         gt   8 4 to  10 4 VDC    Region where the transition threshold occurs  the logical state is not defined in this  region         gt   10 4 VDC    The voltage indicates a logical 1         30 0 VDC          Absolute maximum  the camera may be damaged when the absolute maximum is  exceeded           Table 4  Voltage Requirements When Using a PLC Power and I O Cable    Basler ace    33    Physical Interface    5 7 1 2 Input Line Schematic    The camera is equipped with one physical input line designated as Input Line 1  The input line is  accessed via the 6 pin receptacle on the back of the camera     As shown in the I O line schematic  the 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 mA and 15 mA     Figure 12 shows an example of a typical circuit you can use to input a signal into the camera     Input Line 1 can be used to receive an externally generated frame start trigger  ExFSTrig  signal for  controlling the start of image acquisition           Your  Gnd  6 Pin  Receptacle Input    Voltage   30 VDC  Camera Hoon Absolute           BAS16XV2T1 Your    Gnd       In_
28.   see area of interest  niu 20  area of interest  auto function AOI                        ssssse 133  explained  te tet 119  image AOP ehanet eiaeia 135  SONO isnaad eec 120  using with binning                              124  auto function    133  mode of operation                              134  using with binning                              133  auto function AOI  explained                                eeeesss 133  SONO mee 138  auto function profile                                  144  auto functions factory setup                     157  B  balance white auto                                   145  bandwidth assigned parameter                196  bandwidth reserve accumulation  parameter             ecce 197  bandwidth reserve parameter                  196  bandwidth  managing                               202  Bayer BG 12 packed pixel format              85  Bayer BG 12 pixel format                           83  Bayer BG 8 pixel format                             81  Bayer filler    ete eee 79  binnihng  eee diei noceat e WRT ea ceret 122  AOI settings    124  image distortion                                 124  reduced resolution                             124  response to light                                124  Cup 123  bit dept  titel ids 2  black level  explained                               eeeeesss 110  SONO E 110  black level raw parameter                        110  black level selector                                   110  block diagram           
29.  1   1 2 General Specifications             20 0000 cee 2   1 3 Spectral Response             a E te eee 4  1 3 1 Mono Camera Spectral Response               000 0  cee eee 4   1 3 2 Color Camera Spectral Response                 000 0c eee eee 6   1 4 Mechanical Specifications              0 00000 tees 8  1 4 1 Camera Dimensions and Mounting Points                  0220002000  8   1 4 2 Maximum Thread Length on Color Cameras              lille 9   1 5 Software Licensing Information           oooooccccoorcccr eo 10   1 6 Avoiding EMI and ESD Problems                  0 00 cece tee eee 11   1 7 Environmental Requirements                0 000 cee eae 12  1 7 1 Temperature and Humidity             2    000 60 ee 12   1 7 2 Heat Dissipation             0 000 ee 12   1 8   Precautions  epa rra hes see tw Ri be Rd dug bird 13   Z J INStANAHONG oss doubt Sema 55 5 oa AAA EEUU NEAR 17  3 Tools for Changing Camera Parameters                              19  39 1     The pylon  Viewer yer acs see AAA HUE Gesundes Erie 4 19  3 2 The IP Configuration Tool            issseslessesee e 19  3 9   The pylon API io eee ee aa A eee PR CEDERE RR RU ES COPIER 20   4 Camera Functional Description              0 0 eee 21  4 COVEI Wat eme rrr le oa ech BERE Bln AAA A e Rc 21   5  Physical interfaces  lt 0cocrirad we csoo Che ede eee wens ees ee IRE 23  5 1 General Description of the Connections            llle 23  5 2 Connector Pin Assignments and Numbering                0 0000 eee eee eee 24  5 2 
30.  55    Image Acquisition Control    6 3 Overlapping Exposure with Sensor  Readout    The image acquisition 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 two 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  The exposure  for a new image does not overlap the sensor readout for the previous image  This situation is  illustrated in Figure 23 with the camera set for the trigger width exposure mode     ExFSTrig              Signal  Image Acquisition N Image Acquisition N 1 Image Acquisition N 2    Exposure Readout Exposure Readout Exposure Readout    Time                   Fig  23  Non overlapped Exposure and Readout    In the overlapped mode of operation  the exposure of a new image begins while the camera is still  reading out the sensor data for the previously acquire image This situation is illustrated in Figure 24  with the camera set for the trigger width exposure mode     ExFSTrig                  Signal    Image Acquisition N            Exposure Readout                     Image Acquis
31.  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 acA640 100 gm  the sum of the X Offset setting plus the  Width setting must not exceed 659     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 acA640 100 gm  the sum of the Y Offset setting plus the  Height setting must not exceed 494     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 O  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 lines 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 9 7 1 on page 124     You can select an Auto Function AOI and set the X
32.  Basler s pylon Viewer tool   If you cannot access the camera  please try to state the following parameter settings        Image Size  AOI         Pixel Format           Exposure Time        r  E Packet Size   r        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 ace 181    Troubleshooting and Support    182 Basler ace    Basler Network Drivers and Parameters    Appendix A  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  O  During the installation proc
33.  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  AOI is selected     138 Basler ace    Standard Features       Select the appropriate auto function AOI for luminance statistics       Currently AutoFunctionAOISelector AOI1 is predefined to gather       luminance statistics       Set  Camera  Camera  Camera  Camera    Camera    position and size of the auto function AOI        AutoFunctionAOISelector SetValue  AutoFunctionAOISelector AOIL      AutoFunctionAOIOffsetX SetValue  0       AutoFunctionAOIOffsetY SetValue  0       AutoFunctionAOIWidth SetValue  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     9 11 1 3    Using an Auto Function    To use an auto function  carry out the following steps     Oa RF WN  gt     Select the Auto Function AOI that is related to the auto function you want to use   Set the position and size 
34.  Reference     You can also use the Basler pylon Viewer application to easily get the parameter value     For more information about the pylon Viewer  see Section 3 1 on page 19     You can calculate an approximate frame transmission time by using this formula     Payload Size Parameter Value      Frame Transmission Time                      5                                                           Device Current Throughput Parameter Value    Note that this is an approximate frame transmission time  Due to the nature of the Ethernet network   the transmission 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 B 1 on page 195     66 Basler ace    Image Acquisition Control    6 6 Maximum Allowed Frame Rate    In general  the maximum allowed acquisition frame rate can be limited by three factors     The amount of time it takes to read an acquired image out of the imaging sensor and into the  camera   s frame buffer  an acquired image is also known as a frame   This
35.  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 setthe 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 19     Basler ace 111    Standard Features    9 4 Digital Shift    The digital shift feature lets you change the group of bits that is output from the ADC in the camera   Using the digital shift feature will effectively multiply the output of the camera by 2 times  4 times  8  times  or 16 times  The next two sections describe how the digital shift works when the camera is  set for a 12 bit pixel format and when it is set for a 8 bit pixel format  There is also a section  describing precautions that you must observe when using the digital shift feature and a section that  describes enabling and setting the digital shift feature     9 4 1 Digital Shift with 12 Bit Pixel Formats    No Shift    As mentioned in th
36.  SetValue  100       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 equivalent 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 the new duration time     Basler ace 103    1 0 Control    8 3 Checking the State of the I O Lines    8 3 1 Checking the State of the Output Line    You can determine the current state of the output line  To check the state of the output line     Use the Line Selector parameter to select output line 1     Read the valu
37.  SetValue  TriggerDelay us             Set for the timed exposure mod          Camera ExposureMode SetValue  ExposureMode Timed             Set th xposure tim          Camera ExposureTimeAbs SetValue  3000          Prepare for image capture       Camera AcquisitionStart Execute           Frame acquisition will start when the externally generated     frame start trigger signal  ExFSTrig signal goes high       The following code snippet illustrates using the API to set the parameter values and execute the  commands related to hardware triggering with the camera set for continuous frame acquisition  mode  In this example  we will use the trigger width exposure mode with rising edge triggering        Set the acquisition mode to single frame  Camera AcquisitionMode SetValue  AcquisitionMode Continuous          Select a trigger to work with    m       Camera TriggerSelector SetValue  TriggerSelector FrameStart          Set the mode for the selected trigger    m       Camera TriggerMode SetValue  TriggerMode On          Set the source for the selected trigger     m    Camera        riggerSource SetValue   TriggerSource Linel             Set the trigger activation mode to rising edge          Camera TriggerActivation SetValue  TriggerActivation RisingEdge          Set for the trigger width exposure mode             Camera ExposureMode SetValue  ExposureMode TriggerWidth       52 Basler ace    Image Acquisition Control          Set th xposure overlap time max abs   the shortest exposu
38.  Synchronization    Via external trigger signal  via the GigE connection  or free run       Exposure Control    Via external trigger signal or programmable via the camera API       Camera Power  Requirements    PoE  Power over Ethernet 802 3af compliant     or     12 VDC   10     lt  1  ripple  supplied via the camera   s 6 pin connector         2 0 W when using Power over Ethernet    2 3 W   12 VDC when supplied via  the camera   s 6 pin connector   Note  When using extremely small AOls     power consumption may increase to  2 4W         2 2 W when using Power over Ethernet    2 5 W   12 VDC when supplied via  the camera   s 6 pin connector   Note  When using extremely small AOls   power consumption may increase to   2 9 W        1 0 Ports    1 opto isolated input line and 1 opto isolated output line       Lens Adapter    C mount       Size  Lx W x H           42 0 mm x 29 mm x 29 mm  without lens adapter or connectors     60 3 mm x 29 mm x 29 mm  with lens adapter and connectors        Table 1  General Specifications    Basler ace       Specifications  Requirements  and Precautions       Specification    acA640 100gm gc       acA1300 30gm gc       Weight     lt 90g       Conformity    CE  UL  in preparation   FCC  GenlCam  GigE Vision  IP30  RoHS       Software Driver          GigEVision compliant  Basler pylon SDK including filter and performance drivers   Available for windows or Linux in 32 or 64 bit versions        Table 1  General Specifications    Basler ace       Spe
39.  Trigger  Mode rein A ee edad at ac 43  6 2 1 1 Frame Start Trigger Mode   Off                     220005  43   6 2 1 2 Frame Start Trigger Mode 2 On                 20000 eee 44   6 2 1 3 Setting The Frame Start Trigger Mode and Related Parameters    45   6 2 2 Using a Software Frame Start Trigger              00000 cee eee eee 46  62 2 1 Introduction    oett A eee ae RU 46   6 2 2 2 Acquisition Status         lille 46   6 2 2 3 Setting the Software Trigger and Related Parameters            47   6 2 3 Using a Hardware Frame Start Trigger               0002 eee eae 49  6 2 3 4 Introduction          liiis 49   6 2 3 2 Exposure Modes                02  eee ee 50   62 3 3   Trigger Delay  over sak te how eed a eee gba seta eed et fies 51   6 2 3 4 Setting the Hardware Trigger Related Parameters              52   6 2 4 The Exposure Time Abs Parameter              0 0 00 eee 54   6 2 5 The Exposure Active Signal             lisse 55   6 3 Overlapping Exposure with Sensor Readout            0 0 00 cee eee 56  6 4 Using the Frame Trigger Wait Signal to Avoid Overtriggering the Camera           59  6 5 Acquisition Timing Chart             00 00 res 65  6 6 Maximum Allowed Frame Rate             0 000 cece es 67  6 6 1 Disabling the Frame Rate Limit             0    00 002 eee 70   7 Pixel Data Formats    200 ashe ER AS 71  7 1 Setting the Pixel Data Format          nasasa aaa 000s 71  7 2 Pixel Data Formats for Mono Cameras              0 000 eee eee 72  7 2 1  Mono 8 Format         
40.  X  feature is enabled     126 Basler ace    Standard Features    Normal Image Mirror Image       Bor    AOI AOI    Note  For color cameras  provisions are made ensuring that the effective color filter      alignment will be constant for both  normal and mirror images        Note     AOls used for the auto function feature will behave analogously to  standard     AOls       Depending on whether or not the reverse X feature is enabled  an Image  AOI will display different images and an Auto Function AOI will refer to  different image contents     The positions of the AOls relative to the sensor will not change     For more information about auto functions  see Section 9 11 on page 133     Basler ace 127    Standard Features    Setting Reverse X    You can enable or disable the reverse X feature by setting the ReverseX parameter value  You can  set the 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 reverse X       Camera ReverseX 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 parameter     For more information about the pylon Viewer  see Section 3 1 on page 19     128 Basler ace    Standard Features    9 9 Luminance Lookup Table    9 9 1 Lookup Table    Pixel data from the imaging sensor 
41.  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 time 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 ace    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 tim
42.  about Auto Function AOls and how to set them  see Section 9 11 1 2 on page 135     146 Basler ace    Standard Features    9 12 Disable Parameter Limits    For each camera feature  the allowed range of any associated parameter values is normally limited   The factory limits are designed to ensure optimum camera operation and  in particular  good image  quality  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 limits for parameters associated  with certain camera features  When the factory 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 any extended limits can be seen using the Basler pylon Viewer or from within your  application via the pylon API     Currently  the limits can be removed from     The Gain feature     Disabling the parameter limits on the Gain feature will only remove the lower limit  With the Gain  limits disabled  the lower limit for the Gain parameter on all camera models is reduced to 0     The maximum allowed frame rate on acA640 100 cameras   Disabling the limit on the maximum allowed frame rate will let the camera operate at a higher    than normal frame rate for the current parameter settin
43.  about the auto function profile feature  see Section 9 11 4 on page 144     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 position and size of Auto Function AOI1    Set the lower and upper limits for the Exposure Time Abs parameter value   Set the target average gray value    If necessary  set the auto function profile     DX o 9 Romse    Enable the exposure auto function by setting it to  once  or  continuous   You must choose the   continuous  setting when using the auto function profile     The settable limits for the 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 O  black  to 255  white  when the camera is set for  an 8 bit pixel format or from 0  black  to 4095  white  when the camera is set for a 12 bit pixel format     142 Basler ace    Standard Features    You can carry out steps 1 to 7 from within your application software by using the pylon API  The    following code    Selecting a  Setting the    snippets illustrate using the API to set the parameter values     nd setting Auto Function AOI1  See the  Auto Function AOI  section above   limits for the Exposure Time Abs parameter value  the set parameter values serve    as examples      Setting the    Enabling th  operation     target average gray value  A medium gray value is 
44.  application to easily get the parameter value     For more information about the pylon Viewer  see Section 3 1 on page 19     Basler ace 57    Image Acquisition Control    Guideline for Overlapped Operation with Trigger Width Exposure    If the camera is set for the trigger width exposure mode and you are operating the camera in a way  that readout and exposure will be overlapped  there is an important guideline you must keep in  mind   You must not end the exposure time of the current frame acquisition until readout of the  previously acquired frame is complete     If this guideline is violated  the camera will drop the image for which the exposure was just ended  and will declare a Frame Start Overtriggered event  This situation is illustrated in Figure 25 with the  camera set for the trigger width exposure mode     ExFSTrig                  Signal      Image Acquisition N 1                                              Exposure Readout i  Image Acquisition N 1    R i  Exposure   EI This exposure was ended too  i early  The image will be dropped    and an overtrigger event declared   Exp  Image Acquisition N 3  Exposure   Readout  Time    Fig  25  Overtriggering Caused by an Early End of Exposure    You can avoid violating this guideline by using the camera   s Frame Trigger Wait output signal to  determine when exposure can safely begin and by properly setting the camera   s Exposure Overlap  Time Max Abs parameter     For more information about the Frame Trigger Wait outp
45.  area in the camera   s non volatile memory available for  saving a configuration set  A configuration set saved in the reserved area is commonly referred to  as a  user set      The one available user set is referred to as User Set 1     When the camera is running  the saved user set can be loaded into the active set  The saved user  set can also be designated as the  startup  set  i e   the set that will be loaded into the active set  whenever the camera is powered on or reset  Instructions for loading a saved user set into the  active set and for designating which set will be the startup set appear below        lost when the camera is reset or switched off  If you are using the lookup table  feature  you must reenter the lookup table values after each camera startup or  reset     O The values for the luminance lookup table are not saved in the user set and are                Designating a Startup Set    You can designate the default set or the user set as the  startup  set  The designated startup set  will automatically be loaded into the active set whenever the camera starts up at power on or after  a reset  Instructions for designating the startup set appear below     For more information about auto functions  see Section 9 11 on page 133     9 16 1 Selecting a Factory Setup as the  Default Set    When the camera is delivered  the Standard Factory Setup will be selected as the default set  You  can  however  select any one of the three factory setups to serve as the defa
46.  camera set for Bayer BG 12 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          84      Note    A camera that is set for Bayer BG 12 has only 12 effective bits out of the 16  bits transmitted for each pixel  The leader of each transmitted frame will  indicate Bayer BG12 as the pixel format     Basler ace    Pixel Data Formats    7 3 4 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 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 filter  see Section 7 3 1 on page 79     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 yo
47.  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 7 3 1 on page 79     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 30R   0 59G   0 11B  U    0 17R   0 33G   0 50B  V  OSOR   0 41G   0 09B    Once the conversion to a YUV color model is complete  the pixel data is transmitted to the host PC     Note   O  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 ace 87    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 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 U value for Po  B4 Y value for Pg  Bo V Value for Pg  B3 Y value for P4  B4 U value for P3  Bs Y value for P5  Be V Value fo
48.  containing the value of the counter     The frame counter is a 32 bit value  The counter starts at 0 and increments by 1 for each acquired  image  The counter counts up to 4294967295 unless it is reset before  see below   After having  reached the maximum value the counter will continue counting  starting at 0     Be aware that if the camera is acquiring images continuously and continuous capture is stopped   several numbers in the counting sequence 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 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 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 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 
49.  decrease the sensor readout time 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  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 9 6 on page 119     Basler ace 67    Image Acquisition Control    For more information on the settings that determine the bandwidth assigned to the camera  see  Section B 2 on pag
50.  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    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     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 timer 1     Use the Timer Selector to select timer 1   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 the 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 us  and the timer duration is normally adjusted  by setting
51.  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 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 di
52.  for each new image acquisition     The mathematical expression for this test image is     Gray Value    column number   row number   counter  MOD 256    152 Basler ace    Standard Features    Test Image 3   Moving Diagonal Gray Gradient  12 bit     The 12 bit moving diagonal gray gradient test 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    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 wil
53.  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 44  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 44   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 44   only  the 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 44   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 44   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        AOI  or  depending on your needs  choosing identical positions and sizes for Auto    O  We strongly recommend completely including the Auto Function AOI in the Image  Function AOI and Image AOI           about the behavior and roles of Auto Function AOI and Image AOI when also    O  You can use auto functions when also using the reverse X feature  For information  using the reverse X feature  se
54.  or to Off   Execute the command if using software as the counter reset source   You can set the trigger input counter reset parameter values from within your application software    by using the pylon API  The following code snippets illustrate using the API to configure and set the  trigger input counter reset and to execute a reset via software        configure reset of trigger input counter       Camera CounterSelector SetValue  CounterSelector Counterl             Camera CounterEventSource SetValue  CounterEventSource FrameTrigger          select reset by signal on input line 1          Camera CounterResetSource SetValue  CounterResetSource Linel       172 Basler ace    Chunk Features       select reset by software    Camera CounterResetSource SetValue  CounterResetSource Software             execute reset by software          Camera CounterReset Execute          disable reset  Camera CounterResetSource SetValue  CounterResetSource 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     Basler ace 173    Chunk Features    10 6 Line 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 triggered  It then adds a chunk to each acquired image containing the  line status information     The line status all information i
55.  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 resend  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 ace 189    Basler Network Drivers and Parameters    Threshold and Timeout 
56.  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 68     Basler ace 125    Standard Features    9 8 Reverse X    The reverse X feature is a horizontal mirror image feature  When the reverse X feature is enabled   the pixel values for each line in a captured image will be swapped end for end about the line   s cen   ter  This means that for each line  the value of the first pixel in the line will be swapped with the value  of the last pixel  the value of the second pixel in the line will be swapped with the value of the next   to last pixel  and so on     Figure 39 shows a normal image on the left and an image captured with reverse X enabled on the  right     Normal Image Mirror Image    ies      M v  ey SIE 50000000000050950       Fig  39  Reverse X Mirror Imaging    Using AOls with Reverse X    You can use the AOI feature when using the reverse X feature  Note  however  that the position of  an AOI relative to the sensor remains the same regardless of whether or not the reverse X feature  is enabled     As a consequence  an AOI will display different images depending on whether or not the reverse
57.  supplying camera power via Power over Ethernet  PoE   the power must comply  with the IEEE 1394 802 3af specification    2  If you are supplying camera power via the camera   s 6 pin connector and the voltage of the  power is greater than  13 2 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 6 pin connector     The plug on the cable that you attach to the camera   s 6 pin connector must have 6 female pins   Using a plug designed for a smaller or a larger number of pins can damage the  connector        Basler ace 13    Specifications  Requirements  and Precautions    NOTICE    Inappropriate code may cause unexpected camera behavior     1  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     2  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     3  The code snippets in this manual are written in C    Other programming languages can also  be used to write code for use with Basler pylon  When writing code  you should use a  programming language that is both compatible with pylon and appropriate for your  application  For more information about the programming languages that can be used with  Basler pylon  see the d
58.  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    202 Basler ace    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 packet 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     Basler ace 203    Network Related Camera Parameters and Managing Bandwidth    B 3 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
59.  the  once  mode of operation    140 Basler ace    Standard Features       Select the appropriate auto function AOI for luminance statistics       Currently AutoFunctionAOISelector AOI1 is predefined to gather       luminance statistics       Set  Camera  Camera   Camera    Camera     position and size of the auto function AOI       AutoFunctionAOIOffsetX SetValue  0        AutoFunctionAOIOffsetY SetValue  0        AutoFunctionAOISelector SetValue  AutoFunctionAOISelector AOIL       AutoFunctionAOIWidth SetValue  Camera AutoFunctionAOIWidth GetMax       Camera AutoFunctionAOIHeight SetValue  Camera AutoFunctionAOIHeight GetMax               Select gain for automatic luminance control        Set  Camera   Camera    Camera     gain limits for luminance control    GainSelector SetValue  GainSelector All           AutoGainRawLowerLimit SetValue  Camera GainRaw GetMin         AutoGainRawUpperLimit SetValue  Camera GainRaw GetMax             Set    Camera    target value for luminance control         AutoTargetValue SetValue  128             Set    Camera     mode of operation for gain auto function    GainAuto SetValue  GainAuto Once                 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 9 11 on page 133     For information about Auto Function AOls and how to 
60.  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 default is 1 us  and it can be changed in 1 us increments     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          100 Basler ace    1 O Control    Setting the Delay Time with an Absolute Value    You can also set the timer 1 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 timer 1 using an absolute value     Use the Timer Selector to select timer 1   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 following 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 D
61.  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     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          102 Basler ace    1 O Control    Setting the Timer Duration with an Absolute Value    You can also set the timer 1 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 timer 1 using an absolute value     Use the Timer Selector to select timer 1   Set the value of the Timer Duration Abs parameter     You can set the Timer Selector and the Timer 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
62.  time varies  depending on the height of the frame  Frames with a smaller height take less time to read out  of the sensor  The frame height is determined by the camera   s AOI Height 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     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 the AOI  exposure time  and bandwidth  settings into account     For more information about AOI Height settings  see Section 9 6 on page 119     For more information about the Resulting Frame Rate parameter  see page 200     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 which 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
63.  white balance feature and adjusts the white balance  automatically     For more information about auto functions  see Section 9 11 1 on page 133     For more information about the Balance White Auto function  see Section 9 11 5  on page 145                 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  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 the 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    
64. 1 6 pin Receptacle Pin Assignments  amp  Numbering                        24   5 2 2 RJ 45 Jack Pin Assignments 8 Numbering                  00020005  25   5i3     Connector Types sect Sener aaa Reo eim ia 26  5 3 1  8 pin RJ 45 Jack  oo eee eh be a eee 26   5 3 2 6 pin Connector         lille 26   5 4 Cabling Requirements                0 00  c cee eee 27  5 4 1 Ethernet Cables           0 0 0 0 00000 eee 27   5 4 2 Standard Power and I O Cable                00 00 27   5 4 8 PLC Power and I O Cable                 0 0c eee 29   5 5   Camera POWOT  cud eats A teu Bd ek Rawat WEEE ipea A 30  5 6 Ethernet GigE Device Information               0 0000 cece eee 31  5 7 Input and Output Lines           20 00 00  e 32  S04  Inputline s sce eet ena ae Ae ee ead Se Pee ee ee RS 32    Basler ace i    Table of Contents    5 7 1 1 Voltage Requirements                00000 cee ee 32   5 7 1 2 Input Line Schematic                0000000 ees 34   5 7 1 3 Input Line Response Time               000 000 cee eee eee 35   Sd  Debourncer  soo nee ERE Ree ree Reus 35   5 7 2 OutputLine            20 0    e a eea e i tee 38  5 7 2 1 Voltage Requirements               0000 0c ee 38   5 7 2 2 Output Line Schematics                  0000 cee 38   5 7 2 3 Output Line Response Time                  00 selle 40   6 Image Acquisition Control    2    0 00 cee 41  6 1 Acquisition Start and Stop Commands and the Acquisition Mode                 41  6 2 Frame Start Triggering             2 2 00 eee 43  0 21 
65. 19 20 21 22 23 24 25 26 27 28 29 30                                        Auto Function AOI                                                                3  EEHEEHE  E       a DODO OOOO EE LLOL    Image AOI                                                                                                                                                                                                                                              mmr       rarardrarr     d     Fig  44  Various Degrees of Overlap Between the Auto Function AOI and the Image AOI    Basler ace 137    Standard 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 sensor  You can change  the size and the position of an Auto Function AOI by changing the value of the Auto Function AOl   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
66. 1_Ctrl                   Gnd TLP281            Fig  12  Typical Input Circuit    For more information about input line pin assignments and pin numbering  see Section 5 2 on  page 24     For more information about how to use an externally generated frame start trigger  ExFSTrig  signal  to control acquisition start  see Section 6 2 3 on page 49     For more information about configuring the input line  see Section 8 1 on page 95     34 Basler ace    Physical Interface    5 7 1 3 Input Line Response Time    The response times for the input line on the camera are as shown below           Not to Scale  Voltage Applied f 22V  to the Camera s    10 4 V with PLC cable   Input Line    y 14V   8 4 V with PLC cable   Time     S   TDF      gt        TDR    Level of  Camera s  Internal Input    Circuit    Fig  13  Input Line Response Times    Time Delay Rise  TDR    1 3 us to 1 6 us  Time Delay Fall  TDF    40 us to 60 us    5 7 1 4 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  O  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 t
67. 4   B4 Red value for Pz bits 3     0 Green value for P   bits 3     0  Bs Red value for P4 bits 11     4   Be Green value for P4 bits 11     4   B7 Red value for Ps bits 3     0 Green value for P4 bits 3     0  Bg Red value for Ps bits 11     4             e           e     e           Bm 5 Green value for P   3 bits 11     4   Bm 4 Red value for P  2 bits 3     O Green value for P  3 bits 3     0  Bm 3 Red value for P    bits 11     4   Bm 2 Green value for P  4 bits 11     4   Bm 1 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  86    Basler ace    Pixel Data Formats    7 3 5 YUV 4 2 2 Packed Format    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
68. 6 pin connector and the power and I O cables see Section 5 2 on  page 24  Section 5 3 on page 26  and Section 5 4 on page 27     30 Basler ace    Physical Interface    5 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 ace 31    Physical Interface    5 7 Input and Output Lines    5 7 1 Input Line    5 7 1 1 Voltage Requirements    Note  O  Different voltage levels apply  depending on whether the standard power and  I O cable or a PLC power and I O cable is used  see below      Voltage Levels When the Standard Power and l O Cable is Used    The following voltage requirements apply to the camera s I O input  pin 2 of the 6 pin connector   when a standard power and I O cable is used        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 3  Voltage Requirements When Using the Standard Power and I O Cable    32 Basler ace    Physical Interface    Voltage Levels When a PLC Power and I O Cable is Used    The following requirements apply to the voltages input into the PLC power and I O cable  The PLC
69. 8 2 4 1 Setting the Trigger Source for the Timer                      99   8 2 4 2 Setting the Timer Delay Time                     0000005  100   8 2 4 3 Setting the Timer Duration Time                       005  102   8 3 Checking the State of the I O Lines                0 0 0000 c eee 104  8 3 1 Checking the State of the Output Line                        00 005  104   8 3 2 Checking the State of All Lines               2 2 0 0 20  esee 104   9 Standard Features  cuc ER rra ewe MEN RUE 107  A IE C  LT 107  92  Black Level  A LEE ERRARE Dn eue END 110  9 3 White Balance  on Color Models                0000 0 cece eee 111  94  Digital Shifts  eae ds Tide eed AAA OA ER 112  9 4 1 Digital Shift with 12 Bit Pixel Formats                      200000055 112   9 4 2 Digital Shift with 8 Bit Pixel Formats              leslie 114   9 4 3 Precautions When Using Digital Shift                 ooo ooooo o o    116   9 4 4 Enabling and Setting Digital Shift           lille  117   9 5 Integrated IR Cut Filter  on Color Models             llis eee eens 118  9 6 Area of Interest  AOI            0   000 cee 119  9 6 1 Changing AOI Parameters  On the Fly                0002000 eee eae 121   9i BINNING i tee cem  DC ERE on HERUNTER ERR CR 122  9 7 1 Considerations When Using Binning            llle 124   9 8  ReverseX   o  o  oo oooo RR hh hn 126  9 9 Luminance Lookup Table             00 0 ccc sees 129  9 9 1   Lookup Table ns ssn nie oran ie eee daras aa 129   9 10 Gamma Correction         
70. A    Mm  o  fe be ove AAA 4  N  12 42 6 3    2 a  gt     gt   54  i    17 526 Photosensitive surface of the sensor      Top                                                                                                     Fig  5  Mechanical Dimensions  in mm     8 Basler ace    Specifications  Requirements  and Precautions    1 4 2 Maximum Thread Length on Color Cameras    The C mount lens adapter on color models of the camera is normally equipped with an internal IR   cut filter  As shown in Figure 6  the length of the threads on any lens you use with a color camera  can be a maximum of 9 6 mm and the lens can intrude into the camera body a maximum of 10 8  mm  If either of these limits is exceeded  the lens adapter or the IR cut filter will be damaged or  destroyed and the camera will no longer operate                                                                                                                                            IR Cut Filter Holder ue   C mount Lens  9 6   EM  A l A     9 x   t       3  E  o  2 N Pdl     i LE  Y  IR Cut Filter Unthreaded Not to Scale   gt         Thread   9 6 Max  d  10 8 Max  P             Fig  6  Maximum Lens Thread Length on Color Cameras  dimensions in mm     Basler ace 9    Specifications  Requirements  and Precautions    1 5 Software Licensing Information    The software in the camera includes the LWIP TCP IP implementation  The copyright information  for this implementation is as follows     Copyright  c  2001  2002 Swed
71. 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       166 Basler ace    Chunk Features    ChunkParser AttachBuffer   unsigned char   Result Buffer     Result GetPayloadSize         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 19     Comparing Counter Chunk Data    When comparing trigger input counter data and frame counter data related to the same image  be  aware that the trigger input counter initially starts at 1 whereas the frame counter starts at 0   Therefore  the trigger input count will always be ahead of the matching frame count by one if both  counters were started at the same time and if an image was acq
72. Abs SetValue  100       36 Basler ace    Physical Interface    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 19     Basler ace    37    Physical Interface    5 7 2 Output Line    5 7 2 1 Voltage Requirements    The following voltage requirements apply to the I O output  pin 4 of the 6 pin connector         Voltage Significance        lt   3 3 VDC The I O output may operate erratically         3 3 to  24 VDC Recommended operating voltage               30 0 VDC Absolute maximum  the camera may be damaged if the absolute maximum is exceeded        Table 5  Voltage Requirements for the I O Output    5 7 2 2 Output Line Schematics    The camera is equipped with one physical output line designated as Output Line 1  The output line  is accessed via the 6 pin connector on the back of the camera     As shown in the I O schematic  the output line is opto isolated  See the previous section for the  recommended operating voltages  The absolute maximum voltage is  30 0 VDC  The maximum  current allowed through the output circuit is 50 mA     A conducting transistor means a logical one and a non conducting transistor means a logical zero     Figure 15 shows a typical circuit you can use to monitor the output line with a voltage signal        Your  Gnd  6 Pin I  Rec
73. Basler ace       USER   S MANUAL    Document Number  AW000893  Version  02 Language  000  English   Release Date  9 March 2010    Preliminary    The information in this document is preliminary  All content is subject to change     BASLER      VISION TECHNOLOGI    For customers in the U S A     This equipment has been tested and found to comply with the limits for a Class A digital device   pursuant to Part 15 of the FCC Rules  These limits are designed to provide reasonable protection  against harmful interference when the equipment is operated in a commercial environment  This  equipment generates  uses  and can radiate radio frequency energy and  if not installed and used  in accordance with the instruction manual  may cause harmful interference to radio  communications  Operation of this equipment in a residential area is likely to cause harmful  interference in which case the user will be required 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 equipment     The shielded interface cable recommended in this manual must be used with this equipment 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 appare
74. C  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 trigger input counter information by  doing the following     Read the value of the Chunk Trigger Input 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 trigger input  counter chunk  run the parser  and retrieve the trigger input counter chunk data        make chunk mode active and enable Trigger Input Counter chunk          Camera ChunkModeActive SetValue  true     Camera ChunkSelector SetValue  ChunkSelector Triggerinputcounter       Camera ChunkEnable SetValue  true                   retrieve data from the chunk    IChunkParser  amp ChunkParser    Camera CreateChunkParser          GrabResult Result     Basler ace 171    Chunk Features    StreamGrabber RetrieveResult  Result     ChunkParser AttachBuffer   unsigned char   Result Buffer     Result GetPayloadSize         int64 t triggerinputCounter   Camera ChunkTriggerinputcounter 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 informati
75. C 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  B  P4 bits 3    0 Po bits 3      Bo Py bits 11    4  B3 P   bits 11     4  Ba P3 bits 3    0 P   bits 3      Bs P3 bits 11     4  Bg P  bits 11    4  B  Ps bits 3    0 P  bits 3      Bg Ps bits 11     4  Bg Pe bits 11     4  Bio P  bits 3     0 Pg bits 3      B4 P  bits 11   4  e       e e  e e  Bm 5 Ph 3 bits 11     4  Bm 4 Pn o bits 3     0 Ph 3 bits 3      Bm 3 Ph 2 bits 11     4  Bm Pp  bits 11     4  Bm4 P  bits 3     0 P   4 bits 3      Bm Pp bits 11     4  76    Basler ace    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 ace    77    Pixel Data Formats    7 2 4 YUV 4 2 2 Packed Format    When a monochrome camera is set for the YUV 4 2 2 Packed pixel data format  the camera  transmits Y  U  and V valu
76. Delay Fall  TDF    0 6 us   Fall Time  FT    0 7 us to 1 4 us    Note  The response times for the output line 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     40    Basler ace    Image Acquisition Control    6 Image Acquisition Control    This section provides detailed information about controlling image acquisition  You will find details  about triggering frame acquisition  about setting the exposure time for acquired frames  about  controlling the camera   s frame acquisition rate  and about how the camera   s maximum allowed  frame acquisition rate can vary depending on the current camera settings     Four major elements are involved in controlling the acquisition of images   Acquisition start and acquisition stop commands  The acquisition mode parameter  Frame start triggering  Exposure time control    6 1 Acquisition Start and Stop Commands  and the Acquisition Mode    The use of Acquisition Start and Acquisition Stop commands and the camera   s Acquisition Mode  parameter setting are related     Issuing an Acquisition Start command to the camera prepares the camera to acquire frames  You  must issue an Acquisition Start command to the camera before you can begin acquiring frames     Issuing an Acquisition Stop command to the camera terminates the camera   s ability to acquire  frames  When the camera receives an Acquisitio
77. DeviceVersion GetValue          Read the Firmware Version parameter          Pylon  String t firmwareVersion   Camera DeviceFirmwareVersion GetValue          Read the Device ID parameter          Pylon  String t deviceID   Camera DeviceID GetValue       Basler ace 155    Standard Features       Writ       and read the Device User ID       Camera DeviceUserID    custom name         Pylon  String t deviceUserID   Camera DeviceUserID GetValu       Read  int64 t    the Sensor Width parameter    sensorWidth   Camera SensorWidth GetValue             Read  int64 t       Read  int64 t       Read    the Sensor Height parameter       sensorHeight   Camera SensorHeight GetValue       the Max Width parameter  maxWidth   Camera WidthMax GetValue          int64 t    the Max Height parameter       maxHeight   Camera HeightMax GetValue       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 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 19     For more information about the pylon IP Configuration Tool  see Section 3 2 on page 19     156    Basler ace    9 16 Configuration Sets    A configuration set is a group of values that contains  all of the parameter settings needed to contro
78. EventSource FrameStart          select reset by signal on input line 1       Camera CounterResetSource SetValue  CounterResetSource Linel          Basler ace 167    Chunk Features       select reset by software    Camera CounterResetSource SetValue  CounterResetSource Software             execute reset by software          Camera CounterReset Execute          disable reset  Camera CounterResetSource SetValue  CounterResetSource 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     168 Basler ace    Chunk Features    10 4 Time 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 
79. Exposure mode parameter must be set to Timed     Software Trigger Received    Image  Acquisition       Exposure     duration determined by the  exposure time parameters     Fig  18  Image Acquisition with a Software Trigger    6 2 2 2 Acquisition Status    When controlling image acquisition with a software trigger you can use the acquisition status feature  to determine when the camera is ready to be triggered for an image acquisition  By using this  feature  you can avoid triggering the camera at a rate that exceeds the maximum allowed with the  current camera settings     To determine the acquisition status of the camera     Use the Acquisition Status Selector to select the Frame Trigger Wait status     Read the value of the Acquisition Status parameter  If the value is set to  false   the camera is  not ready to receive a software trigger  if the value is set to  true   the camera is ready to  receive a software trigger     46 Basler ace    6 2 2 3    Image Acquisition Control    Setting the Software Trigger and Related Parameters    You can set the all of parameters needed to perform software triggering from within your application  software by using the pylon API The following code snippet illustrates using the API to set the  parameter values and execute the commands related to software triggering with the camera set for    single frame       Set t  Camera A     Selec  Camera T     Set t    Camera 1       Set t       m    Camera      Set f  Camera E       Set t    acqui
80. 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 th  StreamGrabb       PacketTimeout parameter       r PacketTimeout SetValue  40             Write th  StreamGrabb    ResendRequestThreshold parameter  r ResendRequestThreshold SetValue  5                Write th       ResendRequestBatching parameter    StreamGrabb       Write th    10          r ResendRequestBatching SetValue        StreamGrabb    ResendTimeout parameter       r ResendTimeout SetValue  2             Write th    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 the Installation and Setup Guide for Cameras  Used with Basler s pylon API  AW000611xx000      Basler ace 191    Ba
81. Line  To set the state of a user settable output line     Use the User Output Selector to select output line 1   Set the value of the User Output Value parameter to true  high  or false  low   This will set the  state of the output line     You can set the Output Selector and the User Output Value parameters from within your application  software by using the pylon API  The following code snippet illustrates using the API to designate  the output line as user settable and to set the state of the output line        Set output line 1 to user settable  Camera LineSelector SetValue  LineSelector Outl                   Camera LineSource SetValue  LineSource UserOutput          Set the state of output line 1       Camera UserOutputSelector SetValue  UserOutputSelector UserOutputl             Camera UserOutputValue SetValue  true          bool currentUserOutputlState   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     Note   If you have the invert function enabled on the output line and the line is  designated as user settable  the user setting sets the state of the line before  the inverter     Basler ace 97    1 0 Control    8 2 3 Setting the Output Line for Invert    You can set the output line to invert or not to invert the outgoing signal  To set the invert function on  the output lin
82. RERERER  El i8  El  8  E  8   1  8  El I8  El I8  E I8 F3 i8   EBERERERERERERERER    Pixels       Fig  32  Bayer Filter Pattern    Basler ace 79    Pixel Data Formats    7 3 1 1 Color Filter Alignment    The alignment of the Bayer filter to the pixels in the images acquired by all currently available color  models of the camera is Bayer BG  Bayer BG alignment means that pixel one and pixel two of the  first line in each image transmitted will be blue and green respectively  And for the second line  transmitted  pixel one and pixel two 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     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     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 as Bayer BG regardless of the camera   s area  of interest  AOI  settings     For more information about the camera   s AOI feature  see Section 9 6 on page 119     80 Basler ace    Pixel Data Formats    7 3 2 Bayer BG 8 Format    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 
83. Resend Mechanisms Combined    Figure 52 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 missing 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 52   In addition  resend request batching will not  occur     DIAGRAM IS NOT DRAWN TO SCALE     1   2   3   5   7   9   10   11                        Ko           ql 995  996  997  998  Y                                                                      1000 us 1004  1005  1006   1007  1008   1009   1010 1011  1012  1013  1014 ds 2997   2998                                       4   6   8   12      ig  52  Combination of Threshold Resend Mechanism and Timeout Resend Mechanism     1  S
84. SD 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 can be a primary cause of EMI problems      Use a line filter on the main power su
85. STrig signal falls  Figure 19 illustrates timed exposure with the  camera set for rising edge triggering     ExFSTrig Signal Period           ExFSTrig Signal jJ b Je         Exposure     duration determined by the  Exposure Time Absparameter           Fig  19  Timed Exposure with Rising Edge Triggering    Note that if you attempt to trigger a new exposure start while the previous exposure is still in  progress  the trigger signal will be ignored  and a Frame Start Overtrigger event will be generated   This situation is illustrated below for rising edge triggering     This rise in the trigger signal will be  ignored  and a Frame Start Overtrigger  event will be generated    ExFSTrig Signal               Exposure     duration determined by the  Exposure Time Abs parameter        Fig  20  Overtriggering with Timed Exposure    For more information about the Frame Start Overtrigger Event  seeSection 9 13 on page 149     For more information about the camera s Exposure Time Abs parameter  see Section 6 2 4 on  page 54     50 Basler ace    Image Acquisition Control    Trigger Width Exposure Mode    When trigger width exposure mode is selected  the length of the exposure will be directly controlled  by the ExFSTrig signal  If the camera is set for rising edge triggering  the exposure time begins  when the ExFSTrig signal rises and continues until the ExFSTrig signal falls  If the camera is set for  falling edge triggering  the exposure time begins when the ExFSTrig signal falls and c
86. UV 4 2 2  YUYV  Packed format on color cameras  see  Section 7 3 6 on page 90     78 Basler ace    Pixel Data Formats    7 3 Pixel Data Output Formats for  Color Cameras    7 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 32   the alignment of the Bayer filter with repect to the sensor is shown as an example only  the figure  shows the  BG  filter alignment   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      El a 8 e E E E Y El     8 O E O Bl     d  ERERERERERERERER  a a 8 E E O E Y El 9 El O El     El  ERA ERA ERE ERE ERA ERA ERE ER  El a 8 e E E E Y E     El O O O Bl      ERERERERERERERER  El a 8 e E E E Y E     El O E O Bl      EBERERERERERERERER  El a 8 a E E E Y E     8 O E O Bl      ERERERERERERERER  El i8  El  8  E  8   1  8  El I8  El i8  El I8 F3 i8   ERERERERERERERER  El a 8 e E E E Y E     El O E O Bl      ERERERERE
87. 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 SetValue 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 ace 193    Basler Network Drivers and Parameters    194 Basler ace    Network Related Camera Parameters and Managing Bandwidth    Appendix B   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     B 1 Network Related  Parameters in the Camera    The camera includes se
88. 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 19     170 Basler ace    Chunk Features    10 5 Trigger Input Counter    The Trigger Input Counter feature numbers external image acquisition triggers sequentially as they  are received  When the feature is enabled  a chunk is added to each image containing the related  value of the trigger input counter     The trigger input counter is a 32 bit value  On the first counting cycle  the counter starts at 1 and  increments by 1 for each received trigger  The counter counts up to 4294967295 unless it is reset  before  see below   After having reached the maximum value the counter will continue counting   starting at 0     Be aware that if the camera is operating in continuous frame mode  free run  the trigger input  counter will not be available     Note   The chunk mode must be active before you can enable the trigger input  counter feature or any of the other chunk feature  Making the chunk mode  inactive disables all chunk features     To enable the trigger input counter chunk     Use the Chunk Selector to select the Trigger Input Counter chunk   Use the Chunk Enable parameter to set the value of the chunk to true     Once the trigger input counter chunk is enabled  the camera will add a trigger input counter chunk  to each acquired image     To retrieve data from a chunk appended to an image that has been received by your P
89. a     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 visible 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 
90. a  valid frame start trigger  The camera will then execute an internal Acquisition Stop command  and will not react to a frame start trigger until a new Acquisition start command is executed     If the camera   s Acquisition Mode parameter has been set to Continuous and an Acquisition  Start command has been executed  the camera will begin image acquisition each time it  receives a valid frame start trigger  The camera will continue to react to frame start triggers  until an Acquisition Stop command has been executed     For more information about the Acquisition Mode and parameter and about Acquisition Start and  Acquisition Stop commands  see Section 6 1 on page 41     6 2 1 Trigger Mode    The main parameter associated with the frame start trigger is the Trigger Mode parameter  The  Trigger Mode parameter has two available settings  Off and On     6 2 1 1 Frame Start Trigger Mode   Off    When the Frame Start Trigger Mode parameter is set to Off  selection of a source signal for the  frame start trigger is not required  With the mode set to Off  the camera operates the frame start  trigger automatically     With the trigger mode set to Off  the way that the camera will operate the frame start trigger depends  on the setting of the camera s Acquisition Mode parameter     If the Acquisition Mode parameter is set to Single Frame  the camera will automatically  generate a single frame start trigger whenever it receives an Acquisition Start command     Ifthe Acquisition Mode pa
91. 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     If power for the I O input is supplied at 24 VDC  you can use a PLC power and  I O cable when the camera is not connected to a PLC device     See the following section for more information on PLC power and I O cables     A single  standard power and I O cable  is used to supply power to the camera and to connect to  the camera   s I O lines as shown in Figure 11  If you are supplying power to the camera via Power  over Ethernet  the cable will not be used to supply power to the camera  but still can be used to  connect to the I O lines     If you supply power to the camera via Power over Ethernet  PoE  and you also supply power to the  camera   s 6 pin connector via a standard power and I O cable  the camera will use the power  supplied to the 6 pin connector  Power supplied to the camera s 6 pin connector always has priority   and the power supplied to the 6 pin connector must meet the specifications outlined in the  Camera  Power  section of this manual     The end of the standard power and I O cable that connects to the camera must be terminated with  a Hirose micro plug  part number HR10A 7P 6S  or the equivalent  The cable must be wired to  conform with the pin assignments shown in the pin assignment table     The maximum length of the standard power and I O cable is at least 10 meters  The cable must be  shielded and m
92. al    The camera is equipped with one physical input line designated as input line 1  You can assign the  camera s input line to receive a externally generated frame start trigger  ExFSTrig  signal  The  incoming ExFSTrig signal can then be used to control image acquisition     Section 6 2 3 on page 49 explains how to configure the camera to react to a hardware trigger signal  and how to assign the input line to receive the hardware trigger signal     Note  By default  physical input line 1 is assigned to receive the ExFSTrig signal     Basler ace 95    1 0 Control    8 2 Configuring the Output Line    8 2 1 Assigning a Camera Output Signal to the  Physical Output Line    The camera is equipped with one physical output line designated as output line 1  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 physical output line 1  The camera has three standard output signals  available including     Frame Trigger Wait  Exposure Active  Timer 1    You can also designate the output line as  user settable     If the output line is designated as user  settable  you can use the camera   s API to set the state of the line as desired     To assign an output signal to the output line or to designate the line as user settable     Use the Line Selector to select output line 1     Set the value of the Line Source Parameter to one of the available output signals or to user  settable  This will set t
93. alculate 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     se 71  Bytes Frame     E oan Sze   x Packet Overhead      Payload Size      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  1 means round up x to the nearest integer             X    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     206 Basler ace    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 
94. ameRetention 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 the Installation and Setup Guide for Cameras  Used with Basler   s pylon API  AW000611xx000      184 Basler ace    Basler Network Drivers and Parameters    A 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  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 defa
95. and the bits will indicate the state of the lines  If a bit is O  it indicates that    104 Basler ace    1 O Control    the state of the associated line is currently low  If a bit is 1  it indicates that the state of the associated  line is current high     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  918  7  6 5  4 3  2   o        Fig  34  Line Status All Parameter Bits    Basler ace 105    1 0 Control    106 Basler ace    Standard Features    9 Standard Features    This section provides detailed information about the standard features available on each camera   It also includes an explanation of their operation and the parameters associated with each feature     9 1 Gain    The camera s gain setting is adjustable  As  shown in Figure 35  increasing the gain  increases the slope of the response curve for  the camera  This results in a higher gray  value output from the camera for a given  amount of output from the imaging sensor   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  4095  in modes that output 12 bits per pixels   is reached  For example  if you found that at  your brightest exposure the gray values  output by the camera were no higher than  127  
96. atile 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    Set the User Set Selector to User Set 1    Execute a User Set Save command to save the active set to the selected user set     Saving an active set to the user set in the camera   s non volatile memory will overwrite any  parameters that were previously saved in the 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 19     Basler ace 159    Standard Features    9 16 3 Loading 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 o
97. ay will be applied     The value of the Trigger Delay Abs parameter will determine the trigger delay     The trigger delay will not operate if the frame start trigger mode is set to off or if you are using a  software trigger     Basler ace 51    Image Acquisition Control    6 2 3 4 Setting the Hardware Trigger Related Parameters    You can set the all of parameters needed to perform hardware triggering from within your  application software by using the pylon API The following code snippet illustrates using the API to  set the parameter values and execute the commands related to software triggering with the camera  set for single frame acquisition mode  In this example  we will use the timed exposure mode with  rising edge triggering and we will use a trigger delay        Set the acquisition mode to single frame  Camera AcquisitionMode SetValue  AcquisitionMode SingleFrame        Select a trigger to work with    m    Camera        riggerSelector SetValue  TriggerSelector FrameStart        Set the mode for the selected trigger     m    Camera        riggerMode SetValue  TriggerMode On          Set the source for the selected trigger     m    Camera TriggerSource SetValue   TriggerSource Linel             Set the trigger activation mode to rising edge    m       Camera TriggerActivation SetValue  TriggerActivation RisingEdge             Set the trigger delay for one millisecond  double TriggerDelay us   1000 0    1000us    1ms    0 001s           P       Camera TriggerDelayAbs
98. 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 SetValue  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 19     132 Basler ace    Standard Features    9 11 Auto Functions    9 11 1 Common Characteristics    Auto functions control image properties and are the  automatic  counterparts of certain features  such as the gain feature or the white balance feature  which normally require  manually  setting 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     An Auto Functio
99. cable that both 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    If you supply power to the camera via Power over Ethernet  PoE  and you also supply power to the  camera s 6 pin connector via a PLC power and l O cable  the camera will use the power supplied  to the 6 pin connector  Power supplied to the camera s 6 pin connector always has priority  and the  power supplied to the 6 pin connector must meet the specifications outlined in the  Camera Power   section of this manual     Close proximity to strong magnetic fields should be avoided     Basler offers a PLC power and I O cable that is terminated with a 6 pin Hirose plug  HR10A 7P 6S   on the end that connects to the camera  The other end is unterminated  Contact your Basler sales  representative to order the cable     For information about the applicable voltage levels  see Section 5 7 1 1 on page 32     Basler ace 29    Physical Interface    5 5 Camera Power    Power can be supplied to the camera in either of two different ways     via Power over Ethernet  PoE   i e   via the Ethernet cable plugged into the camera   s RJ 45  connector     from a power supply via a power and I O cable  either a standard cable or a PLC cable   plugged into the camera   s 6 pin connector     Note that if you supply power to t
100. cifications  Requirements  and Precautions    1 3 Spectral Response    1 3 1    Mono Camera Spectral Response    The following graphs show the spectral response for each available monochrome camera model      D    1 0  0 9    Note    The spectral response curves excludes lens characteristics and light source  characteristics        0 8       0 7          0 6 7    0 5       0 4       0 3       Relative Response       0 2       0 1    0 0  400       500          600 700  Wave Length  nm     Fig  1  acA640 100gm Spectral Response       800       900    1000    Basler ace    Specifications  Requirements  and Precautions       1 0    0 9       0 8          0 7    0 6          0 5    0 4       Relative Response       0 3    0 2       0 1                               0 0  400 500 600 700 800 900 1000    Wave Length  nm     Fig  2  acA1300 30 gm Spectral Response    Basler ace 5    Specifications  Requirements  and Precautions    1 3 2 Color Camera Spectral Response    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 built into the standard C mount 
101. dow  White indicates that the status has not yet been checked     Receive window of the performance driver      2    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 request for packet 1002 is sent to  the camera  The camera does not respond with a resend      6  Interval defined by the Resend Response Timeout parameter      7  The Resend Response Timeout interval expires and a second 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      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     188 Basler ace    Basler Network Drivers and Parameters    Maximum Number Resend Requests   The Maximum Number Resend Requests parameter sets  the maximum number of resend requests the performance driver will send to the camera for each  missing
102. e     Use the Line Selector to select output line 1   Set the value of the Line Inverter parameter to true to enable inversion on the selected line or  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 19     98 Basler ace    1 O Control    8 2 4 Working with the Timer Signal    The camera has a timer output signal available called timer 1  The 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    __________  gt      Delay                                      Trigger source event occurs    Fig  33  Timer Signal    Currently  the only trigger source event available to start the timer is  exposure active   In ot
103. e 202     Formula 1   Calculates the maximum frame rate based on the sensor readout time     1    Max  F A      ax  Framesis      Rol Height C      C     Where     AOI Height   the height of the acquired frames as determined by the AOI Height settings   The constants C4 and Cy depend on the camera model as shown in the table below        Camera Model C4 C2       acA640 100gm gc 16 99 us 1376 35 us                   acA1300 30gm gc 29 84 us 2958 36 us       Formula 2     Calculates the maximum frame rate based on the exposure time for the acquired frames     1    Max  Frames s                                               Exposure time in us   C4    Where the constant C4 depends on the camera model as shown in the table below        Camera Model C5       acA640 100gm gc 24 00 us       acA1300 30gm gc 23 38 us                For more information about setting the exposure time  see Section 6 5 on page 65     Formula 3     Calculates the maximum frame rate based on the frame transmission time     Device Current Throughput Parameter Value  Max  Frames s   ee e Ee PEE E  Payload Size Parameter Value    68 Basler ace    Image Acquisition Control    Example    Assume that you are using an acA640 100gm 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 and the Payload Size parameters and found them to be 110000000 Bytes s    and 240000 Bytes respectively     Formula 1   
104. e 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  o Data   Data   CRC       Fig  49  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 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 Se
105. e Functional Description section of  this manual  the camera uses a 12 bit ADC to digitize  the output from the imaging sensor  When the camera  is set for a pixel format that outputs pixel data at 12 bit a Rb uu I pitt d m E  effective depth  by default  the camera transmits the   12 bits that are output from the ADC     ADC          M L   S S   pa No Shift 2   lt   gt     Shift by 1    When the camera is set to shift by 1  the output from  the camera will include bit 10 through bit 0 from the      ADC  ADC along with a zero as an LSB     D   bit bit bit bit bit bit bit bit bit bit  The result of shifting once is that the output of the 9 8 7 6 5 4 3 2 1 0  camera is effectively multiplied by 2  For example   assume that the camera is set for no shift  that it is       M  viewing a uniform white target  and that under these ls 5   conditions the reading for the brightest pixel is 100  l4 Shifted Once  gt         If you changed the digital shift setting to shift by 1   the reading would increase to 200     When the camera is set to shift by 1  the least significant bit output from the camera for each pixel  value will be 0  This means that no odd gray values can be output and that the gray value scale will  only include values of 2  4  6  8  10  and so on  This absence of some gray values is commonly  referred to as  missing codes      If the pixel values being output by the camera   s sensor are high enough to set bit 11 to 1  we  recommend not using shift by 1  If you do non
106. e Standard Factory Setup  the High Gain Factory Setup  or the Auto  Functions Factory Setup  or the user configuration sets stored in the camera   s non volatile memory  to be the  startup set   The configuration set that you designate as the startup set will be loaded into  the active set whenever the camera starts up at power on or after a reset     The User Set Default Selector is used to select the startup set   Set the User Set Default Selector to User Set 1 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 ace 161    Standard Features    162 Basler ace    Chunk Features    10 Chunk Features    This section provides detailed information about the chunk features available on each camera     10 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  traili
107. e 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 information about the location of the IR cut filter  see Section 1 4 2 on page 9     118 Basler ace    Standard Features    9 6 Area of Interest  AOI     The area of interest  AOI  feature lets you specify a portion of the 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 sensor array  The top left corner is  designated as column 0 and row 0 as shown in Figure 36     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 36     The camera will only transfer pixel data from within the area defined by your settings  Information  from the pixels outside of the area of interest is discarded                                                                                                                                                                                              
108. e of the Line Status parameter to determine the current state of the 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 1 and read the state  Camera LineSelector SetValue  LineSelector Outl             bool outputLinelState   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 19     8 3 2 Checking the State of All Lines    You can determine the current state of the input line and the output line with a single operation  To  check the state of both lines     Read the value of the Line Status All parameter     You can read the Line Status All parameter value from within 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 34  certain bits in the value are  associated with each line 
109. e 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 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 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 wit
110. e shift by 1  2  3  or 4 settings     116 Basler ace    Standard Features    9 4 4 Enabling and Setting Digital Shift    You can enable or disable the digital shift feature by setting the value of the Digital Shift parameter   When the parameter is set to zero  digital shift will be disabled  When the parameter is set to 1  2   3  or 4  digital shift will be set to shift by 1  shift by 2  shift by 3  or shift by 4 respectively     You can set the Digital Shift 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        Disable digital shift  Camera DigitalShift SetValue  0          Enable digital shift by 2  Camera DigitalShift SetValue  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 19     Basler ace 117    Standard Features    9 5 Integrated IR Cut Filter  on Color Models     Color models of the camera are equipped with an IR cut filter as standard equipment  The filter is  mounted inside of the lens adapter     Monochrome cameras do not include an IR cut filter in the lens adapter     NOTICE    On color cameras  the lens thread length is limited     Color models of the camera are equipped with an IR cut filter mounted inside of th
111. e that the  temperature does not exceed 50   C  Keep in mind that the camera will gradually become  warmer during the first hour of operation  After one hour  the housing temperature 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     12 Basler ace    Specifications  Requirements  and Precautions    1 8 Precautions       Avoid dust on the sensor     The camera is shipped with a protective plastic seal 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 protective seal in place when there is no lens mounted on the camera     NOTICE    On color cameras  the lens thread length is limited     Color models of the camera 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 4 2 on page 9     NOTICE    Voltage outside of the specified range can cause damage     1  If you are
112. e the  Reverse X  section                 136 Basler ace    Standard Features    0123 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                                                      Auto Function AOI                               3  COOL   a  an   Em                  DOO ado dancadi    Image AOI                                                                                                                                                                            Inmar          mre     a     16 17 18 19 20 21 22 23 24 25 26 27 28 29 30    0123456    8 9 10 11 12 13 14                                                                                                                                     Auto Function AOI                                                                               Ye    Image AOI                                                                                  J  J  1  Ard me i        b     0123 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                     Auto Function AOI                                           OF                 Image AOI                                                                                                                                                                                                                                                       Imm          o     c     012 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 
113. ed 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 acA640 100gm camera set for 3 by 3 binning as  described above  In this case  you would act as if you were actually working with a 219 column by  164 line sensor when setting your AOI parameters  The maximum AOI width would be 219 and the  maximum AOI height would be 164  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 for the AOI  you will be setting these values in terms of virtual sensor lines     For more information about the area of interest  AOI  feature  see Section 9 6 on page 119     124 Basler ace    Standard 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
114. eight parameter values    int64 t widthMax   Camera Width GetMax      int64 t widhInc   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 19     9 6 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 ace 121    Standard Features    9 7 Binning    Note  The binning feature is only available on the monochrome cameras     Binning increases the camera   s response to light by summing 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 p
115. elay 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 equivalent 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     Basler ace 101    1 0 Control    8 2 4 3 Setting the Timer Duration Time    There are two ways to set the duration time for timer 1  by setting  raw  values or by setting an   absolute value   You can use whichever method you prefer to set the duration time     Setting the Duration Time with Raw Values    When the duration time for timer 1 is set using  raw  values  the
116. eptacle      43 3 to  24    VDC       Camera  U  Vol  Out 1 Ctrl Usi  O  Out  1 eod  Signal  to You          Fig  15  Typical Voltage Output Circuit    38 Basler ace       Physical Interface    Figure 16 shows a typical circuit you can use to monitor the 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              Your Gnd       24  6 Pin VDC  Receptacle  Z output  Camera   mupul  Out 1 Ctrl 120 0 DIM lO Out 1  Your Gnd          Fig  16  Typical LED Output Signal at  24 VDC for the External Circuit  Example     By default  the camera s Exposure Active signal is assigned to Output Line 1     The assignment of a camera output signal to Output Line 1 can be changed by the user  For more  information about assigning camera output signals to Output Line 1  see Section 8 2 1 on page 96     For more information about output line pin assignments and pin numbering  see Section 5 2 on  page 24     For more information about the Exposure Active signal  see Section 6 2 5 on page 55     Basler ace 39    Physical Interface    5 7 2 3 Output Line Response Time    Response times for the output line on the camera are as shown below     Not to Scale    Level of  Camera   s  Internal Output l    Circuit    Voltage Present  on the Camera   s  Output Line       Time    Fig  17  Output Line Response Times    Time Delay Rise  TDR    40 us  Rise Time  RT    20 us to 70 us  Time 
117. era s performance in a network and about using  multiple cameras     Basler ace 17    Installation    18 Basler ace    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 stand alone 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 Basler s pylon Driver Package  You can download the pylon  package from the Basler website  www baslerweb com beitraege beitrag en 71708 html     For more information about using the viewer  see the Installation and Setup Guide for Cameras  Used with Basler   s pylon API  AW000611xx000   You can download the guide from the Basler  website  www baslerweb com indizes download index en 19627 html     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 
118. es 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 color coding  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 7 3 5 on  page 87     7 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  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 color coding  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 Y
119. ess 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 pylon API  AW000611xx000      For more information about installing the network drivers  see the Installation and Setup Guide for  Cameras Used with Basler   s pylon API  AW000611xx000      Basler ace 183    Basler Network Drivers and Parameters    A 1 The Basler Filter Driver    The Basler filter driver is a basic driver GigE Vision network driver  It is designed 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 
120. etheless  all bits output from the camera will  automatically be set to 1  Therefore  you should only use the shift by 1 setting when your pixel  readings with a 12 bit pixel format selected and with digital shift disabled are all less than 2048     112 Basler ace    Standard Features    Shift by 2  When the camera is set to shift by 2  the output  from the camera will include bit 9 through bit 0 ADC    from the ADC along with 2 zeros as LSBs     bit bit bit bit bit bit bit bit bit bit bit bit  9 8 7 6 5 4 3 2 1 0    The result of shifting twice is that the output of 1110    the camera is effectively multiplied by 4        When the camera is set to shift by 2  the 2 least  significant bits output from the camera for each 2 Shifted Twice E  pixel value will be O  This means that the gray   value scale will only include every 4th value  for   example  4  8  16  20  and so on        If the pixel values being output by the camera s sensor are high enough to set bit 10 or bit 11 to 1   we recommend not using shift by 2  If you do nonetheless  all bits output from the camera will  automatically be set to 1  Therefore  you should only use the shift by 2 setting when your pixel  readings with a 12 bit pixel format selected and with digital shift disabled are all less than 1024        Shift By 3   When the camera is set to shift by 3  the   output from the camera will include bit 8 ADC   through bit 0 from the ADC along with 3 IPRC che at ue be ot   zeros as LSBs  aS tt eg   The resul
121. every other image     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 latest 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             while 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       After you have set an auto function to  once  or  continuous  operation mode           allow reaching a target value for an image property  the auto function will try to    O  Ifan auto function is setto  once  operation mode and if the circumstances will not  reach the target value for a maximum of 30 images and will then be set to  off               134 Basler ace       Standard Features    9 11 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 senso
122. f 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     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 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 UserSetl          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 acquiring images continuously or does not  have a single image acquisition pending    Loading the Default Set with the Standard Factory Setup selected into the  active set is a good course of action if you have grossly misadjusted the  settings in the camera and you are not sure how to recover  The standard  factory setup is optimized for use in typical situations and will provide good  camera performance in most cases     160 Basler ace    Standard Features    9 16 4 Selecting the Startup Set    You can select the default configuration set  i e   whichever was selected as the default  configuration set  either th
123. ffectively multiplied by 8        If the pixel values being output by the camera s sensor  are high enough to set bit 9  bit 10  or bit 11 to 1  we  recommend not using shift by 3  If you do nonetheless   all bits output from the camera will automatically be set  to 1  Therefore  that you should only use the shift by 3  setting when your pixel readings with an 8 bit pixel format selected and with digital shift disabled are  all less than 32     LI  S   Shifted Three Times ed       Shift by 4    When the camera is set to shift by 4  the output from  the camera will include bit 7 through bit 0 from the    ADC  ADC           bit bit bit bit bit bit bit bit bit bit bit bit  The result of shifting four times is that the output of 41 10 9 8 7 6 5 4 3 2 1 0  the camera is effectively multiplied by 16        If the pixel values being output by the camera s  sensor are high enough to set bit 8  bit 9  bit 10  or bit  11 to 1  we recommend not using shift by 4  If you do  nonetheless  all bits output from the camera will    war    Shifted Four Times       Basler ace 115    Standard Features    automatically be set to 1  Therefore  you should only use the multiply by 4 setting when your pixel  readings with an 8 bit pixel format selected and with digital shift disabled are all less than 16     9 4 3 Precautions When Using Digital Shift    There are several checks and precautions that you must follow before using the digital shift feature   The checks and precautions differ depending on 
124. fferent  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     Contact Basler technical support if you need further assistance     Step 2   Set the Packet Size parameter on each camera as large as possible     204 Basler ace    Network Related Camera Parameters and Managing Bandwidth    Using the largest possible packet size has two advantages  it increases the efficiency of network  transmissions between the camera and the PC and it reduces the time required 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 frame
125. g signal on the state of the of the  Frame Trigger Wait signal  you can avoid overtriggering the camera     Figure 28 illustrates the Frame Trigger Wait signal with the camera set for the trigger width  exposure mode and with exposure and readout overlapped     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    Frame Trigger    Wait Signal  ExFSTrig  Signal    Image Acquisition N  Exposure   Readout                      Image Acquisition N 1  Exposure   Readout                Image Acquisition N Z    Exposure Readout    Reenter trent oa    Time             Fig  28  Frame Trigger Wait Signal    Note  O  The frame trigger wait signal will only be available when hardware triggering  is enabled     For more information about assigning the Frame Trigger Wait signal to output line 1  see  Section 8 2 1 on page 96     For more information about hardware triggering  see Section 6 2 3 on page 49     Basler ace 61    Image Acquisition Control    Using the Frame Trigger Wait Signal    When the camera is set for the timed exposure mode  it calculates the rise of the Frame Trigger  Wait signal based on the current Exposure Time Abs parameter setting and on when readout of the  current frame will end  This functionality is illustrated in Figure 29     If you are operating the camera in 
126. g_en_71708 html     For more information about installing pylon software  see the installation and Setup Guide for  Cameras Used with Basler   s pylon API  AW000611xx000   You can download the guide from the  Basler website  www baslerweb com indizes download_index_en_19627 html     20 Basler ace    Camera Functional Description    4 Camera Functional  Description    This 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 chapters of the user   s manual     4 1 Overview    Each camera provides features such as a full frame shutter and electronic exposure time control     Exposure start and exposure time 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  frame start trigger   ExFSTrig   signal applied to the camera s input line  The ExFSTrig signal facilitates periodic or non periodic  acquisition start  Modes are available that allow the length of exposure time to be directly controlled  by the ExFSTrig 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  accumulated  charges are transported from the sensor s 
127. gital values output for the  pixels     Setting the Black Level    The black level can be adjusted by changing the value of the Black Level Raw parameter  The Black  Level Raw parameter value can range from 0 to 255 on all camera models     To set the Black Level Raw parameter value   Set the Black Level Selector to Black Level All   Set the Black Level Raw parameter to your desired value     You can set the Black Level Selector and the Black Level 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 BlackLevelSelector SetValu   BlackLevelSelector All             Camera BlackLevelRaw SetValue  32          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 19     110 Basler ace    Standard Features    9 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
128. gs   For more information about the Gain feature  see Section 9 1 on page 107     For more information about the maximum allowed frame rate and disabling the frame rate limit  see  Section 6 6 on page 67 and Section 6 6 1 on page 70     Disabling Parameter Limits    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 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 feature        Camera RemoveLimits SetValue  true             Select the feature whose factory limits will be disabled   Camera ParameterSelector SetValue  ParameterSelector Framerate          Disable the limits for the selected feature           Camera RemoveLimits SetValue  true       Basler ace 147    Standard Features    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 m
129. h 1  Bm 1 Y value for Ph  Bm V value for Ph 1          90    Basler ace    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   Hexadecimal     Indicates This Signal Level   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   Hexadecimal     Indicates This Signal Level   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     Basler ace    91    Pixel Data Formats    7 3 7 Mono 8 Format    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 p
130. h 2  Bm 3 Low byte of brightness value for P  4  Bm 2 High byte of brightness value for P  4  Bm 1 Low byte of brightness value for P   Bm High byte of brightness value for Ph  74    Basler ace    Pixel Data Formats    When the camera is set for Mono 12  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 Mono12 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              D    Basler ace    Note    A camera that is set for Mono 12 has only 12 effective bits out of the 16 bits  transmitted for each pixel  The leader of each transmitted frame will indicate  Mono 12 as the pixel format     75    Pixel Data Formats    7 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 P
131. h 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 parameter 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 ace 199    Network Related Camera Parameters and Managing Bandwidth    Device Current Th
132. hange     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      Basler ace 205    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 camera  If you are operating the camera in a relatively EMI free  environment  you may find that a bandwidth reserve of 2  or 3  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 c
133. hat is too long will result in rejecting valid  signals                 Note that the debouncer delays a valid signal between its arrival at the camera and its transfer  The  duration of the delay will be determined by the debouncer value     Basler ace 35    Physical Interface    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    Debouncer              I   I T T       I  debouncer I  value I  I       Transferred valid signal    I    l  delay  TIMING CHARTS ARE NOT DRAWN TO SCALE    Fig  14  Filtering of Input Signals by the Debouncer    Setting 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    To set the debouncer     Use the Line Selector to select input line1   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 LineDebouncerTime
134. he camera via Power over Ethernet  PoE  and you also supply  power to the camera   s 6 pin connector  the camera will use the power supplied to the 6 pin  connector  Power supplied to the camera   s 6 pin connector always has priority  and the power  supplied to the connector must meet the specifications outlined below     Via PoE  If are supplying power via PoE  the power provided must adhere to the requirements specified in  IEEE 802 3af     Power consumption is as shown in the specification tables in Section 1 of this manual     From a Power Supply to the 6 Pin Connector  Camera power can be provided from a power supply to the camera   s 6 pin connector via a standard  power and I O cable or via a PLC power and I O cable     Nominal operating voltage is  12 VDC    10   with less than one percent ripple  Power  consumption is as shown in the specification tables in Section 1 of this manual     Close proximity to strong magnetic fields should be avoided        Voltage outside of the specified range can cause damage     If the voltage of the power to the camera is greater than  13 2 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 6 pin connector     The plug on the cable that you attach to the camera   s 6 pin connector must have 6 female pins   Using a plug designed for a smaller or a larger number of pins can damage the  connector        For more information about the 
135. he source signal for the output line     Note  By default  the Exposure Active signal is assigned to output line 1     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       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 19     For more information about setting the state of a user settable output line  see Section 8 2 2 on  page 97     For more information about working with a timer output signal  see Section 8 2 4 on page 99  For more information about the exposure active signal  see Section 6 2 5 on page 55     For more information about the frame trigger wait signal  see Section 6 4 on page 59     96 Basler ace    1 O Control    8 2 2 Setting the State of a User Settable Output Line    As mentioned in the previous section  you can designate the camera   s output line as  user settable      If you have designated the output line as user settable  you can use camera parameters to set the  state of the line     Setting the State of a User Settable Output 
136. her  words  you can use exposure start to trigger the start of the timer     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     8 2 4 1 Setting the Trigger Source for the Timer    To set the trigger source for a timer     Use the Timer Selector to select timer 1     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 19     Basler ace 99    1 0 Control    8 2 4 2 Setting the Timer Delay Time    There are two ways to set the delay time for timer 1  by setting  raw  values or by setting an   absolute value   You can use whichever method you prefer to set the delay time     Setting the Delay Time with Raw Values    When the dela
137. igh when the exposure time for each  image acquisition begins and goes low when the exposure time ends as shown in Figure 22  This  signal can be used as a flash trigger and 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 us to3 5 us   gt   lt  d 2 us to 3 5 us  gt   lt   i    ti 10 us to 26 ps     y 10 us to 26 E  ExpAc u H   Hs to 26 Us         Signal          Timing charts are not drawn to scale  Times stated are typical    Fig  22  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 22 for details     The exposure active output signal can be assigned to camera output line 1  For more information  about changing which camera output signal is assigned to the output line  see Section 8 2 1 on  page 96     For more information about the electrical characteristics of the camera s output line  see  Section 5 7 2 on page 38     Basler ace
138. il est conforme aux normes Classe A pour bruits radio  lectriques  sp  cifi  es dans le  Reglement 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 515  Fax    49 4102 463 599    bc support europe baslerweb com    Americas     Basler  Inc    855 Springdale Drive  Suite 203  Exton  PA 19341   U S A     Tel    1 610 280 017 1  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  Val MOGGIS a k eet oaths Mig enti ad ies de
139. iled 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 19     Basler ace 131    Standard Features    9 10 Gamma Correction    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 factor  y  is applied to the brightness value  Y  of each pixel  according to the following formula     Y Y    uncorrected  Y corrected     Y   xY    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 
140. in an 8 bit mode   you could increase the    Gray Values    4095 255   12 bit    8 bit          0 25 50 100  Sensor Output Signal        Fig  35  Gain in dB    gain to 6 dB  an amplification factor of 2  and thus reach gray values of 254     Basler ace    107    Standard 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 adjusts the Gain Raw parameter value automatically     For more information about auto functions  see Section 9 11 1 on page 133     For more information about the Gain Auto function  see Section 9 11 2 on  page 140                 The camera   s gain is determined by the value of the Gain Raw parameter  Gain Raw is adjusted on  a decimal scale  The minimum decimal setting varies depending on the camera model and on  whether vertical binning is enabled  see Table 10   The maximum setting depends on whether the  camera is set for a pixel data format that yields 8 bit effective pixel depth  Mono 8  Bayer BG 8  YUV  4 2 2 Packed  YUV 4 2 2  YUYV  Packed  or yields an effective pixel depth of 12 bits per pixel   Mono 12  Mono 12 Packed  Bayer BG 12  Bayer BG 12 Packed               Camera Model Min Setting Min Setting with Max Setting Max Setting  Vertical Binning  8 bit depth   16 bit depth    mono cameras   acA640 100gm gc 120 120 1023 600  scA1300 30 gm gc 300 200 1023 600                         Table 10
141. is digitized by the ADC at 12 bit depth  Whenever the camera  is set for a 12 bit pixel format  e g   Mono 12   the 12 bits transmitted out of the camera for each  pixel normally represent the 12 bits reported by the camera   s ADC  The luminance lookup table  feature lets you use a custom 12 bit to12 bit lookup table to map the 12 bits reported out of the ADC  to 12 bits that will be transmitted by the camera     The lookup table is essentially just a list of 4096 values  however  not every value in the table is  actually used  If we number the values in the table from O through 4095  the table works like this     The number at location 0 in the table represents the 12 bits that will be transmitted out of the  camera when the ADC 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 bits that will be transmitted out of the  camera when the ADC 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 bits that will be transmitted out of the  camera when the ADC 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 bits that will be transmitted out of the  camera when the ADC reports that a pixel has a value of 24     And so on     As you can see  the table does not include a user defi
142. 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 acquired 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     For more information about the Bayer filter  see Section 7 3 1 on page 79     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 Pg Bo Green value for Po  B4 Green value for P4 B4 Red value for P4
143. ish 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     10 Basler ace    Specifications  Requirements  and Precautions    1 6 Avoiding EMI and E
144. 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     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 Frequency parameter value  This value indicates the number of clock ticks  per second     Frame Transmission Delay  read write     Sets a delay in ticks  one tick   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     Ba
145. ition N 1       Exposure Readout             Image Acquisition N 2                                  Exposure   Readout  Image Acquisition N 3  Exposure Readout  Time    Fig  24  Overlapped Exposure and Readout    56 Basler ace    Image Acquisition Control    Determining whether your camera is operating with overlapped or non overlapped exposure and   readout 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 and readouts are overlapped or not   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 not overlap when  Frame Period  gt  Exposure Time   Readout Time  Exposure will overlap when  Frame Period  lt  Exposure Time   Readout Time    You can determine the readout time by reading the value of the Readout Time Abs parameter  The  parameter indicates what the readout time will be in microseconds given the camera   s current  settings  You can get the Readout Time Abs parameter value from within your application software  by using the pylon API  The following code snippet illustrates using the API to get the parameter  value     double ReadoutTime   Camera ReadoutTimeAbs 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
146. ixel  Figure 37 illustrates  vertical binning     Vertical Binning by 2 Vertical Binning by 3 Vertical Binning by 4    eE HERRDHER    THEE   IHE  ISI    rrr CXII   r2 r3 rn fun n A i LEE                                                                                                                               EDEDEUDOD   OG Oo Oa oO  Co  ODEDUDOUD  Goo                                                                                                                                                                                                                                  Fig  37  Vertical Binning    With horizontal binning  adjacent pixels from 2 columns  3 columns  or a maximum of 4 columns are  summed and are reported out of the camera as a single pixel  Figure 38 illustrates horizontal bin   ning     122 Basler ace    Standard Features    Horizontal Binning by 2 Horizontal Binning by 3 Horizontal Binning by 4                                                                                                                                                                                                                                                                      Oo dbbodoo  aaeanoa             Dogg  53 5 8 55                                                                                              EA Aa L101 1 11 L ELLIILI                  Fig  38  Horizontal Binning    You can combine vertical and horizontal binning  This  however  may cause objects to appear di
147. ixel 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 equivalent 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 Pg   B4 Y value for P4   Bo Y value for P5   B3 Y value for Pz   By Y value for P4   Bs Y value for P5   Be Y value for Pg   B  Y value for P7         e     e     Bm 3 Y value for Ph 3   Bm 2 Y value for P2   Bm 1 Y value for P4   Bm Y value for Ph  92    Basler ace    Pixel Data Formats    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 
148. l 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     Basler ace 153    Standard Features    Test Image 6   Moving Diagonal Color Gradient    The moving diagonal color gradient 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 46  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  46  Test Image Six    154 Basler ace    Standard Features    9 15 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 camera vendor   s name    Device Model Name  read only    contains the model name of the camera     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 camer
149. l the  camera  There are three basic types of configuration  sets  the active set  the default factory set  and user  sets     The Active Set    The active set contains the camera   s current  parameter settings and thus determines the camera   s  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 set  The active 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     Non volatile  Memory   Flash     Standard Features    Volatile  Memory   RAM         0023    A  Default Set    Standard  Factory Setup    High Gain           Factory Setup        Auto Functions  Factory Setup       The Default Set    y Fig  47  Configuration Sets  When a camera is manufactured  numerous tests are E s    performed on the camera and three factory optimized  setups are determined  The three factory optimized setups are     The Standard Factory Setup   is optimized for average conditions and will provide good  camera performance in many common applications  In the standard factory setup  the gain is  set to a low value  and all auto functions are set to off     The High Gain Factory Setup   is similar to the standard factory setup  but the gain is set to   6 dB     The Auto Functions Factory Setup   is similar to the standard factory setup  but the Gain Auto  and the Exposure Auto auto functions are bo
150. larly  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 50   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 50 the resend request batching threshold is set  at 80  of the span     The resend 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  Suppo
151. lector 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             176 Basler ace    Chunk Features       Camera ChunkSelector SetValue  ChunkSelector PayloadCRC16     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  lt  lt   Image corrupted    lt  lt  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     For more information about the pylon Viewer  see Section 3 1 on page 19     Basler ace 177    Chunk Features    178 Basler ace    Troubleshooting and Support    11 Troubleshooting and Support    This section outlines the resources available to you if you need help working with your camera     11 1 Tech Support Resources    If yo
152. lens adapter on color  models of the camera                          Relative Response                               400 450 500 550 600 650 700  Wave Length  nm     Fig  3  acA640 100gc Spectral Response    6 Basler ace    Specifications  Requirements  and Precautions                            Relative Response  o  al          0 0  400                      450 500 550 600 650 700  Wave Length  nm     Fig  4  acA1300 30gc Spectral Response    Basler ace    Specifications  Requirements  and Precautions    1 4 Mechanical Specifications    The camera housing conforms to protection class IP30 assuming that the lens mount is covered by  a lens or by the protective plastic seal that is shipped with the camera     1 4 1 Camera Dimensions and Mounting Points    The camera dimensions in millimeters are as shown in Figure 5     Camera housings are equipped with mounting holes on the bottom as shown in the drawings                                                                                                                                                                                                                                                                                                                                                                          5 77 20  15 23 7  dimension for M3     A   al    T 2x M2  4 deep  e m  E   E ee   5 5 x cnet  N  o M3  3 deep x  CN  Na E  2x M2  3 deep i y  A A 2x M2  3 deep   2xM3 3deep     16 5 22  dimension for M2  6 6  t be   nnt 
153. ler ace    Pixel Data Formats    73    Pixel Data Formats    7 2 2 Mono 12 Format    When a monochrome camera is set for the Mono12 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 Mono12 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 byte 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   Be Low byte of brightness value for P3  B  High byte of brightness value for P3  Bg Low byte of brightness value for P4  Bg High byte of brightness value for P4  e    e    e    Bm 7 Low byte of brightness value for P  4  Bm 6 High byte of brightness value for Pp 3  Bm 5 Low byte of brightness value for P  2  Bm 4 High byte of brightness value for P
154. lication  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             174 Basler ace    Chunk Features    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 19     Basler ace 175    Chunk Features    10 7 CRC Checksum    The CRC  Cyclic Redundancy Check  Checksum feature adds a chunk 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  Th
155. light sensitive elements  pixels  to the vertical shift  registers  see Figure 7 on page 22   The charges from the bottom line of pixels in the array are then  moved into a horizontal shift register  Next  the charges are shifted out of the horizontal register  As  the charges move out of the horizontal shift register  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   After each voltage has been amplified and  digitized  it passes through an FPGA and into an image buffer  All shifting is clocked according to  the camera s internal data rate  Shifting continues in a linewise 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     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     Basler ace 21    Camera Functional Description           
156. n Area of Interest  Auto Function AOI  lets you designate a specific part of the  image as the base for adjusting an image property  Each auto function uses the pixel data from an  Auto Function AOI for automatically adjusting a parameter value and  accordingly  for controlling  the related image property  Some auto functions use their own individual Auto Function AOI and  some auto functions share a single Auto Function AOI     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 value will be automatically adjusted  For  example  the gain auto function lets you set an average gray value for the image as a target value  and also set a lower and an upper limit for the gain parameter value     Generally  the different auto functions can operate at the same time  For more information  see the  following sections describing the individual auto functions        pertinent camera settings and with the general circumstances used for capturing    O  A target value for an image property can only be reached if it is in accord with all  images  Otherwise  the targe
157. n for each camera model        Camera Model    db Gain at Min Setting    db Gain at Max Setting   8 bit depth     db Gain at Max Setting   12 bit depth        acA640 100gm gc    4 3    36 7    21 5          acA1300 30gm gc       10 8       36 7          21 5       Table 11  Minimum and Maximum dB of Gain    Basler ace    109    Standard Features    9 2 Black Level    Adjusting the camera   s black level will result in an offset to the pixel values output by the camera   Increasing the black level setting will result in a positive offset in the digital values output for the  pixels  Decreasing the black level setting will result in a negative offset in the digital values output  for the pixels     If the camera is set for a pixel data format that yields 8 bit effective pixel depth  Mono 8  Bayer BG  8  YUV 4 2 2 Packed  YUV 4 2 2  YUYV  Packed   an increase of 64 in the black level parameter  setting will result in a positive offset of 1 in the digital values output for the pixels  And a decrease  of 64 in the setting will result in a negative offset of 1 in the digital values output for the pixels     If the camera is set for a pixel data format that yields an effective pixel depth of 12 bits per pixel   Mono 12  Mono 12 Packed  Bayer BG 12  Bayer BG 12 Packed   an increase of 4 in the black level  parameter setting will result in a positive offset of 1 in the digital values output for the pixels  A  decrease of 4 in the setting will result in a negative offset of 1 in the di
158. n stop command     If the camera is not in the process of acquiring a frame  its ability to acquire frames will be  terminated immediately     If the camera is in the process of acquiring a frame  the frame acquisition process will be  allowed to finish and the camera   s ability to acquire new frames will be terminated     The camera   s Acquisition Mode parameter has two settings  single frame and continuous     If the camera   s Acquisition Mode parameter is set for single frame  after an Acquisition Start  command has been issued to the camera  a single frame can be acquired  When acquisition of one  frame is complete  the camera will internally issue an Acquisition Stop command and can no longer  acquire frames  To acquire another frame  you must issue a new Acquisition Start command     If the camera   s Acquisition Mode parameter is set for continuous frame  after an Acquisition Start  command has been issued to the camera  frame acquisition can be triggered as desired  Each time  a valid frame trigger is applied  the camera will acquire and transmit a frame  The camera will retain  the ability to acquire frames until an Acquisition Stop command has been issued to the camera   Once the Acquisition Stop command is received  the camera can no longer acquire frames     Basler ace 41    Image Acquisition Control    Setting the Acquisition Mode and Issuing Start Stop Commands    You can set the Acquisition Mode parameter value and you can issue Acquisition Start or  Acquisi
159. ndwidth 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 x Y Bytes    Bandwidth Assigned                                              Frame X Packet     1 1 1    X Packets   Y Bytes _ 8 ns l     X Packets _ 1  x  IPD x 8 ns     Frame Packet Byte Frame  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 considering 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   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    196 Basler ace    Network Related Camera Parameters and Managing Bandwidth    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
160. ned 12 bit value for every pixel value that the  sensor can report  So what does the camera do when the ADC reports a pixel value thatis 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 ADC  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 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 ADC  reports a value above 4088  the camera will not be able to perform an interpolation  In cases where  the ADC 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 ofthe camera  The graphs below show the effect 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 digitized 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 digitized 
161. nformation about minimum allowed and maximum possible exposure time  see Section 6 5 on    page 65     Basler ace    143    Standard Features    9 11 4 Auto Function Profile    If you want to use the gain auto function and the exposure auto function at the same time  you must  also set the auto function profile  The auto function profile assigns priorities between related auto  functions  i e   the auto function profile specifies whether gain or exposure time will be kept as low  as possible during adjustments until a target average gray value for the pixel data of the related Auto  Function AOI is reached     To use the gain auto function and the exposure auto function at the same time  carry out the  following steps     1  Set the auto function profile to specify whether gain or exposure time shall be minimized during  adjustments    2  Set the gain auto function to the  continuous  mode of operation    3  Set the exposure auto function to the  continuous  mode of operation    You can set the auto function profile from within your application software by using the pylon API     The following code snippets illustrate using the API to set the auto function profile  As an example   Gain Auto is set to be minimized during adjustments           Use GainAuto and ExposureAuto simultaneously  Camera AutoFunctionProfile SetValue  AutoFunctionProfile GainMinimum       Camera GainAuto SetValue  GainAuto Continuous             Camera ExposureAuto SetValue  ExposureAuto Continuous      
162. ng 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 is  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 ace 163    Chunk Features    10 2 Making 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 Trigger Input Counter  the Time Stamp  the Line Status All   and the CRC Checksum 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 y
163. ng the Pixel Data Format       Mono Camera  Model    Mono 8    Mono 12    Mono 12  Packed    YUV 4 2 2  Packed    YUV 4 2 2  YUYV   Packed       acA640 100gm       acA1300 30gm                         Table 8  Pixel Formats Available on Monochrome Cameras       format available        Color Camera  Model    Mono 8    Bayer  BG 8    Bayer  BG 12    Bayer BG 12  Packed    YUV 4 2 2  Packed    YUV 4 2 2  YUYV   Packed       acA640 100gc          acA1300 30gc                               Table 9  Pixel Formats Available on Color Cameras      format available     Details of the monochrome formats are described in Section 7 2 on page 72 and details of the color  formats are described in Section 7 3 on page 79     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 PixelFormat SetValue  PixelFormat Mono8     Camera PixelFormat SetValue  PixelFormat Monol2Packed     Camera PixelFormat SetValue  PixelFormat Monol2     Camera PixelFormat SetValue  PixelFormat YUV422Packed     Camera PixelFormat SetValue  PixelFormat YUV422 YUYV Packed       Basler ace    71    Pixel Data Formats    Camera PixelFormat SetValue  PixelFormat BayerBG8       Camera PixelFormat SetValue  PixelFormat BayerBG12       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 
164. nt 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 requested pieces of  information and with the requested files attached  Basler technical support contact information is  shown in the title section of this manual     1 The camera   s product ID        2 The camera s serial number        3   Network adapter that you use  with the camera           4 Describe the problem in as much  detail as possible            If you need more space   use an extra sheet of paper         5 If known  whats the cause  of the problem              6 When did the problem occur     After start     While running        After a certain action  e g   a change of parameters                  180 Basler ace    Troubleshooting and Support    7 How often did does the problem fr Once  fr Every time   occur      Regularly when          Occasionally when                 8 How severe is the problem     Camera can still be used     r7 Camera can be used after   take this action              Camera can no longer be used     9 Did your application ever run r Yes r No  without problems     10 Parameter set    It is very important for Basler technical Support to get a copy of the exact camera parameters that  you were using when the problem occurred     To make note of the parameters  use
165. ocumentation included with the pylon package              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 in 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      14 Basler ace    Specifications  Requirements  and Precautions    To clean the surface of the camera housing  use a soft  dry cloth  To remove severe stains  use a  soft cloth dampened with a small quantity of neutral detergent  then wipe dry     Do not use solvents or 
166. of the Auto Function AOI    If necessary  set the lower and upper limits for the auto functions   s parameter value   If necessary  set the target value    If necessary  set the auto function profile to define priorities between auto functions   Enable the auto function by setting it to  once  or  continuous      For more information about the individual settings  see the sections below that describe the  individual auto functions     Basler ace    139    Standard Features    9 11 2 Gain Auto    Gain Auto is an auto function and the  automatic  counterpart of the manual gain feature  When the  gain auto function is operational  the Gain Raw  All  parameter value is automatically adjusted  within set limits  until a target average gray value for the pixel data from Auto Function AOI1 is  reached     The gain auto function uses Auto Function AOI1 and can be operated in the  once  and continuous   modes of operation     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  All  parameter value will control the image brightness     When the gain auto function is used  the exposure auto function can be used at the same time  In  this case  however  you must also set the auto function profile feature     For more information about gain  see Section 9 1 on page 107    For more information about the auto f
167. on Viewer application to easily set the parameters   For more information about the pylon Viewer  see Section 3 1 on page 19     The frame trigger wait output signal can be assigned to camera output line 1  For more information  about changing which camera output signal is assigned to the output line  see Section 8 2 1 on  page 96     For more information about the electrical characteristics of the camera   s output line  see  Section 5 7 2 on page 38     64 Basler ace    Image Acquisition Control    6 5 Acquisition Timing Chart    Figure 31 shows a timing chart for image acquisition and transmission  The chart assumes that  exposure is triggered by an externally generated frame start trigger  ExFSTrig  signal with rising  edge activation and that the camera is set for the timed exposure mode     As Figure 31 shows  there is a slight delay between the rise of the ExFSTrig 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 CCD 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 
168. on about the pylon Viewer  see Section 3 1 on page 19     Comparing Counter Chunk Data    When comparing trigger input counter data and frame counter data related to the same image  be  aware that the trigger input counter initially starts at 1 whereas the frame counter starts at 0   Therefore  the trigger input count will always be ahead of the matching frame count by one if both  counters were started at the same time and if an image was acquired for every trigger     Whenever the counters restart after having reached 4294967295 they will both start another  counting cycle at 0  Accordingly  the difference between matching counts will always be one   regardless of the number of counting cycles     Note that if both counters were started at the same time and not reset since and if the trigger input  counter is ahead of the matching frame counter by more than one  the camera was overtriggered  and not all external triggers resulted in image acquisitions     Trigger Input Counter Reset    Whenever the camera is powered off  the trigger input counter will reset to O  During operation  you  can reset the trigger input counter via I O input 1 or software  and you can disable the reset  By  default  the trigger input counter reset is disabled     To use the trigger input counter reset     Configure the trigger input counter reset by setting the counter selector to Counter1 and setting  the counter event source to FrameTrigger     Set the counter reset source to Line1  to Software 
169. onnector     The recommended mating connector is any standard 8 pin RJ 45 plug  Cables terminated with  screw lock connectors are available from Basler  Contact your Basler sales representative to order  cable assemblies     Suitable cable assemblies are also available from  for example  Components Express Inc  and from  the Intercon 1 division of Nortech Systems  Inc     To ensure that you order cables with the correct connectors  note the horizontal orientation of the  screws before ordering     5 3 2 6 pin Connector    The 6 pin connector on the camera is a Hirose micro receptacle  part number HR10A 7R 6PB  or  the equivalent     The recommended mating connector is the Hirose micro plug  part number HR10A 7P 6S  or the  equivalent     26 Basler ace    Physical Interface    5 4 Cabling Requirements    5 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     5 4 2 Standard Power and I O Cable    Note   O  The standard power and I O cable is intended for use if the camera is not  connected to 
170. onnectors                                            6 pin ai  Receptacle      pn  RJ 45  Jack                            Fig  9  Camera Connectors    Basler ace 23    Physical Interface    5 2 Connector Pin Assignments  and Numbering    5 2 1    6 pin Receptacle Pin Assignments  amp  Numbering    The 6 pin receptacle is used to access the physical input line and physical output line on the    camera  It is also used to supply power to the camera  if PoE is not used      The pin assignments for the receptacle are shown in Table 2        Pin    Designation       1     12 VDC Camera Power       1 0 Input 1       Not Connected       1 0 Out 1       1 0 Ground          2  3  4  5  6       DC Camera Power Ground          Table 2  Pin Assignments for the 6 pin Receptacle    The pin numbering for the 6 pin receptacle is as shown in Figure 10               P                                        Fig  10  Pin Numbering for the 6 pin Receptacle    24                               Basler ace    Physical Interface    5 2 2 RJ 45 Jack Pin Assignments  amp  Numbering    The 8 pin RJ 45 jack provides a Gigabit Ethernet connection to the camera   The jack can also be used to provide Power over Ethernet  IEEE 802 3af compliant  to the camera     Pin assignments and pin numbering adhere to the Ethernet standard and IEEE 802 3af     Basler ace 25    Physical Interface    5 3 Connector Types    5 3 1 8 pin RJ 45 Jack    The 8 pin jack for the camera   s Ethernet connection is a standard RJ 45 c
171. onsiderations 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     When using vertical binning  the limits for the minimum gain settings are automatically lowered  This  allows you to use lower gain settings than would otherwise be available     For the lowered limits for the minimum gain settings  see Section 9 1 on page 107     Reduced Resolution    Using binning effectively reduces the resolution of the camera   s imaging sensor  For example  the  sensor in the acA640 100gm camera normally has a resolution of 659  H  x 494  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 219  H  by 164  V    Note that neither dimension of the sensor was evenly divisible by  3  SO we rounded down to the nearest whole number      Possible Image Distortion    Objects will only appear undistorted in the image if the numbers 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 compar
172. ontinues until  the ExFSTrig signal rises  Figure 21 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     ExFSTrig Signal Period     a  Exposure  l4      ExFSTrig Signal    Fig  21  Trigger Width Exposure with Rising Edge Triggering    a          When you operate the camera in trigger width exposure mode  you must also set the camera   s  Exposure Overlap Time Max Abs parameter  This parameter setting will be used by the camera to  operate the Frame Trigger Wait signal     You should set the Exposure Overlap Time Max Abs parameter value to represent the shortest  exposure time you intend to use  For example  assume that you will be using trigger width exposure  mode and that you intend to use the ExFSTrig signal to vary the exposure time in a range from 3000  us to 5500 us  In this case you would set the camera   s Exposure Overlap Time Max Abs parameter  to 3000 us     For more information about the Frame Trigger Wait signal and the Exposure Overlap Time Max Abs  parameter  see Section 6 4 on page 59     6 2 3 3 Trigger Delay    The trigger delay feature lets you specify a delay  in microseconds  that will be applied between the  receipt of a hardware trigger and it becoming effective     The trigger delay may be specified in the range from 0 to 10000000 us  equivalent to 10 s   When  the delay is set to O us  no del
173. ore information about the pylon Viewer  see Section 3 1 on page 19     148 Basler ace    Standard Features    9 13 Event Reporting    Event reporting is available on the camera  With event 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 three types of situations     A  frame start overtrigger  has occurred  An  end of exposure  has occurred  An  event overrun  has occurred    An Example of Event Reporting    As an example of how event reporting works  assume that  frame start overtrigger  event reporting  has been enabled in the camera  Also assume that the camera has received a frame start trigger  while it is currently in the process of acquiring a frame  In this case     1  An  frame start overtrigger event  is created  The event contains     An Event Type Identifier  In this case  the identifier would show that a frame start overtrigger  type event has occurred     A Stream Channel Identifier  Currently this identifier is always 0     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   8 ns  The timestamp is a 64 bit value      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 i
174. our 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 the 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    164 Basler ace    Chunk Features    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 Offse
175. parameter settings  Changing  the parameters can have a significant negative effect on the performance of  the adapter and the driver     192 Basler ace    Basler Network Drivers and Parameters    Transport Layer Parameters    The transport layer parameters are part of the camera   s basic GigE implementation  These  parameters do not normally require 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 received     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   O  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  
176. pply     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        Installations provides much more detail about avoiding EMI and ESD   The application note can be downloaded at   www baslerweb com indizes download_index_en_31412 html    O  The Basler application note called Avoiding EMI and ESD in Basler Camera                Basler ace 11    Specifications  Requirements  and Precautions    1 7 Environmental Requirements    1 7 1 Temperature and Humidity    Housing temperature during operation  0   C      50   C   32   F      122   F     Humidity during operation  20       80    relative  non condensing  Storage temperature   20   C      80   C   4   F      176   F   Storage humidity  20       80    relative  non condensing    1 7 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 sur
177. pylon Viewer application to easily set the parameters   For more information about the pylon Viewer  see Section 3 1 on page 19     7 2 Pixel Data Formats for Mono Cameras    7 2 1 Mono 8 Format    When a monochrome camera is set for the Mono 8 pixel data format  it outputs 8 bits of brightness  data per pixel     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 Mono8 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 Byte Data   Bo Brightness value for Po        B4 Brightness value for P4        B gt  Brightness value for P5 Bm 4 Brightness value for Ph 4  B3 Brightness value for P3 Bm 3 Brightness value for P  3  B4 Brightness value for P4 Bm 2 Brightness value for P          Bm 1 Brightness value for P          Bm Brightness value for Ph                            With the camera set for Mono8  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     72 Basler ace                                        This Data Value Indicates This Signal Level   Hexadecimal   Decimal   OxFF 255  OxFE 254  e               0x01 1  0x00 0  Bas
178. r P2  B  Y value for P3  Bg U value for P4  Bo Y value for P4  Bio V Value for P4  B4 Y value for P5   e     e     e     Bm 7 U value for P _3  Bm 6 Y value for P 3  Bm 5 V Value for Pj   Bm 4 Y value for Py 2  Bm 3 U value for Ph 1  Bm 2 Y value for Ph 1  Bm 1 V Value for Ph 14  Bm Y value for Ph          88    Basler ace    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   Hexadecimal     Indicates This Signal Level   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   Hexadecimal     Indicates This Signal Level   Decimal                                                  OxFF 127  OxFE 126     F     n  A A  0x81 1  0x80 0  Ox7F  1  n    R F  i  gt   0x01  127  0x00  128          The signal level of a U component or a V component can range from  128 to  127  decimal   Notice    that the data values have been arranged to represent the full signal level range     Basler ace    89    Pixel Data Formats    7 3 6 YUV 4 2 2  YUYV  Packed Forma
179. r array  The top left corner is  designated as column 0 and row 0 as shown in Figure 36     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 36     Only the pixel data from within the area defined by your settings will be used by the related auto  function     Column  012 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30       Row 0                                  Offset                                  co No a A c0 N             Auto  Function  Area of  Interest                Height                                        Image  Area of  Interest                                                                                                                                                                                                                                     X Offset    Fig  43  Auto Function Area of Interest and Image Area of Interest    Basler ace 135    Standard 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
180. rameter is set to Continuous Frame  the camera will automatically  begin generating frame start triggers when it receives an Acquisition Start command  The  camera will continue to generate frame start triggers until it receives an Acquisition Stop  command  This mode of operation is commonly called  free run  because the camera will  acquire and transmit frames continuously without the need for triggering by the user     The rate at which the frame start triggers are generated will be determined by the camera   s  Acquisition Frame Rate Abs parameter   If the parameter is not enabled  the camera will generate frame start triggers at the  maximum allowed frame rate given the current camera settings     If the parameter is enabled and is set to a value less than the maximum allowed frame  acquisition rate given the current camera settings  the camera will generate frame start  triggers at the rate specified by the parameter setting     If the parameter is enabled and is set to a value greater than the maximum allowed frame  acquisition rate given the current camera settings  the camera will generate frame start  triggers at the maximum allowed frame rate     Basler ace 43    Image Acquisition Control    Exposure Time Control with the Frame Start Trigger Off    When the frame start trigger mode is set to off  the exposure time for each frame acquisition is  determined by the value of the camera   s Exposure Time Abs parameter     For more information about the camera   s Exposu
181. re Time Abs parameter  see Section 6 2 4 on  page 54     6 2 1 2 Frame Start Trigger Mode   On    When the Frame Start Trigger Mode parameter is set to on  you must select a source signal to serve  as the frame start trigger  The Frame Start Trigger Source parameter specifies the source signal   The available selections for the Frame Start Trigger Source parameter are     Software   When the frame start trigger source is set to software  the user triggers frame start  by issuing a TriggerSoftware command to the camera from the host PC     Line 1   When the line start trigger source is set to line 1  frame acquisition start is triggered by  applying an externally generated frame start trigger signal  commonly referred to as a  hardware trigger signal  to physical input line 1 on the camera     Note  By default  input line 1 is selected as the source signal for the Frame Start  Trigger     For more information about using a software trigger to control frame start  see Section 6 2 2 on  page 46     For more information about using a hardware trigger to control frame start  see Section 6 2 3 on  page 49     Exposure Time Control with the Frame Start Trigger Off    When the Frame Start Trigger Mode parameter is set to On and the Trigger Source parameter is  set to Software  the exposure time for each frame acquisition is determined by the value of the  camera   s Exposure Time Abs parameter     When the Frame Start Trigger Mode parameter is set to On and the trigger source is set 
182. re tim     we plan to use is 1500 us          Camera  ExposureOverlapTimeMaxAbs SetValue  1500        Prepare for image capture  Camera AcquisitionStart Execute           Prepare for image acquisition here          Camera AcquisitionStart Execute      while     finished            Frame acquisition will start each time the externally generated     frame start trigger signal  ExFSTrig signal  goes high          Retrieve the captured images          Camera AcquisitionStop 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 19     Basler ace 53    Image Acquisition Control    6 2 4 The Exposure Time Abs Parameter    Several of the camera   s image acquisition modes require you to specify an exposure time setting   The exposure setting must not be set below a minimum specified value  The minimum exposure  time setting for each camera model is shown in Table 6     The maximum possible exposure time that can be set is also shown in Table 6                          Camera Model Minimum Allowed Maximum Possible  Exposure Time Exposure Time  acA640 100gm gc 16 us 10000000 us  acA1300 30gm gc 22 us 10000000 us       Table 6  Minimum Allowed Exposure Time Setting and Maximum Possible Exposure Time Setting    The Exposure Time Abs parameter is used 
183. re tim  xposureTimeAbs SetValue  3000                Prepare for image acquisition here  Camera AcquisitionStart Execute      while     finished                   Camera TriggerSoftware Execute           Retrieve acquired image here       Camera AcquisitionStop Execute        Basler ace    47    Image Acquisition Control    The following code snippet illustrates using the API to check the acquisition status        Set the acquisition status selector       Camera AcquisitionStatusSelector  SetValue    AcquisitionStatusSelector FrameTriggerWait          Read the acquisition status  bool IsWaitingForFrameTrigger   Camera AcquisitionStatus 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 19     48 Basler ace    Image Acquisition Control    6 2 3 Using a Hardware Frame Start Trigger    6 2 3 1 Introduction    Ifthe camera s Frame Start Trigger Mode parameter is setto On and the Frame Start Trigger source  parameter is set to Line 1  an externally generated frame start trigger  ExFSTrig  signal applied to  the camera s physical input line 1 will control image acquisition  A rising edge or a falling edge of  the ExFSTrig signal can be used to trigger image acquisition     The ExFSTrig signal can be periodic or non periodic  When the camera i
184. recommend that you read and follow the precautions     1 1 Models    The current Basler ace GigE Vision camera models are listed in the top row of the specification  tables on the next pages 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 ace 1    Specifications  Requirements  and Precautions    1 2 General Specifications       Specification    acA640 100gm gc    acA1300 30gm gc                       at full resolution        Sensor Size gm  659 x 494 gm  1296 x 966    H x V pixels  gc  658 x 492 gc  1294 x 964   Sensor Type Sony ICX618 ALA AQA Sony ICX445 AL AQ  Progressive scan CCD   Optical Size 1 4  1 3    Pixel Size 5 6 um x 5 6 um 3 75 um x 3 75 um   Max  Frame Rate 100 fps 30 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  Mono 12  Mono 12 Packed    YUV 4 2 2 Packed  YUV 4 2 2  YUYV  Packed       Color Models           Mono 8 Bayer BG 12 Packed   Bayer BG 8 YUV 4 2 2 Packed   Bayer BG 12 YUV 4 2 2  YUYV  Packed  ADC Bit Depth 12 bits      
185. reen value for Py Bo Low byte of red value for P4   B3 High byte of green value for Py B3 High byte of red value for P4   B4 Low byte of blue value for P3 B4 Low byte of green value for P   Bs High byte of blue value for P5 Bs High byte of green value for P2  Be Low byte of green value for P3 Be Low byte of red value for P3   B7 High byte of green value for Pz B7 High byte of red value for P3       e     e e e     e   e     Bm 7 Low byte of blue value for Ph 3 Bm 7 Low byte of green value for Ph 3  Bm 6 High byte of blue value for P  4 Bm 6 High byte of green value for P  3                            Basler ace 83    Pixel Data Formats                                                       Bm 5 Low byte of green value for Ph 2 Bm 5 Low byte of red value for P     Bm 4 High byte of green value for Ph 2 Bm 4 High byte of red value for P   gt   Bm 3 Low byte of blue value for Py Bm 3 Low byte of green value for P     Bm 2 High byte of blue value for P  _4 Bm 2 High byte of green value for P  4  Bm 1 Low byte of green value for P  Bm 1 Low byte of red value for Ph   Bm High byte of green value for Ph Bm High byte of red value for P              When the camera is set for Bayer BG 12  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
186. roughput  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 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 
187. s   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 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      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 c
188. s   torted in the image  For more information on possible image distortion due to combined vertical and  horizontal binning  see below     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 software 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 ace 123    Standard Features    9 7 1 C
189. s a 32 bit value  As shown in Figure 48  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  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 1 state    Indicates input line 1 state        31 30 29 26 27 26 25  24 23 22  21 20  19  18  17  16  15 14 13  12  11 10  9  8  7  e 5   4  32  10     Fig  48  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     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  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 included 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 app
190. s 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 acknowledgement  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     Basler ace 149    Standard Features    However  if you are operating the camera at high frame rates and with a small AOI height  the  camera may be able to generate and queue events faster 
191. s operating under control  of a ExFSTrig signal  the period of the ExFSTrig signal will determine the rate at which the camera  is acquiring images     1                                                    Acquisition F Rat  ExFSTrig period in seconds x E    For example  if you are operating a camera with an ExFSTrig signal period of 20 ms  0 020 s      1  Feet TE f  0 020   50 Ps    So in this case  the acquisition frame rate is 50 fps     When you are triggering image acquisition with an ExFSTrig 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 ExFSTrig signal  see Section 6 2 1 2 on page 44     For more information about determining the maximum allowed acquisition frame rate  see  Section 6 6 on page 67     Basler ace 49    Image Acquisition Control    6 2 3 2 Exposure Modes    If you are triggering exposure start with an externally generated frame start trigger  ExFSTrig   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 Abs parameter  If the camera is set for rising edge triggering  the exposure  time starts when the ExFSTrig signal rises  If the camera is set for falling edge triggering  the  exposure time starts when the ExF
192. se 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 50   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 ace 187    Basler Network Drivers and Parameters    Timeout Resend Mechanism Parameters  The timeout resend mechanism is illustrated in Figure 51 where the following assumptions are  made     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 Requests parameter is set to 3     DIAGRAM IS NOT DRAWN TO SCALE     1   2   3   5   7   9   11   12   13     ENEEMEMMNM    B   i i i e   lt    995  996  997  998  e 1001  1003   1004  1005  1006  1007  1008  1009  1010  1011  1012  1013  1014  1015 als 2997  2998                                                                                                                Time    V               7     4   6   8   10   14                  gt        Fi    g  51  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 win
193. selected as an example   e exposure auto function and selecting  for example  the  continuous  mode of       Select the appropriate auto function AOI for luminance statistics       Currently AutoFunctionAOISelector AOI1 is predefined to gather       luminance statistics       Set  Camera  Camera  Camera    Camera     position and size of the auto function AOI        AutoFunctionAOISelector SetValue  AutoFunctionAOISelector AOIL      AutoFunctionAOIOffsetX SetValue  0      AutoFunctionAOIOffsetY SetValue  0       AutoFunctionAOIWidth SetValue  Camera AutoFunctionAOIWidth GetMax         Camera AutoFunctionAOIHeight SetValue  Camera AutoFunctionAOIHeight GetMax            Set          Camera    Camera       Set    xposure time limits for luminance control     AutoExposureTimeAbsLowerLimit SetValue  1000                    AutoExposureTimeAbsUpperLimit SetValue  1 0E6          Camera    target value for luminance control      AutoTargetValue SetValue  128                Set    Camera     mode of operation for exposure auto function             ExposureAuto SetValue  ExposureAuto Continuous       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 9 11 on page 133     For information about Auto Function AOls and how to set them  see Section 9 11 1 2 on page 135     For i
194. sensor  output moves from 0 through 2048 and increases gradually as the digitized sensor output moves  from 2049 through 4096     Basler ace 129    Standard Features    4095   12 Bit SUE  Camera   Output 5648   1024   0    0 1024 2048 3072 4095  12 Bit Digitized Sensor Reading    Fig  41  Lookup Table with Values Mapped in a Linear Fashion    4095  3072  12 Bit  Camera  Output 2048  1024  0    0 1024 2048 3072 4095  12 Bit Digitized Sensor Reading    Fig  42  Lookup Table with Values Mapped for Higher Camera Output at Low Sensor Readings    130    Basler ace    Standard 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 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 a camera output with 12 bits effective  you set the camera for a pixel format that results   in 8 bit output  e g   Mono 8   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 drop the 4 least significant bits of the converted value and  will transmit the 8 most significant bits     Changing the Values in the Luminance Lookup Table and Enabling the Table    Yo
195. set them  see Section 9 11 1 2 on page 135     Basler ace    141    Standard Features    9 11 3 Exposure Auto    Exposure Auto is an auto function and the  automatic  counterpart to manually setting theExposure  Time Abs parameter  The exposure auto function automatically adjusts the Exposure Time Abs  parameter value within set limits  until a target average gray value for the pixel data from Auto  Function AOI1 is reached     The exposure auto function uses Auto Function AOI1 and can be operated in the  once  and  continuous  modes of operation     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 Exposure Time Abs parameter value will control the image brightness     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 be used at the same time  In  this case  however  you must also set the auto function profile feature        If the Auto Exposure Time Abs Upper Limit parameter is set to a sufficiently high  value the camera s frame rate may be decreased                 For more information the Exposure Time Abs parameter and related limitations  see Section 6 5 on  page 65     For more information about exposure modes and how to select them  see Section 6 2 3 on page 49     For more information
196. sition mode     he acquisition mode to single frame  cquisitionMode SetValue  AcquisitionMode SingleFrame       t a trigger to work with       riggerSelector SetValue  TriggerSelector FrameStart       he mode for the selected trigger       riggerMode SetValue  TriggerMode On          he source for the selected trigger       riggerSource SetValue   TriggerSource Software       or the timed exposure mod          xposureMode SetValue   ExposureMode Timed                Camera E     Prepa  Camera A  Camera T     Retri    h xposure tim  xposureTimeAbs SetValue  3000          re for image capture       cquisitionStart Execute           riggerSoftware Execute        eve the captured image    The following code snippet illustrates using the API to set the parameter values and execute the  commands related to software triggering with the camera set for continuous frame acquisition    mode        Set t    he acquisition mode to continuous frame    Camera AcquisitionMode SetValue  AcquisitionMode Continuous          Selec  Camera T     Set t    Camera        Set t    m       Camera      Set f  Camera E       Set t    t a trigger to work with       riggerSelector SetValue  TriggerSelector FrameStart     he mode for the selected trigger    riggerMode SetValue  TriggerMode On             he source for the selected trigger    riggerSource SetValue   TriggerSource Software          or the timed exposure mod          xposureMode SetValue   ExposureMode Timed                Camera E    h xposu
197. sler 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 Buffer 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     PANES    An Adapter Properties window will open  Click the Advanced tab     Note   O  We strongly recommend using the default 
198. 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 CCD 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     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     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  acA640 100gm gc 17 62 us  acA1300 30gm gc 34 50 us       Table 7  Exposure Start Delays    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 7 to determine the total start delay  For example   assume that you are using an acA640 100 camera and that you have set the cameras for hardware  triggering  Also assume that 
199. 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 been 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                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         Basler ace 169    Chunk Features    For detailed information about using the pylon API  refer to the Basler pylon Programmer   s Guide  and API Reference     
200. t    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 byte in the buffer                                                                                  Byte Data   Bo Y value for Po  B4 U value for Po  Bo Y value for P4  B3 V value for Po  By Y value for P5  Bs U value for P3  Be Y value for P3  B7 V value for P5  Bg Y value for P4  Bg U value for P4  Bio Y value for P5  B4 V value for P4              e     Bm 7 Y value for P4   Bm 6 U value for P  3  Bm 5 Y value for P2  Bm 4 V value for Ph 3  Bm 3 Y value for P  4  Bm 2 U value for P
201. t 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     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 AttachBuffer   unsigned char   Result Buffer     Result GetPayloadSize        int64 t offsetX   Camera ChunkOffsetX GetValue      int64 t offsetY   Camera ChunkOffsetY GetValue      int64 t width   Camera ChunkWidth GetValue      int64 t height   Camera ChunkHeight GetValue      int64         Gh oct set  er    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 ace    165    Chunk Features    10 3 Frame Counter    The Frame Counter feature numbers images sequentially as they are acquired  When the feature  is enabled  a chunk is added to each image
202. t by the camera   s sensor are high enough to set bit 8  bit 9  bit 10  or  bit 11 to 1  we recommend not using shift by 4  If you do nonetheless  all bits output from the camera  will automatically be set to 1  Therefore  you should only use the shift by 4 setting when your pixel  readings with a 12 bit pixel format selected and with digital shift disabled are all less than 256     9 4 2 Digital Shift with 8 Bit Pixel Formats    No Shift    As mentioned in the Functional Description section of  this manual  the camera uses a 12 bit ADC to digitize  the output from the imaging sensor  When the camera  is set for a pixel format that outputs pixel data at 8 bit  effective depth  by default  the camera drops the 4  least significant bits from the ADC and transmits the 8  most significant bits  bit 11 through 4      Shift by 1    When the camera is set to shift by 1  the output from  the camera will include bit 10 through bit 3 from the  ADC     The result of shifting once is that the output of the  camera is effectively multiplied by 2  For example   assume that the camera is set for no shift  that it is  viewing a uniform white target  and that under these  conditions the reading for the brightest pixel is 10  If  you changed the digital shift setting to shift by 1  the  reading would increase to 20     114    ADC    bit bit bit bit bit bit bit bit bit bit bit  109 8 7 6 5 4 3 2 1 O0       Not Shifted       ADC    bit bit bit bit bit bit bit bit bit bit bit  9 8 7 6 5 4 3 2 1 0
203. t of shifting 3 times is that the   output of the camera is effectively multiplied IM L    S S    Dy D  F Shifted Three Times 2        When the camera is set to shift by 3  the 3   least significant bits output from the camera   for each pixel value will be 0  This means that the gray value scale will only include every 8th gray  value  for example  8  16  24  32  and so on     If the pixel values being output by the camera s sensor are high enough to set bit 9  bit 10  or bit 11  to 1  we recommend not using shift by 3  If you do nonetheless  all bits output from the camera will  automatically be set to 1  Therefore  you should only use the shift by 3 setting when your pixel  readings with a 12 bit pixel format selected and with digital shift disabled are all less than 512     Basler ace 113    Standard Features    Shift By 4    When the camera is set to shift by 4  the  output from the camera will include bit 7  through bit 0 from the ADC along with 4    ADC    bit bit bit bit bit bit bit bit bit bit bit bit  zeros as LSBs  11 10 9 7 6 5 4 3 2 1 0    The result of shifting 4 times is that the  output of the camera is effectively  multiplied by 16     When the camera is set to shift by 4  the 4  least significant bits output from the    Um    S  B  l4       Shifted Four Times B       camera for each pixel value will be 0  This means that the gray value scale will only include every    16th gray value  for example  16  32  48  64  and so on     If the pixel values being outpu
204. t value will only be approached     For example  with a short exposure time  insufficient illumination  and a low setting  for the upper limit of the gain parameter value  the Gain Auto function may not be  able to achieve the current target average gray value setting for the image           only   An auto function uses the binned pixel data and controls the image property    O  You can use an auto function when binning is enabled  monochrome cameras  of the binned image              For more information about binning  see Section 9 7 on page 122     Basler ace 133       Standard Features    9 11 1 1 Modes of Operation    The following auto function 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 acquired     Depending on the current frame rate  the automatic adjustments will usually be carried out for  every or 
205. ter                  99  transition threshold                              32  33  transmission start delay                             65  trigger  delay      2        oL tide 51  trigger input counter chunk     167  171  172   POSE   i a aT 172  trigger width exposure mode                     51  U  user configuration set                              158  user output selector                                   97  user output value parameter                     97   Basler ace    V  ventilatiOl zsce oett orte ete 12  vertical DINNING                        seessss 122  VIG WET e di 19  W  Weight nenin Eee etes 3  white balance  explained                                eeeess 111  SCUING ss frien veda enti hee Goes 111    white balance auto  see balance white auto    write timeout parameter                           193  Y   YUV 422  YUYV  packed pixel   A A e POE  78  90  YUV 422 data range    89  YUV 422 packed pixel format              78  87  Basler ace    Index    217    Index    218 Basler ace    
206. ters and Managing Bandwidth    B 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 53         Single Path    Fig  53  Multiple Cameras on a Network    One way to manage the situation where multiple cameras are sharing a single network path is to  make 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 quick 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
207. th enabled and are set to the continuous mode of  operation  During automatic parameter adjustment  gain will be kept to a minimum     The factory setups are saved in permanent files in the camera   s non volatile memory  They are not  lost when the camera is reset or switched off and they cannot be changed     You can select one of the three factory setups to be the camera   s  default set   Instructions for  selecting which factory setup will be used as the default set appear below  Note that your selection  of which factory setup will serve as the default set will not be lost when the camera is reset or  switched off     When the camera is running  the default set can be loaded into the active set  The default set can  also be designated as the  startup  set  i e   the set that will be loaded into the active set whenever  the camera is powered on or reset  Instructions for loading the default set into the active set and for  designating which set will be the startup set appear below     Basler ace 157    Standard Features    User Set    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 the  settings from the current active set to a reserved area in the camera   s non volatile memory  A  configuration set that has been saved in the non volatile memory is not lost when the camera is  reset or switched off  There is one reserved
208. than they can be transmitted and  acknowledged  In this case    1  The queue 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  event  overrun event  and place it in the queue     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 
209. 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     150 Basler ace    Standard Features    9 14 Test Images    All cameras include the 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 a 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 wi
210. 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 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 Fr
211. the timed exposure mode  you can avoid overtriggering by always  making sure that the Frame Trigger Wait signal is high before you trigger the start of frame capture     Frame Trigger            Wait Signal    ExFSTrig  Signal          The rise ofthe Frame Trigger  Wait signal is based on the  end of frame readout and on  the current Exposure Time  Abs parameter setting    Image Acquisitipn N    Exposure Readout    e i a  Exp  Time Setting             Image Acquisition N 1  Exposure   Readout                     gt   Exp  Time Setting         Image Acquisition N 2  Exposure Readout    AAA    Time          Fig  29  Frame Trigger Wait Signal with the Timed Exposure Mode    62 Basler ace    Image Acquisition Control    When the camera is set for the trigger width exposure mode  it calculates the rise of the Frame  Trigger Wait signal based on the Exposure Overlap Time Max Abs parameter setting and on when  readout of the current frame will end  This functionality is illustrated in Figure 30     Frame Trigger            Wait Signal    ExFSTrig  Signal          The rise of the Frame Trigger    Image Acquisition N                                           E  Readout Wait signal is based on the  Xposure SESS  end of frame readout and on   gt    the current Exposure Overlap  Exp  Overlap Time     Time Max parameter setting  Max Abs Setting    Image Acquisition N 1  Exposure     Readout  LL    Exp  Overlap Time    Max Abs Setting  Image Acquisition N 2  Exposure Readout    Time    Fig
212. thin 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 test 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 19     Basler ace 151    Standard 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 45     The mathematical expression for this test image     Gray Value    column number   row number  MOD 256             Fig  45  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 acquisition is initiated  The  test pattern uses a counter that increments by one
213. thinners to clean the housing  they can damage the surface finish     Read the manual    Read the manual carefully before using the camera     Basler ace 15    Specifications  Requirements  and Precautions    16 Basler ace    Installation    2 Installation    The information you will need to do a quick  simple installation of the camera is included in the Ace  Quick Installation Guide  AWO00xxxxx000   You can download the Quick Installation Guide from the  Basler website  www baslerweb com indizes download_index_en_19627 html     More extensive information about how to perform complicated installations is included in the  Installation and Setup Guide for Cameras Used with Basler   s pylon API  AW000611xx000      You can download the Installation and Setup Guide for Cameras Used with Basler   s pylon API from  the Basler website  www baslerweb com indizes download index en 19627 html     The install and setup guide includes extensive information about how to install both hardware and  software and how to begin capturing images  It also describes the recommended network adapters   describes the recommended 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 cam
214. tion Control    Situation 2   You have the camera set for the trigger width exposure mode  the camera is operating  with exposure and sensor readout overlapped  and you attempt to end exposure for a new image  while pixel data for the previously captured image is still being read out of the sensor  This situation  is illustrated in Figure 27 for a rising edge frame start trigger signal     ExFSTrig                  Signal            Image Acquisition N                                                 Exposure   Readout    Image Acquisition N 1    Exposure Readout    eee Ss LU This exposure was ended while the readout  i for acquisition N 1 was still in progress  The  j image will be dropped and a Frame Start  Overtrigger event will be generated   Exp  i Image Acquisition N 3  Exposure Readout  Time    Fig  27  Overtriggering in Trigger Width Exposure Mode    60 Basler ace    Image Acquisition Control    The Frame Trigger Wait Signal    To help you avoid these overtrigger situations  the camera supplies a Frame Trigger Wait output  signal  This output signal can be assigned to output line 1 on the camera     As you are acquiring images  the camera automatically calculates the earliest moment that it is safe  to trigger each new acquisition  The Frame Trigger Wait signal will go high when it is safe to trigger  an acquisition  will go low when the acquisition has started  and will go high again when it is safe to  trigger the next acquisition  If you base your use of the ExFSTri
215. tion Stop commands from within your application software by using the pylon API  The code  snippet below illustrates using the API to set the Acquisition Mode parameter value and to issue an  Acquisition Start command  Note that the snippet also illustrates setting several parameters  regarding frame triggering  These parameters are discussed later in this chapter     Camera    Camera   Camera   Camera   Camera   Camera     Camera     Camera     AcquisitionMode SetValue  AcquisitionMode SingleFrame          TriggerSelector SetValu    i       TriggerSource SetValu             ExposureMode  SetValue         ExposureTimeAbs SetValu      TriggerSelector FrameStart       PriggerMode SetValue  TriggerMode On         TriggerSource Linel          TriggerActivation SetValue  TriggerActivation RisingEdge          ExposureMode Timed         3000              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     For more information about the pylon Viewer  see Section 3 1 on page 19     42    Basler ace    Image Acquisition Control    6 2 Frame Start Triggering    The frame start trigger is used to begin image acquisition     If the camera   s Acquisition Mode parameter has been set to Single Frame and an Acquisition  Start command has been executed  the camera will begin image acquisition when it receives 
216. to Line 1   the exposure time for each frame acquisition can be controlled with the Exposure Time Abs  parameter or controlled by manipulating the hardware signal     For more information about controlling exposure time when using a software trigger  see  Section 6 2 2 on page 46     For more information about controlling exposure time when using a hardware trigger  see  Section 6 2 3 on page 49     44 Basler ace    Image Acquisition Control    6 2 1 3 Setting The Frame Start Trigger Mode and Related Parameters    You can set the Trigger Mode parameter value from within your application software by using the  pylon API  If your settings make it necessary  you can also set the Trigger Source parameter     The following code snippet illustrates using the API to set the Frame Start Trigger Mode to On and  the Trigger Source to Line 1        Select a trigger to work with    Camera TriggerSelector SetValue  TriggerSelector FrameStart             Set the mode for the selected trigger    m    PriggerMode SetValue  TriggerMode On          Camera        Set the source for the selected trigger    a          Camera TriggerSource SetValue   TriggerSource Linel       The following code snippet illustrates using the API to set the Frame Start Trigger Mode to Off  the  Acquisition Mode to Continuous  and the Acquisition Frame Rate to 60        Set the acquisition mode to continuous frame  Camera AcquisitionMode SetValue  AcquisitionMode Continuous          Select a trigger to work with     
217. 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 StreamChannel0             PacketSize  Camera GevSCPSPacketSize SetValue  1500             Inter packet Delay  Camera GevSCPD SetValue  1000          Frame transmission Delay  Camera GevSCFTD SetValue  1000          Bandwidth Reserve  Camera GevSCBWR SetValue  10       200 Basler ace    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       Basler ace    For detailed information about using the pylon API  refer to the Basler pylon Programmer   s Guide  and API Reference     201    Network Related Camera Parame
218. 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 50 where the following  assumptions are made     Packets 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            985  986  987  988  989  990  991  992 993  994  995  99611000  1001  1003 Es 1006   1007    I                                                                                                           gt     Time    Fig  50  Example of a Receive Window with Resend Request Threshold 8 Resend Request Batching Threshold     1  Front end of the receive window  Missing packets are detected here      2  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      3  Receive window of the performance driver     4  Threshold for sending resend requests  resend req
219. to set the exposure time for any image acquisition  modes that require an exposure time setting  The Exposure Time Abs parameter sets the exposure  time in microseconds  The parameter can be set in increments of 1 microsecond     You can use the pylon API to set the Exposure Time Abs parameter value from within your  application software  The following code snippet illustrates using the API to set the parameter value        Camera ExposureTimeAbs 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 parameter     For more information about the pylon Viewer  see Section 3 1 on page 19        Note  The exposure time parameter cannot 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 the exposure time  The exposure auto function automatically adjusts the  Auto Exposure Time Abs parameter value     The automatic adjustment is not available when trigger width exposure mode is  selected   For more information about auto functions  see Section 9 11 1 on page 133     For more information about the Exposure Auto function  see Section 9 11 3 on  page 142                 54 Basler ace    Image Acquisition Control    6 2 5 The Exposure Active Signal    The camera   s    exposure active     ExpAc  output signal goes h
220. tream 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  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        TA         Interval defined by the Resend Response Timeout parameter      5  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 the 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    190 Basler ace    Basler Network Drivers and Parameters     9     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      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        
221. u 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  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 deta
222. u 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  application notes on the Basler website at   www baslerweb com indizes beitrag_index_en_22089 html    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     11 2 Obtaining an RMA Number    Whenever you want to return material to Basler  you must request a Return Material Authorization   RMA  number before sending it back  The RMA number must be stated in your delivery  documents when you ship your material to us  Please be aware that if you return material without  an RMA number  we reserve the right to reject the material     You can find detailed information about how to obtain an RMA number on the Basler website at   www baslerweb com beitraege beitrag_en_79701 html    Basler ace 179    Troubleshooting and Support    11 3 Before Contacting Basler  Technical Support    To help you as quickly and efficiently as possible when you have a problem with a Basler camera   it is importa
223. uest threshold      5  A separate resend request 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     186 Basler ace    Basler Network Drivers and Parameters    Resend Request Threshold   This parameter determines the location of the resend request  threshold within the receive window as shown in Figure 50  The parameter value is in per cent of  the width of the receive window  In Figure 50 the resend request threshold is set at 33 33  of the  width of the receive window     A stream of packets advances packet by packet beyond the resend request threshold  i e  to the  left of the resend request threshold in Figure 50   As soon as the position where a packet is missing  advances beyond the resend request threshold  a resend request is sent for the missing packet     In the example shown in Figure 50  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  Simi
224. uired for every trigger     Whenever the counters restart after having reached 4294967295 they will both start another  counting cycle at 0  Accordingly  the difference between matching counts will always be one   regardless of the number of counting cycles     Note that if both counters were started at the same time and not reset since and if the trigger input  counter is ahead of the matching frame counter by more than one  the camera was overtriggered  and not all external triggers resulted in image acquisitions     Frame Counter Reset    Whenever the camera is powered off  the frame counter will reset to 0  During operation  you can  reset the frame counter via I O input 1 or via software  and you can disable the reset  By default   the frame counter reset is disabled     To use the frame counter reset     Configure the frame counter reset by setting the counter selector to Counter2 and setting the  counter event source to FrameStart   Set the counter reset source to Line1  to Software  or to Off     Execute the command if using software as the counter reset source   You can set the frame counter reset parameter values from within your application software by using    the pylon API  The following code snippets illustrate using the API to configure and set the frame  counter reset and to execute a reset via software        configure reset of frame counter    Camera CounterSelector SetValue  CounterSelector Counter2                Camera CounterEventSource SetValue  Counter
225. uirements                     30  32  precautions                  eesssssseeeeeeeeneee 13  protection claSS          cccccccccconooococococnccncnnnn 8  pylon APl oooooooccccncccccnconnnnnonnnncconccnnncnnninnnos 20  pylon Viewer                 ssssssessseeeeee 19  R  read timeout parameter                           193  readout time abs parameter                 57  66  receive descriptors                           sssses  204  receive window seese 185  receive window size parameter               186  reduced resolution                                   124  resend request batching parameter         187  resend request response timeout  Para Mete 20    eee ee eee eeee eee eeeeeeeeeeeeeeeeeees 189  resend request threshold parameter       187  resend timeout parameter                        189  response to light                           sssssssse  124  resulting frame rate parameter                200  return material authorization                    179  reverse X  explained  aif te ets 126  RMA number                               esseeeess 179  S  saving parameter sets                      157  159  sensor  architecture eseese 22  optical size                    sesssssssseessesse 2  Zi 1 2  lVDG n pee o  2  sensor height parameter                          155  sensor width parameter                           155  serial number                          seeeneeee 14  sets of parameters  saving                      159    216    software development kit                   
226. ult set     To select which factory setup to serve as the default set     Set the Default Set Selector to the Standard Factory Setup  High Gain Factory Setup or Auto  Functions Factory Setup     You can set the Default Set Selector from within your application software by using the pylon API   The following code snippet illustrates using the API to set the selector     158 Basler ace    Standard Features    If you want to select the Standard Factory Setup     Camera DefaultSetSelector SetValue  DefaultSetSelector Standard         If you want to select the High Gain Factory Setup        Camera DefaultSetSelector SetValue  DefaultSetSelector HighGain      If you want to select the Auto Functions Factory Setup                             Camera DefaultSetSelector SetValue  DefaultSetSelector AutoFunctions      Note   Selecting which factory setup will serve as the default set is only allowed when  the camera is idle  i e  when it is not acquiring images continuously or does not  have a single image acquisition pending    Selecting the Standard Factory Setup as the default set and then loading the  default set into the active set is a good course of action if you have grossly  misadjusted the settings in the camera and you are not sure how to recover   The standard factory setup is optimized for use in typical situations and will  provide good camera performance in most cases     9 16 2 Saving a User Set    Saving the current active set into the user set in the camera   s non vol
227. ult 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  O  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     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 ace 185    Basler Network Drivers and Parameters    General Parameters    Enable Resend   Enables the packet resend mechanisms     If the Enable Resend parameter is set 
228. unction profile feature  see Section 9 11 4 on page 144   To use the gain auto function  perform the following steps    Select Auto Function AOI1    Set the position and size of Auto Function AOI1    Set the lower and upper limits for the Gain Raw  All  parameter value    Set the target average gray value    If necessary  set the auto function profile     OD OF po M cx    Enable the gain auto function by setting it to  once  or  continuous   You must choose the   continuous  setting when using the auto function profile     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 O  black  to 255  white  when the camera is set for  an 8 bit pixel format or from 0  black  to 4095  white  when the camera is set for a 12 bit pixel format     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 AOI1    Setting the limits for 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 
229. ur 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 Po bits 11     4   B4 Green value for P4 bits 3     0 Blue value for Pg bits 3     O  B gt  Green value for P4 bits 11     4   B3 Blue value for P bits 11     4   Ba Green value for P4 bits 3     0 Blue value for P5 bits 3     0  Bs Green value for P5 bits 11     4   Be Blue value for P4 bits 11     4   B7 Green value for Ps bits 3     0 Blue value for P4 bits 3     0  Bg Green value for Ps bits 11     4           e       e   Bm 5 Blue value for P5 bits 11     4   Bm 4 Green value for P   bits 3     0 Blue value for P5 bits 3     0  Bm 3 Green value for P    bits 11     4   Bm 2 Blue value for P   1 bits 11     4   Bm Green value for P  bits 3     0 Blue value for P  4 bits 3     0  Bm Green value for P  bits 11     4                Basler ace 85    Pixel Data Formats                                                                                           Odd Lines   Byte Data   Bo Green value for Pg 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 P bits 11     
230. 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 you 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     Top me    Repeat 1
231. ust be constructed with twisted pair wire  Use of twisted pair wire is essential to  ensure that input signals are correctly received     Basler ace 27    Physical Interface    Close proximity to strong magnetic fields should be avoided     The required 6 pin Hirose plug is available from Basler  Basler also offers a cable assembly that is  terminated with a 6 pin Hirose plug on one end and unterminated on the other  Contact your Basler  sales representative to order connectors or cables        An incorrect plug can damage the 6 pin connector     The plug on the cable that you attach to the camera   s 6 pin connector must have 6 female pins   Using a plug designed for a smaller or a larger number of pins can damage the  connector        Hirose  HR10A 7P 6S  6 pin Plug              A Camera Pwr 4  i vOInt         Not Connected 3  1 0 Out 1  m util                 VO Gnd   5       Camera Pwr Gnd        Standard Power  and I O Cable    Twisted Pair Diagram    um am X  NAP Gab qub UNE   X UNS as    Nos WwW   0o    Fig  11  Standard Power and I O Cable    28 Basler ace    Physical Interface    5 4 3 PLC Power and I O Cable    Note  O  We recommend using a PLC power and I O cable if the camera is connected  to a PLC device     If power for the I O input is supplied at 24 VDC  you can use a PLC power and  I O cable when the camera is not connected to a PLC device     As with the standard power and I O cable described in the previous section  the PLC power and  I O cable is a single 
232. ut signal and the Exposure Overlap Time  Max parameter  see Section 6 4 on page 59     For more information about trigger width exposure  see Section 6 2 3 2 on page 50     58 Basler ace    Image Acquisition Control    6 4 Using the Frame Trigger Wait Signal to  Avoid Overtriggering the Camera    The Causes of Overtriggering    When you are using a hardware trigger to control image acquisition  there are two situations that  will result in an overtrigger condition     Situation 1  You have the camera set for the timed exposure mode and you attempt to start a new  exposure while a previously triggered exposure is still in progress  This situation is illustrated in  Figure 26 for a rising edge frame start trigger signal   The figure illustrates the situation with  overlapped exposure and readout  but this type of overtrigger would still happen even if there was  no overlap      ExFSTrig                      Signal Nu      Image Acquisition N          Because the exposure for acquisition N 2             Exposure Readout is currently in progress  this rise in the    trigger signal will be ignored  and a Frame  i d Start Overtrigger event will be generated            exposure duration Image Acquisition N  1    determined by the                                     exposure time Exposure   Readout     parameter   Image Acquisition N 2  Exposure Readout  Image Acquisition N 3  Exposure   Readout  Time    Fig  26  Overtriggering in Timed Exposure Mode    Basler ace 59    Image Acquisi
233. veral 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  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     Basler ace 195    Network Related Camera Parameters and Managing Bandwidth    The packet size parameter sets the size of the packets that the camera will use when 
234. 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 Basler s pylon Driver Package  You can download the pylon  package from the Basler website  www baslerweb com beitraege beitrag en 71708 html     For more information about using the IP Configuration Tool  see the Installation and Setup Guide  for Cameras Used with Basler   s pylon API  AW000611xx000   You can download the guide from  the Basler website  www baslerweb com indizes download index en 19627 html     Basler ace 19    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     The SDK is included in Basler   s pylon Driver Package  You can download the pylon package from  the Basler website  www baslerweb com beitraege beitra
235. whether the camera will be set for a 12 bit pixel  format or for an 8 bit pixel format in your application     If you will be using a 12 bit pixel format  make this check   Use the pylon Viewer or the pylon API to set the camera for a 12 bit pixel format and no digital shift     Check the output of the camera under your normal lighting conditions and note the readings for the  brightest pixels    If any of the readings are above 2048  do not use digital shift    If all of the readings are below 2048  you can safely use the shift by 1 setting    If all of the readings are below 1024  you can safely use the shift by 1 or 2 settings    If all of the readings are below 512  you can safely use the shift by 1  2  or 3 settings    If all of the readings are below 256  you can safely use the shift by 1  2  3  or 4 settings     If you will be using an 8 bit format  make this check   Use the pylon Viewer or the pylon API to set the camera for a 8 bit pixel format and no digital shift     Check the output of the camera under your normal lighting conditions and note the readings for the  brightest pixels    If any of the readings are above 128  do not use digital shift    If all of the readings are below 128  you can safely use the shift by 1 setting    If all of the readings are below 64  you can safely use the shift by 1 or 2 settings    If all of the readings are below 32  you can safely use the shift by 1  2  or 3 settings    If all of the readings are below 16  you can safely use th
236. widths 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 6 6 on page 67     For more information about the AOI  see Section 9 6 on page 119     208 Basler ace    Revision History    Revision History                         Doc  ID Number   Date Changes   AW00089301000   8 Feb 2010 This release is a preliminary version of the document    AW00089302000   9 Mar 2010 Indicated that UL certification was in preparation and corrected the camera  weight specified in Table 1 on page 2   Corrected the voltages stated in the  Voltages outside of specified range  can cause damage  notice box in Section 1 8 on page 13   The status of this document remains preliminary    Basler ace 209       Revision History    210 Basler ace    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 ace 211    Feedback    212 Basler ace    Index  A  acquisition status                           ssessssssse  46  active configuration set                            157  AOI
237. y time for timer 1 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 timer 1     Use the Timer Selector to select timer 1   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    By default  the Timer Delay Time Base is fixed at 1 us  minimum value   and the timer delay is  normally adjusted by setting
238. 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   Start Delay from Table 7   Debouncer Setting  Total Start Delay   17 62 us  5 us  Total Start Delay   22 62 us    Basler ace 65    Image Acquisition Control    FTWait    Signal        ExFSTrig    Signal          Exposure Start Delay      lt  Exposure Start Delay e     Exposure Exposure Exposure   Frame N Frame N 1 Frame N 2  Exposure   ml a  Frame Frame N Readout to the Image Buffer Frame N 1 Readout to the Image Buffer  Readout i              Transmission Start Delay    Pp     Transmission Start Delay           lt  lt       gt   a  gt   Frame Frame N Transmission to Host PC Frame N 1 Transmission to Host PC    Transmission  Timing charts are not drawn to scale    Fig  31  Exposure Start Controlled with an ExFSTrig Signal    You can determine the readout time by reading the value of the Readout Time Abs parameter  The  parameter indicates what the readout time will be in microseconds given the camera   s current  settings  You can get the Readout Time Abs parameter value from within your application software  by using the pylon API  The following code snippet illustrates using the API to get the parameter  value        double ReadoutTime   Camera ReadoutTimeAbs GetValue           For detailed information about using the pylon API  refer to the Basler pylon Programmer s Guide  and API
239. 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 acA640 100 gm  the sum of the X Offset setting plus the  Width setting must not exceed 659     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 acA640 100 gm  the sum of the Y Offset setting plus the  Height setting must not exceed 494     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 O  2  4  6  8   etc     Note   Normally  the X Offset  Y Offset  Width  and Height parameter settings refer to  the physical columns and rows in the sensor  But if binning is enabled  these  parameters are set in terms of  virtual  columns and rows  For more  information  see Section 9 7 1 on page 124     120 Basler ace    Standard Features    You can set the X Offset  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 H
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Samsung Galaxy Tab S (10.5, Wi-Fi) Käyttöopas(Lollipop)  1. TECHNISCHE ANGABEN  4 Ethernet over 1E1 - Data Sheet and User Manual  USER MANUAL - Compagnie Events  Manual del usuario  Manuale Utente del Terminale Palmare RM85x  Toque Blanche ELECTRIC BOILING PANS    Copyright © All rights reserved. 
   Failed to retrieve file