AILSystem_GetEncoderCounter


Gets the current value of an encoder counter.

Syntax

C++
Python
 
def AILSystem_GetEncoderCounter(
	state: AILSystem_State,
	/,
	*,
	inDeviceID: AILSystemAndDeviceIdentifier | None = None,
	inEncoder: int = 1
)
-> outCounterValue: int

Parameters

Name Type Range Default Description
Input will be modified ioState AILSystem_State
Input value inDeviceID AILSystemAndDeviceIdentifier | None None Device identification.
Input value inEncoder int 1 - 2 1 Encoder.
Output value outCounterValue int Value of the encoder counter.