Skip to main content
Skip table of contents

vs_request(cmd)

Features

This function sets the feature for the vision system to request

(*VS_TYPE: DR_VS_CUSTOM)

Parameters

Parameter NameData TypeDefault ValueDescription

cmd

int

-

The number of objects to be detected by the vision system

Return

ValueDescription

0

Success

-1

Failed

-2

Communication timed out (3 sec.)

Example

PY
vs_request(1)               # request the vision measurement on the “1” job
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.