Edge2polaritymode – Adept AdeptSight Reference Guide User Manual

Page 171

Advertising
background image

Edge2PolarityMode

VPARAMETER

5212

Selection criterion of the second edge of the selected pair. The grey-scale transition of the edge must

respect the polarity set by this property.

Syntax

Micro V+

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

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

V+

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

value = VPARAMETER ($ip, sequence_id, tool_id, 5212, 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

hsEi-
therPolarity

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.

Edge2PolarityMode

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

Page 171

Advertising