Polaritymode – Adept AdeptSight Reference Guide User Manual
Page 407
![background image](https://www.manualsdir.com/files/771277/content/doc407.png)
PolarityMode
VPARAMETER
5100
Selects the type of polarity accepted for finding an entity. Polarity identifies the change in greylevel values
from the tool center (inside) towards the outside.
Syntax
MicroV+
VPARAMETER (sequence_id, tool_id, 5100, index_id, object_id) = value
value = VPARAMETER (sequence_id, tool_id, 5100, index_id, object_id)
V+
VPARAMETER (sequence_id, tool_id, 5100, index_id, object_id) $ip = value
value = VPARAMETER ($ip, sequence_id, tool_id, 5100, index_id, object_id)
Type
Long
Range
Value
Mode
Description
0
hsDarkToLight
The tool searches only for arc instances occurring at a dark to light
transition in greylevel values.
1
hsLightToDark
The tool searches only for arc instances occurring at a light to dark
transition in greylevel values.
2
hsEither
The tool searches only for arc instances occurring either at a light to
dark or dark to light transition in greylevel values.
3
hsDontCare
The tool searches only for arc instances occurring at any transition in
greylevel values including reversals in contrast along the arc, for
example on an unevenly colored background.
Parameters
PolarityMode
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 407