Edge1polaritymode – Adept AdeptSight Reference Guide User Manual
Page 155

Edge1PolarityMode
VPARAMETER
5211
Selection criterion of the first 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, 5211, index_id, object_id) = value
value = VPARAMETER (sequence_id, tool_id, 5211, index_id, object_id)
V+
VPARAMETER (sequence_id, tool_id, 5211, index_id, object_id) $ip = value
value = VPARAMETER ($ip, sequence_id, tool_id, 5211, index_id, object_id)
Type
Long
Range
Value
Polarity Mode
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.
Edge1PolarityMode
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 155