Back to FabImage Library website
You are here: Start » Function Reference » Hardware Support » Z4Sight » 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 | |
---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const Z4SightDeviceID::Type&> | NIL | Device identification number. | |
![]() |
inEncoder | int | 1 - 2 | Encoder. | |
![]() |
outCounterValue | int& | Value of the encoder counter. |