Edgepolaritymode – Adept AdeptSight Reference Guide User Manual

Page 187

Advertising
background image

EdgePolarityMode

VPARAMETER

5210

Edge selection criterion. The grey-scale transition of the edge must respect the polarity set by this

property.

Syntax

Micro V+

VPARAMETER (sequence_id, tool_id, 5210, index_id, object_id) = value

value = VPARAMETER (sequence_id, tool_id, 5210, index_id, object_id)

V+

VPARAMETER (sequence_id, tool_id, 5210, index_id, object_id) $ip = value

value = VPARAMETER ($ip, sequence_id, tool_id, 5210, index_id, object_id)

Type

Long

Range

Value

Name

Description

0

hsDarkToLight

The greylevel value must go from dark to light when crossing an edge.

1

hsLightToDark

The greylevel value must go from light to dark when crossing an edge.

2

hsEitherPolarity

The change in greylevel value change is not a criterion for locating an
edge.

Parameters

$ip

IP address of the vision server. Applies to V+ syntax only. Uses

standard IP address format, for example: 192.168.1.120.

sequence_id

Index of the vision sequence. The first sequence is 1.

tool_id

Index of the tool in the vision sequence. The first tool is 1.

EdgePolarityMode

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 187

Advertising