Setting Up a GigE Camera

Cognex Designer supports including GigE cameras directly into a Task. This allows you to include the image acquisition step as part of the Task.

  1. Connect the camera to the network and the power source.
  2. Use the Cognex GigE Vision Configurator utility to configure the camera.
  3. In Cognex Designer, in the Devices node of the Project Explorer, right-click Cameras and select Add > 'Camera' device.

    Note: If the camera is already listed, right-click on it and select Connect.

  4. This launches the Parameter Configuration dialog, where you provide the name, the device and the video format for the camera.

    Note: For more information about the Parameter Configuration dialog, see the Camera Device topic.
  5. Press the Accept button.
  6. Go to Tasks > Task > Task.
  7. In the Toolbox, your camera will be in the Devices node, with the name you specified.

  8. Drag and drop the desired Camera device onto the Task, where it becomes a Reference Block that can be linked to compatible Tool Blocks or Reference Blocks.
  9. Double-click the camera's block to configure the camera's Settings, Strobe & Trigger, Image Properties, GigE and Custom Properties, as well as focus and acquire images with the camera.

    Related Topics  For more information, see the Acquiring From a Connected Camera section of the Configuring an Image Source topic in the VisionPro® Online Documentation.
  10. You can then link your camera's output image as an input to other blocks in the Task.

    Note: To poll a GigE feature of a camera, consider using the Device Paths of a tag. Or, alternatively, you can utilize GigE commands; for more information, see the Using GigE Commands with a Camera Device topic.
  11. Press the Run button to acquire an image, and pass the image to the linked block.