XSight_SetEncoderDirection
Sets encoder direction.
Syntax
C++
Python
def XSight_SetEncoderDirection( state: XSight_State, inChannel: int, inDirection: XSightEncoderDirection, /, *, inDeviceIndex: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | XSight_State | |||
![]() |
inDeviceIndex | int | None | 0 - ![]() |
None | Device identifying number |
![]() |
inChannel | int | 1 - 16 | Encoder channel | |
![]() |
inDirection | XSightEncoderDirection |



