Z4Sight_GetEncoderCounter
Gets the current value of an encoder counter.
Syntax
C++
Python
def Z4Sight_GetEncoderCounter( state: Z4Sight_State, /, *, inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None, inEncoder: int = 1 ) -> outCounterValue: int
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State | |||
![]() |
inDeviceID | Z4SightSystemAndDeviceIdentifier | None | None | Device identification. | |
![]() |
inEncoder | int | 1 - 2 | 1 | Encoder. |
![]() |
outCounterValue | int | Value of the encoder counter. |



