ICogAcqLineScan TriggerFromEncoder Property Cognex VisionPro 9.7
Read or set whether triggering is from an encoder or from an external trigger.

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

bool TriggerFromEncoder { get; set; }

Property Value

Type: Boolean
Events

Event TypeReason
ICogChangedEvent Changed

Fires when encoder triggering is enabled or disabled.

The following state flag may be affected:

Exceptions

ExceptionCondition
CogAcqWrongTriggerModelException

The trigger model is Slave.

Remarks

Sets or gets whether triggering is from an encoder or from an external trigger. Encoder triggering is only valid for Auto and Semi. When the trigger model is Manual, you can set this property, but it is ignored.

ResetCounterOnHardwareTrigger should be True when this property is True.

Note: Ignored on MVS-8600.

Default Value: True

See Also