Browse KB Articles
Using FLIR USB3/USB2 Cameras with Cognex VisionPro
KB Number: 10788
Technical Application Note (TAN2014019): Using FLIR USB3/USB2 Cameras with Cognex VisionPro
Application Note Description
This application note provides information on how to configure and use FLIR machine vision USB3/USB2 cameras with third-party Cognex VisionPro software.
Preparing for Use
Before you use your camera, we recommend that you are aware of the following resources available from our downloads page:
Installation and Configuration
Follow these steps to use Cognex VisionPro with FLIR machine vision USB3/USB2 cameras:
The following sections provide more detail.
Step 1—Install Cognex VisionPro
The examples used in this document are from Cognex VisionPro v8.2. It is available for download from the Cognex website.
Step 2—Install FlyCapture2 AIK
For USB2 or USB3 cameras, FlyCapture2 AIK, available from our downloads page, must also be installed.
Step 3—Connect the Camera to the PC
Connect the camera to the PC. For information, see the camera’s Getting Started Manual
Step 4—Start Cognex VisionPro Software
To start Cognex VisionPro:
Start Menu→Cognex→VisionPro→VisionPro® QuickBuild
If your camera does not show up in Cognex VisionPro, see the troubleshooting section.
Step 5—Capture Images
To capture images:
This list is for reference purposes. In order for the feature to be supported in Cognex VisionPro, the camera needs to support the feature. For example, a monochrome camera will not support WhiteBalanceAuto in Cognex because monochrome cameras do not support this feature.
This list is taken from FlyCapture AIK version 2.7.
I cannot detect my USB3/USB2 camera in Cognex VisionPro
To use USB2/USB3 cameras with Cognex VisionPro, FlyCapture2 AIK must also be installed. Contact Support (firstname.lastname@example.org) to request a copy of the FlyCapture2 AIK installer.
To verify the FlyCapture2 AIK installation:
To verify the AIK server is running:
I cannot acquire images from my USB3/USB2 camera in Cognex VisionPro
Two common reasons for not being able to acquire images are:
To restore the camera back to factory default:
To increase Cognex VisionPro’s pool size:
1. Check the current pool size.
a. In the Windows Start menu search, enter “regedit.exe.”
b. Search for the registry key:
c. Check the current PoolSize value.
The PoolSize should be at least four times larger than the image size. For example, the default value is 0x04000000 which is 8 MB.
0x4000000 = 67108864 bits = 8388608 bytes = 8 MB
2. Change the PoolSize registry value according to your image size requirements.
I am missing custom properties
In some cases, a property must be changed from auto to manual in order to access further settings. For example, to set the exposure time, exposure must be in manual mode.
VisionPro loads the current properties, either default or user set, into the Image Source window when the camera is selected. Any changes made to the properties, such as changing from auto to manual, must be reloaded to take effect. To reload, close the Image Source window and reopen.
I am changing to a mode that changes the resolution
When changing video modes, the user may implement a binning mode which changes the resolution as well. See KB 10085 Understanding Format_7 region of interest and pixel binning for more information.
To change to a mode that also changes the resolution: