Breadcrumbs

vs_request(cmd)

Features

This function sets the feature for the vision system to request

(*VS_TYPE: DR_VS_CUSTOM)

Parameters

Parameter Name

Data Type

Default Value

Description

cmd

int

-

The number of objects to be detected by the vision system

Return

Value

Description

0

Success

-1

Failed

-2

Communication timed out (3 sec.)

Example

Python
vs_request(1)               # request the vision measurement on the “1” job