ICogAcqLight InterfaceCognex VisionPro 9.8 SR1
Interface used to control lighting for an acquisition.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax

public interface ICogAcqLight

The ICogAcqLight type exposes the following members.

Properties

  NameDescription
Public propertyAuxLightBrightFieldPowerRatio
Reads or sets the bright field power ratio on the auxiliary port.
Public propertyAuxLightEnabled
Reads or sets whether the auxiliary light is enabled.
Public propertyAuxLightPort
Reads or sets the auxiliary port number.
Public propertyAuxLightPower
Reads or sets the power on the auxiliary port.
Public propertyLightBrightFieldPowerRatio
Reads or sets the bright field power ratio.
Public propertyLightDelay
Reads or sets the delay in milliseconds between setting the light power and performing the image capture.
Public propertyLightEnabled
Reads or sets whether the light is enabled.
Public propertyLightPower
Reads or sets the light power.
Top
Remarks

Interface used to control lighting devices, such as the Cognex acuLight, for an CogAcqFifo. These lighting devices are typically used for optical character recognition (OCR).

The acuLight device consists of two arrays of lights. One array is called the "bright field" and the other array is called the "dark field."

The interface supports setting up one or two lighting devices per camera: the primary light and the auxiliary light. The auxiliary light is controlled by methods whose names begin with Aux.

If you are using a Cognex MVS-8120 frame grabber with a light control board, you will need to notes this in the VisionPro.ini file in the Windows or WINNT directory. VisionPro.ini contains the instructions the tell you how to do this.

Note: Setting LightEnabled and AuxLightEnabled to False does not cut power to the light device. To cut power to the light device, set LightPower and AuxLightPower to 0.0 and acquire an image.

Supported on: 8100M, 8100M+, 8120/CVM1, 8120/CVM6, 8120/CVM9

See Also