Acquiring Images from a GigE Vision Camera

This topic provides information on using GigE Vision cameras with the VisionPro C++ API in a Visual Studio application.

Note: For information on using GigE cameras, refer to the GigE Vision Camera User's Guide, available with your installed VisionPro documentation or online at VisionPro Documentation website.

Cognex makes the following recommendations regarding API settings for vision applications using 5 Gbps (Gigabits per second) or 10 Ggps GigE Vision cameras: 

  • setLatencyLevel() and LatencyLevel() API

    Set Latency Level to a value of 1 or 0 to improve reliability of acquisition by alleviating spurious bandwidth issues when using higher-bandwidth cameras.

    Refer to the API Reference for more details.

  • setPacketDelay() and PacketDelay()

    Increasing the Inter-Packet Delay adds delay between image packet transmissions. This might reduce the number of dropped packets, but be aware that this also slows the data transmission. As a result, the maximum frame rate of the camera may decrease.

    Refer to the API Reference for more details.

  • setTransportTimeout() and TransportTimeout()

    Increasing the maximum timeout for the camera to transmit an image might reduce the likelihood of dropped packets.

    Refer to the API Reference for more details.

Contact your Cognex sales representative for available sample applications.

See the following sections for more information: