background image

 

PicSight GigE Getting Started Guide, version 1.96.169.1 

22 

Note that the streaming with the reduced bandwidth need not have an impact to 
the  image  data  delivery  if  the  transfer  is  still  fast  enough  to  transfer  all  the 
image  data  before  the  next  image  is  acquired.  For  example,  if  the  camera  is 
triggered,  and  thus  has  long  time  gaps  between  frames,  the  increase  of  the 
inter-packet delay can solve the problem without any side effects. 

Another  problem  can  occur  when  acquiring  simultaneously  from  multiple 
cameras  connected  to  single  NIC  through  a  switch,  namely  if  they  are  all 
triggered at the same time. When the cameras start stream out the packets at 
the  same  time,  the  switch  must  serialize  the  packets  to  one  output  line.  The 
capability  of  doing  this  depends  on  the  switch  internal  construction  and  thus  is 
different for various manufacturers and models. The main factor influencing this 
is  the 

size  of  the  memory  buffer

  dedicated  for  each  port.  The  higher  is  the 

amount of the memory, the better. 

For example, the 8-port switch has 144 kBytes of memory equally split between 
the  ports,  so  one  port  has  18 kBytes  of  memory.  When  using  a 

streaming 

packet  size

  of  9 kBytes,  only  2 packets  fit  to  the  buffer.  In  case  3  cameras 

send  a  packet  to  the  input  ports  at  the  same  time,  the  switch  must  transfer  3 
packets to the output port, and this (depending on the switch construction) can 
fail  due  to  the  memory  on  the  output  port  not  capable  to  hold  all  3  packets 
(=27 kBytes). The solution in such case would be to use a  smaller packet size, 
for  example  5.9  kBytes,  so  that  all  3  packets  fit  in.  Another  problem  can 
happen, if the outgoing line is too slow to send out all the packets before new 3 
packets  come  from  the  cameras;  then  it  is  necessary  to  reduce  the  bandwidth 
by increasing the 

inter-packet delay

, as already explained. 

As mentioned, due to the internal construction of the switches, the capability of 
the switches to manage such critical situations differs from switch to switch. See 
the 

Hardware  Installation

  chapter  for  list  of  switches  which  have  been 

successfully tested with PicSights. 

4.4.2.

 

Packet Sizes 

The  size  of  the  packets  sent  over  the  network  can  influence  significantly  the 
effectiveness of sent data. 

The Maximum Transmission Unit (MTU) 

Represents  the  maximum  amount  of  data  that  can  be  sent  across  an  interface 
without being broken up into more than  one packet. The  standard  for Ethernet 
network  is  1500  bytes.  Newer  hardware  implementations  support  so  called 

jumbo frames

 which accept frames up to 16 kBytes. 

The MTU has to be set on both sides to the same value, on the host (PC) side as 
well  as  on  the  PicSight  side  Also,  all  devices  along  the  network  path  from  the 
host to the client (switches etc.) must support the used frame size. 

The Streaming Packet Size 

Besides  the  MTU  size  setting,  the 

streaming  packet  size

  can  be  set 

independently. This setting determines the size of the streaming packets during 
an  image  acquisition.  This  packet  size  must  always  be  smaller  than  the  MTU 
size,  and  as  this  packet  size  does  not  include  the  header  size  for  UDP/IP,  it 
should be always smaller by at least 

50 bytes 

than the MTU size. While the 

MTU

 

represents the maximum possible size, the 

streaming packet size

 represents the 

size actually used in the transmission. 

Summary of Contents for GigE Camera Series

Page 1: ...PicSight GigE Camera Series Getting Started Guide ...

Page 2: ...stalling LV SDS Windows 10 3 2 1 Running the Setup Program 10 3 2 2 Installation CD ROM 10 3 2 3 Downloaded Files 10 3 2 4 Installation Process 10 3 2 5 Installation Results 13 4 Configuring and Testing the Camera 15 4 1 Possible Impact of a Firewall 15 4 1 1 Configuration of Windows XP Firewall 15 4 1 2 Configuration of Other Firewalls 17 4 2 Checking the Connection 17 4 3 HTTP based Configuratio...

Page 3: ...Inter Packet Delay 24 4 4 6 Accessing PicSight on a Different Subnet 25 4 5 Testing the Camera with PicSight Demo 25 4 5 1 Initial Settings 25 4 5 2 Run time Settings 27 4 5 3 Display 28 4 5 4 Info 29 4 5 5 Expert Settings 30 4 6 Firmware Update and Recover Mode 30 4 6 1 The Firmware Update 30 4 6 2 The Recover Mode 31 ...

Page 4: ...of LEUTRON VISION Product names mentioned in this manual may be trademarks or registered trademarks of their respective companies and are hereby acknowledged Revision 1 00 Last Save May 31 2006 Last Print June 14 2006 Document PicSight_GigE_Guide doc This Manual Covers Hardware Revisions All PicSight GigE Series Software Revisions LV SDS 1 96 Headquarters Switzerland Germany Leutron Vision AG Leut...

Page 5: ...er Net Framework etc PicSight Demo an interactive test program for demonstrating basic PicSight capabilities Twain driver which allows you to use PicSight with most of the popular image processing and office software e g CorelDRAW MS Office etc Video for Windows and MCI drivers Support for various 3rd party image processing software LV SDS Programmers Reference Manual in PDF format This manual Pic...

Page 6: ... 2 1 Mechanical Description 2 2 Connector Description 2 2 1 Digital I O Hirose 12 pin connector male HR10A 10R 12PB 71 Pin Signal 1 Opto Output TAP connect 5 24 Volts 2 Opto Output Common Emitter 3 Opto Output 0 Collector 4 Opto Output 1 Collector 5 reserved do not connect 6 reserved do not connect 7 reserved do not connect 8 Opto Input 1 bidirectional 9 Opto Input 0 bidirectional 10 Opto Input Co...

Page 7: ...e and therefore the pulse width on the TTL input defines the exposure time if the module is set to the pulse width triggered mode Note that the polarity of the TTL trigger cannot be configured by software the trigger start is always the positive edge of the pulse on the Hirose TTL input In LV SDS the TTL trigger input on the Hirose connector has index 5 the internal TTL inputs 0 4 are not connecte...

Page 8: ...In the host PC it is recommended to use a network adapter NIC with the Intel PRO 1000 chipset The switch should be non blocking it should support Jumbo Frames and have memory buffers of sufficient size See the chapter Advanced Network Settings for more details The PicSight cameras were successfully tested with the following switches Netgear GS116 www netgear com jumbo frames are supported since se...

Page 9: ... custom camera definitions DRAL set of libraries for handling time critical tasks like image sequence acquisition 3 1 2 Other Tools Orchid is a high level library sitting on the top of Daisy enabling fast and efficient development with visual tools like MS Visual Basic Borland Delphi or C Builder Net Framework etc PicSight Demo program is supplied to guide the novice users of LV SDS and Leutron ha...

Page 10: ...lease follow the instructions described in the next chapters LV SDS including all the necessary drivers will be installed to your computer LV SDS installation program 3 2 3 Downloaded Files To start the installation just run the appropriate file downloaded from our WWW server for example lv196133 exe Please note that 196133 in the file name stands for LV SDS version 1 96 build 133 LV SDS including...

Page 11: ...ceed If you want to change it please click the Browse button to specify correct location Note If you are going to develop and compile own applications it is better not to have spaces in the path to the LIB and INCLUDE files so it is not recommended to install to C Program Files Leutron otherwise you would have to use short paths and names in your compiler settings LV SDS installation Destination d...

Page 12: ... if you need to change them later on there is no need to reinstall LV SDS LV SDS installation Devices Selection If you selected the Vision Blox 3 0 control or the Common Vision Blox 7 0 control installation option but the Vision Blox software itself is not installed in your system yet the message shown on Figure 3 3 6 will be turned up It informs you that the setup program cannot register the cont...

Page 13: ...ion Results A new LV SDS menu is added to the Start Programs menu in Windows It contains shortcuts for the Camera Editor application for the LV SDS manual as well as for several compiled sample programs In the location specified during installation default is C the folder structure with LV SDS files is created The main folder is named LVSDS_NT Folder structure in Windows XP 2000 Under the destinat...

Page 14: ...a definition files real time application libraries etc Drivers folder including setup programs of kernel drivers Help folder containing documentation to LV SDS in form of a PDF file Include folder containing C header files for Daisy Orchid Lib folder containing import libraries for Daisy Orchid DLLs in versions for Borland C and Microsoft Visual C Samples folder containing the source code of vario...

Page 15: ...ess to machines on local network for web browsers Similarly it can happen that you can access PicSight through HTTP but when using the PicSight Demo the images are not grabbed this can happen when the firewall blocks the data sent from the camera through the UDP protocol Note also that the usage of the firewall software adds some CPU overhead which might degrade the throughput of the LAN The easie...

Page 16: ... tab Click Add Program button and locate the PicSight Demo program Then click OK to add the PicSight Demo in the exceptions list Since now incoming communication will not be blocked for PicSight Demo Repeat the same procedure for any other executables including programs you compile yourself you want to use for acquisition from the PicSight camera ...

Page 17: ... XP one depending on its design philosophy If you have a firewall that allows more detailed configuration for example configuring also outgoing connections make sure that no restrictions are made for outgoing HTTP connections so that you are able to configure the PicSight camera using your web browser for ping and in case you will need to access PicSight over FTP than make sure also that no restri...

Page 18: ...with 192 168 1 and an arbitrary number In our example we use 192 168 1 2 for the host so it is then on the same subnetwork with PicSight having the default IP address 192 168 1 55 The gateway need not be set for this temporary TCP IP settings leave it empty Note that in case you do not want to touch your existing connection to the network you would have to add additional Ethernet card NIC to your ...

Page 19: ...tc To connect type as the URL the following http 192 168 1 55 The following page should appear Note that if you still cannot access this page although the ping command succeeds the problem might be in the firewall configuration on your PC see previous chapters 4 3 1 Logging In Setting the IP Address and Nickname The first step you probably will need to do is to set new IP address To do so you must...

Page 20: ...u will want to access the PicSight via the HTTP protocol you will need to find the assigned IP address on the DHCP server You can also assign a Nickname to the camera It is highly recommended The Nickname becomes an identifier of the camera in the LV SDS so if you use nicknames your application will be independent on IP addresses After confirming the changes by the OK button the values are checked...

Page 21: ... kept by browser so the if you want to log out simply close the browser window 4 4 Advanced Network Settings 4 4 1 Understanding the LAN Traffic Issues The image data are streamed from the host PicSight to client PC using the UDP protocol In case some of the packets is not delivered in time it is lost the client does not ask for it again because such handshaking would increase significantly the ne...

Page 22: ...for example 5 9 kBytes so that all 3 packets fit in Another problem can happen if the outgoing line is too slow to send out all the packets before new 3 packets come from the cameras then it is necessary to reduce the bandwidth by increasing the inter packet delay as already explained As mentioned due to the internal construction of the switches the capability of the switches to manage such critic...

Page 23: ...re streaming at the same time using large packets the network bus may become overloaded and packets are getting lost as explained in the previous chapter Thus using the larger packet size is highly recommended for a high performance transmission with a few network members only If multiple cameras have to stream at the same time a smaller packet size has to be set 4 4 3 Setting the MTU On the PC si...

Page 24: ...e after successful login The number set here should be the same as on the PC side 4 4 4 Setting the Streaming Packet Size The desired streaming packet size can be set on the host side in the leutron ini file Section LvGvp LvGvp DefGvspPktSize 1400 Note that this size has to be always at least by 50 bytes smaller than the MTU setting 4 4 5 Setting the Inter Packet Delay You can increase the inter p...

Page 25: ...ust be in a valid remote subnet that means a subnet to which the routing device of your LAN the gateway is able to redirect the packets In other words if you want to access PicSight with the default IP address 192 168 1 55 which is out of your local subnet range it is not enough to set it as FixDiscoverIP If a non standard frame size is configured the routing device must support this frame size as...

Page 26: ...r the trigger signal by default on the opto input 0 After each trigger the image is grabbed and transferred to host In the Triggered mode you can either force the grabbing by sending software triggers or control the grabbing by real hardware triggers on selected input The Make single grab by software trigger button sends one software trigger to the camera so that it acquires one frame The Start co...

Page 27: ... select between Opto In 0 and Opto In 1 Or after pressing the TTL button you can select the TTL input although there are internally 6 TTL inputs available only one is available on the Hirose connector in the standard HW configuration This one is marked in the list as Gpio In 5 Trg In Note that the polarity on the TTL input cannot be configured the pulse must always be positive see The Trigger Inpu...

Page 28: ...display 1 If Tile images is checked all images from the sequence are displayed scaled down so that they fit in the display window 2 If the Tile images is not checked the selected image is displayed You can select the image by the track bar un the upper part In case the Scale image to fit in window is selected the image is scaled down to be fully visible The other option Add scroll bars to large im...

Page 29: ...the desired color Fast method which gives reasonable results images are smoother but less sharp Variable Number of Gradients to RGB Method which is commonly referred as the one giving the best results First an 5x5 environment of the pixel is evaluated and a sum of gradients is calculated Then gradients not higher than calculated threshold are used for color calculation This algorithm is the slowes...

Page 30: ...es Note that some of the functions demonstrated here may not be supported in our libraries yet and will be available gradually 4 6 Firmware Update and Recover Mode 4 6 1 The Firmware Update The camera firmware can be updated from a PC with Windows The update tool is included with LV SDS since the version 1 96 169 It is located in the BIN folder of LV SDS and its name is PicSightGigEUpdater exe The...

Page 31: ...ck the system on the home page of PicSight which is colored differently and displays additional RECOVER MODE label Note that the check of the RX TX connection is not reliable you may need to repeat the boot to load the recover system successfully The recover system enables the firmware update tool to communicate with the camera in the same way as with the normal system So you can then use the firm...

Reviews: