Timeout Error With GigE Vision Camera

Updated Feb 17, 2023

Reported In


  • GIGE I/O Board


  • Vision Development Module
  • Vision Assistant
  • Vision Builder for Automated Inspection


  • IMAQ Vision

Issue Details

  • When trying to Snap or Grab an image from my GigE camera in NI Measurement and Automation Explorer (MAX) or LabVIEW, I get the following error:
Error -1074360293 occurred at IMAQdx Grab2.vi

Possible reason(s):


The error is shown in the following dialog box:
error timeout.png
  • When I try to grab an image from my GigE camera in Vision Builder for Automated Inspection (VBAI), I get the following error message:
A timeout error occurred while acquiring images from the camera. The following list includes possible reasons for the timeout:
- No trigger signal received within the specified timeout period.
- Camera not powered on.
- Camera not properly connected to the IEEE 1394 or ethernet adaptor. 
- Incorrect camera selection in Measurement & Automation Explorer (MAX).
- Ethernet settings do not allow image transfer (i.e. network firewall, jumbo packet permission, refer to the NI-IMAQdx step FAQ for more details on these issues).
Image acquisition Timeout.png


There are several potential reasons that a GigE camera acquisition may time out. Below you will find the most common ones as well as possible solutions. 

  • Make sure the ethernet port you are using to connect your camera supports Gigabit Ethernet speeds (1000 Mbps or 1 Gbps).
  • Since GigE Vision uses a network connection, Windows Firewall can block the camera information through the Ethernet port, which will result in a timeout error. In order to allow access to the GigE camera, do one of the following options:
    • Turn off Windows Firewall.
    • Create an exception for the specific Ethernet port. 
Unfortunately, there is no 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.
  • 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. 
  • 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  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. Ensure jumbo frames are enabled. 
Note: 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 in one direction and, therefore, the firewall does not let them through.
  • Decrease packet size by changing the Packet Size setting in NI MAX, as shown in the image below.
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.
  • 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. 

Additional Information

If the above steps don't lead to any type of resolution, then it may be useful to perform a Wireshark trace to determine what packet information is actually being sent before the timeout error occurs. Wireshark is a network sniffing software that will capture all network traffic being sent by and received from a GigE camera. This information can help differentiate from the problem being an issue with the hardware vs. with the software. 

Please contact NI Support or the camera manufacturer if you need help interpreting the Wireshark capture.

Additionally if you are introducing third-party hardware into the system (non-integrated network card) then unexpected behaviors can be seen such as timeout errors.  In this case, if the camera is tested, and works correctly with an integrated network card, NI is not responsible for the third-party hardware.