Back to FabImage Library website

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

Z4Sight_GetEncoderCounter_Deprecated


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Gets the current value of an encoder counter.

Syntax

void fil::Z4Sight_GetEncoderCounter_Deprecated
(
	Z4Sight_State& ioState,
	ftl::Optional<const fil::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.