Enumeration of valid modes for a linescan encoder.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| Encoder | 0 | Linescan acquisition is performed using a real hardware encoder. The relevant encoder inputs are: SetStepsPerLine(Int32, Int32), EncoderResolution, and DistancePerCycle. | |
| SimulatedEncoder | 1 | Linescan acquisition is performed using the test encoder. The frequency of the test encoder simulates a hardware encoder that is currently unavailable. The relevant encoder inputs are: SetStepsPerLine(Int32, Int32), EncoderResolution, DistancePerCycle, and ExpectedMotionSpeed. If the physical motion is steady at the expected speed and the DistancePerCycle setting is accurate, there should be little observable difference between real and simulated encoders. You can switch between real and simulated encoder mode without changing any other encoder parameters. | |
| Encoderless | 2 | Linescan acquisition is performed using the test encoder. The frequency of the test encoder is computed from the inputs: ExpectedDistancePerLine and ExpectedMotionSpeed. This mode is intended for systems which have no hardware encoder. | |
| Legacy | 3 | Linescan acquisition is performed using either a hardware encoder or the test encoder, depending upon the setting of TestEncoderEnabled. This mode is intended for hardware which does not support MotionInput. |
See Also