Detecting Packet Losses From a GigE Camera in LabVIEW

Updated Apr 5, 2023

Environment

Software

  • LabVIEW

Driver

  • NI-IMAQdx
  • Vision Acquisition Software

When using the Vision Acquisition Software for LabVIEW to continuously grab images from a GigE camera, sometimes there is need to track the ethernet packet flow and detect a loss of packets.

This article provides guidance on how to detect packet losses from GigE cameras.

In order to track any packet loss during the acquisition, we can use the IMAQdx session property node and call the Lost Packet Count property. See the image below: 

Image_2022-09-12_13-57-09.png

This property will output the exact number of packets lost during the communication with the camera. The initial value is 0, and will increment with each packet lost.