Browse KB Articles
Getting Started with Cognex VisionPro
KB Number: 10794
Technical Application Note (TAN2014012): Getting Started with Cognex VisionPro
Application Note Description
This application note provides information on how to install, configure, and use FLIR machine vision cameras with Cognex VisionPro.
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
The steps for installing and setting up the Cognex VisionPro depend which interface your camera uses.
The following sections provide more detail.
The examples used in this document are from Cognex VisionPro v8.2. It is available for download from the Cognex website.
The Cognex VisionPro installation supports FireWire and GigE Vision cameras. It includes required drivers and a GigE Configuration Tool (for GigE cameras only).
Cognex also offers as a separate download a free utility for FireWire cameras called DCAM Doctor which is a quick camera setup and acquisition tool.
For USB2 or USB3 cameras, FlyCapture2 AIK must also be installed. Contact FLIR Support (email@example.com) to request a copy of the FlyCapture2 AIK installer.
Connect the camera to the PC. For information, see the camera’s Getting Started Manual.
For FireWire cameras, verify that the Cognex FireWire driver is installed.
To verify the FireWire driver:
If the camera does not appear under Cognex Hardware, follow the instructions in the Troubleshooting section to install the driver.
For GigE cameras, verify that the camera and network adaptor have compatible IP address settings and that your network adaptor is using the Cognex VisionPro GigE Vision driver, eBUS Universal Pro driver.
To verify GigE settings:
Start Menu→Cognex→VisionPro→Utilities→Cognex GigE Vision Configuration Tool
See the Troubleshooting section for details on using the Cognex GigE Vision Configuration Tool.
To start Cognex VisionPro:
Start Menu→Cognex→VisionPro→VisionPro® QuickBuild
To capture images:
FireWire cameras can also use the free utility Cognex DCAM Doctor for quick camera setup and image capture.
To use Cognex DCAM Doctor:
1 Launch DCAM Doctor from C:\Program Files\Cognex\VisionPro\bin\dcamdoctor.exe.
2 From the DCAM Utilities tree, select Acquire Images then click Open Acquisition Window.
3 In the DCAM Image Acquisition window, click Select Camera.
4 From the drop-down list, select any CCF file. Cognex configuration files (CCF) are stored in: C:\Program Files\Cognex\VisionPro\bin\
5 In the DCAM Image Acquisition window, click on Initialize Acquisition.
6 Click on Continuous to grab images continuously.
Cognex VisionPro comes with its own FireWire driver, which needs to be installed for the FireWire camera. To install the Cognex driver for the camera, the PC’s FireWire host controller must be configured to use the Windows FireWire driver, and not the FirePRO driver.
Use Windows Device Manager to determine which FireWire driver is in use.
To install the Microsoft FireWire driver on the host controller:
To install the Cognex FireWire driver on the camera:
Cognex provides a GigE Vision configuration tool that allows you to configure your network card and GigE camera’s IP address. It also allows you to set jumbo frames for your network card. Jumbo frames is the recommended setting to stream GigE Vision cameras at full bandwidth.
Start Menu→CognexàVisionPro→Utilities→ Cognex GigE Vision Configuration Tool
When setting IP addresses keep in the mind the following:
Cognex VisionPro comes with its own GigE Vision driver, eBUS Universal Pro driver, which needs to be installed for the network adaptor.
To install the Cognex driver:
To use USB2/USB3 cameras with Cognex VisionPro, FlyCapture2 AIK must also be installed. Contact FLIR Support (firstname.lastname@example.org) to request a copy of the FlyCapture2 AIK installer.
If the USB2/USB3 camera is not streaming, verify the following:
To verify the FlyCapture2 AIK installation:
To verify the AIK server is running:
The following suggestions may help you troubleshoot issues with your camera: