How to check maximum packet size for Basler camera

Pylon Viewer on packet size that is higher than supported by Basler camera
Pylon Viewer on packet size that is higher than supported by Basler camera

Basler GigE cameras transmit image data to the Ethernet port of your computer. To obtain the highest frame rate, you need to find out the maximum packet size supported by the connection between your camera and your computer.

To do this:

  • Set the packet size that can be handled by the Ethernet adapter on your computer to the maximum as described here.

  • Connect the Basler GigE camera to your computer. Once it is detected, open the Pylon Viewer application.

  • In the Features section, change to Expert mode. Navigate to your camera name -> Transport Layer -> Packet Size. Increase the value and press Enter.

  • Enable Continuous Shot mode to view the captured images. After viewing, turn it off.

  • Repeat above two steps by increasing the packet size and viewing the captured images. When the camera reaches a packet size that cannot be supported, the image display freezes. I got a green colored image.

The maximum value of the packet size that was able to capture images correctly is the maximum packet size for your Basler camera. You can set this in Pylon Viewer or in your program.

Tried with: Basler acA1600-60gc, Realtek Semiconductor RTL8168/8111 PCIe Gigabit Ethernet Adapter and Windows 7 Professional 64-bit


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.