Cognex VisionPro Adapter
The eGrabber adapter for Cognex VisionPro is a library that allows to use Euresys frame grabbers based on eGrabber driver in Cognex VisionPro.
Coaxlink, Grablink Duo and Gigelink are supported.
Image Source dialog in QuickBuild
Once the eGrabber adapter for Cognex VisionPro is installed, it gets loaded at start-up and runs a discovery for each GenTL producer in the following order:
1. | grablink.cti |
2. | coaxlink.cti |
3. | gigelink.cti (only if a valid license is active) |
If a frame grabber is found, it is listed in the list of frame grabbers (Camera subsection, prefixed by Device: )
S
List of frame grabbers - Camera sub-section
In the previous image, three frame grabbers were found: one Coaxlink Quad (KQU00035) connected to an Eucalyptus simulator, and two Gigelink cameras found in the network.
NOTE: | The other listed devices (not prefixed by Device:) are discovered internally by Cognex VisionPro itself, and do not use eGrabber. |
NOTE: | The Device: prefix is added by Cognex VisionPro and there could be more devices listed, which were loaded from another adapter. |
To use a device, the user should select it and then click on Initialize Acquisition. This initializes the eGrabber object and allows the user to acquire images and use them in Cognex VisionPro.
If the user clicks on the Camera icon in the top left corner, it can see acquired images live:
Live acquired image
Once the device is initialized, a set of tabs is displayed.
NOTE: | The Timeout parameter is inoperative! |
NOTE: | The Strobe & Trigger pane is not used by the eGrabber adapter for Cognex VisionPro. This type of configuration has to be done through scripts. |
Strobe and Trigger pane
The Image Properties pane allows to configure the output format of the image to be used after the acquisition in Cognex VisionPro. In this pane, only the image Width and Height can be configured. It is also possible to choose the Output Pixel Format. Both the change of the pixel format value and the resizing of the acquired image are done by the software, with no interaction from the frame grabber.
NOTE: | The Origin X and Origin Y parameters are not supported and must not be used. The control the ROI has to be done through scripts. |
Image Properties pane
The Imaging Device pane allows to retrieve and configure Features. These Features can also be seen and configured in the Custom Features pane (read below for the list of available features). The user can write the desired feature and then click Read to obtain its value, or click on Write to change its value. The Execute button is not supported and must not be used, because there is not any executable feature.
In the following picture, BufferCount was typed by the user and then the Read button was clicked.
Imaging Device pane
The Custom Properties pane allows to read and write values to Features. These features are not GenICam features, but some parameters used in the context of the eGrabber adapter for Cognex VisionPro.
The list of available features can be seen by clicking the Add New button on this pane.
Custom Properties pane
Script: path to an eGrabber Script (*.js) to be run by the grabber (calls EGrabber::runScript)
BufferCount: the number of buffers to use in the acquisition. Default: 4
BufferTimeout: the number of milliseconds to wait when popping a buffer. Parameter to EGrabber::pop. Default: 100 ms
GenTLPath: Path of the GenTL library used when this device was loaded (coaxlink.cti, grablink.cti or gigelink.cti). This is a read-only feature that gets defined when the egrabber is loaded, depending on its producer. For example: C:\Program Files\Euresys\eGrabber\cti\x86_64\gigelink.cti
Once everything is configured, the user can then acquire one image and this image is to be used as input in the rest of the processing of Cognex VisionPro.