Time-Out Error with GigE Vision Camera

Updated Jan 14, 2018

Reported In

Hardware

  • GIGE I/O Board

Issue Details

Why do I get a time-out error when trying to do a snap or grab with my GigE Vision camera?

Solution

Since GigE Vision uses a network connection, Windows Firewall can block the camera information through the Ethernet port, which will result in a time-out error. In order to allow access for the GigE camera, do one of the following options:
  1. Turn off Windows Firewall.
     
  2. Create an exception for the specific Ethernet port. 

Unfortunately, there is not an easy way to open a port or range of ports while keeping the firewall enabled on that device. This is due to the way the GigE Vision protocol was defined.  Both the camera's port from which the image stream comes and the PC's port are dynamic. The Windows Firewall is not configurable in a manner that can accommodate this configuration.
  1. If the computer connects to the network via wireless or a separate local area network connection, the Advanced tab in the Windows Firewall configuration allows the Windows Firewall to be enabled or disabled for individual connections.  Refer to Microsoft TechNet:  How to Configure Windows Firewall on a Single Computer for detailed instructions for how to configure Windows Firewall.
  1. Use an Intel Pro/1000-based network card and install our High-Performance driver.  For instructions on how to configure your system to use the High-Performance driver see KnowledgeBase 510FS1WA: Using the High-Performance Driver with Intel(R) PRO/1000 Network Cards.  In this configuration, the image stream is decoded before any software firewalls.  Therefore, no modification to your firewall settings is needed. Additionally, there is no overhead from the firewall or the network stack. However, it is recommended to disable the firewall because the firewall would add considerable overhead when streaming from a camera.

    It is expected behavior that, in certain cases, images are not received when the Windows Firewall is turned on even though you can see and configure the GigE Vision camera in Measurement & Automation Explorer (MAX). When configuring in MAX, packets are sent out and returned via the same path, so the firewall lets them through. However, when acquiring an image, the packets only flow one direction and, therefore, the firewall does not let them through.
     
  2. Decrease packet size.
Packet size specifies the number of bytes transferred in each data packet. Changes to this parameter affect the number of packets required to transmit an image over the bus. Larger values transfer images faster. Smaller values allow more cameras to coexist on the same bus. If the packet size is larger than the allowed size by the network interface, the camera will be unable to transmit the image and eventually timeout.
  1. Verify trigger mode settings
Some cameras can be configured to acquire images based on an external trigger. This setting can be enabled or disabled through the Camera Attributes in MAX. If the camera's trigger mode is enabled, but there is no external trigger provided, the camera will timeout and not provide an image. To correct this, navigate to the Camera Attributes, locate the trigger mode option, and make sure it is turned off.

WAS THIS ARTICLE HELPFUL?

Not Helpful