Breadcrumbs

get_extenc_count()

Definition

get_extenc_count(channel)

Features

Get the count value of the corresponding encoder channel.

Parameters

Parameter Name

Data Type

Default Value

Description

channel

int

1

Encoder channel (1, 2)

1: Channel 1

2: Channel 2

Return

Value

Description

count

Current encoder count value of corresponding channel

Exception

Exception

Description

N/A

Not Used

Example

Python
enc_cnt = get_extenc_count(1)
# External Encoder channel 1 current count value calculation