CogAcqLineScan TestEncoderEnabled Property Cognex VisionPro 9.22 SR1
Reads or sets whether the test encoder is used instead of the external encoder interface. This setting is superceded by the MotionInput setting for hardware that supports MotionInput.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax

public virtual bool TestEncoderEnabled { get; set; }

Property Value

Type: Boolean

Implements

ICogAcqLineScan TestEncoderEnabled
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the test encoder is enabled or disabled.

The following state flag may be affected:

Remarks

Sets or gets whether the test encoder on the CVM is used instead of the external encoder interface.

TestEncoderDirectionPositive lets you specify whether the test encoder's counts increase or decrease. Use SetStepsPerLine(Int32, Int32) to set the steps per line for the test encoder.

There is no test encoder availble on Cognex MVS-8600 frame grabbers. On those frame grabbers,when the test encoder is enabled, the hardware runs freely and acquires lines as fast as possible without using an encoder input, and the SetStepsPerLine(Int32, Int32) setting is ignored. You can use a positive TriggerDelay to create a delay between the acquisition of each line.

Default Value: False

See Also