CogPrioState EncoderCount Property Cognex VisionPro 9.21 SR1
The encoder count when the state was read.

Note: Once a state object is read/created its contained values do not change. To get the current values you must call ReadState() again.

Note that current hardware platforms use only 32-bits of encoder data. This means that depending on the hardware, the encoder may rollover (go back to 0) when the encoder count reaches 0xFFFFFFFF (or 4294967295).

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 85.1.0.0 (85.1.0.0)
Syntax

public long EncoderCount { get; }

Property Value

Type: Int64
See Also