Read or set whether triggering is from an encoder or from an external trigger.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Property Value
Type: BooleanEvents
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when encoder triggering is enabled or disabled. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| NotImplementedException | The feature was set for invalid hardware. |
| 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.
| Ignored on MVS-8600. Invalid for DS1000, L4000. |
See Also