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
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | None None Device identification.
Input value inEncoder int 1 - 2 1 Encoder.
Output value outCounterValue int Value of the encoder counter.