ICogAcqLineScan TriggerFromEncoder Property Cognex VisionPro 9.22 SR1
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: 87.1.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
CogAcqWrongTriggerModelExceptionThe trigger model is Slave.
NotImplementedExceptionThe feature was set for invalid hardware.
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 Note
Ignored on MVS-8600. Invalid for DS1000, L4000, and L38.
See Also