Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Z4Sight » Z4Sight_GetEncoderCounter_Deprecated

Z4Sight_GetEncoderCounter_Deprecated


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Gets the current value of an encoder counter.

Syntax

void avl::Z4Sight_GetEncoderCounter_Deprecated
(
	Z4Sight_State& ioState,
	atl::Optional<const avl::Z4SightDeviceID::Type&> inDeviceID,
	int inEncoder,
	int& outCounterValue
)

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const Z4SightDeviceID::Type&> NIL Device identification number.
Input value inEncoder int 1 - 2 Encoder.
Output value outCounterValue int& Value of the encoder counter.