Maxsys and MX Series Software Administrator’s Guide 307
Keep in mind that if the directory access permissions prevent storage of the
image, a time hit will be incurred on each image that comes along. This may
substantially slow down system performance.
Also keep in mind that if you are running multiple vision profiles per job, all
directed at the same storage directory, and all with capture enabled, the collisions
can be costly. In theory, if you have more than 10 vision profiles, this could result
in file naming competition which would force directory scans to be completed.
The competition could even result in some images failing to get stored at all, as
there are a fixed number of attempts made.
This is a best-effort service. Failure is not treated as an error. There will be no
error messages generated due to file name competition, nor for directory
permission problems.
At production time, you will need the “Datacard Maxsys” service's user account
to have read/write access to the output directory. At design-time, you need the
currently logged in user running diagnostics to have read/write access.
Ring Search Target Design
The target images for the Ring Search algorithm are simple BMP image files.
These image files use specially colored pixels to indicate different regions of the
image. The pixel colors are all grayscale values (red, green, and blue coordinates
of the same exact value). The colors are:
IGNORE (WHITE=255)
The background of the image must be perfect white. The search algorithm
knows to ignore these pixels.
FOREGROUND (BLACK=0)
Indicates the foreground pixels. These should be the centerline for the
actual reference mark itself.
BACKGROUND (GRAY=128)
Indicates a background pixel. This actually marks pixels that must be a
different color than the FOREGROUND pixels on the search images.
REFERENCE_POINT (DARK_GRAY=64)
Exactly 1 pixel must have this color. This is the reference point itself on the
target. For the "T" default target, this is the intersection of the horizontal
and vertical lines.
Custom targets can be designed to meet the specific needs of a design. Start with
the Target-T.bmp file given as part of the controller software distribution. You
Commentaires sur ces manuels