The text of a manual · part 25 of 34
HawkEye 1500 Series User Manual, pages 241 to 250
Pages 241 to 250 of 338
The original document is the PDF (3.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan HE1510, RVSI CiMatrix HE1510 and Siemens HE1510
Page 241
Fine Tuning & Monitoring Your Application
The camera returns to normal acquisition.
The Filmstrip Recorder You can use the Filmstrip Recorder to save images directly to disk files for debugging purposes. It is an alternative to using the Part Queue and the QueueView application. Here are some important considerations when choosing between the two methods: The Part Queue is lossless in the sense that every image inspected will be stored if the qualifier criteria is met. However, there is a relatively small limit to the number of images that can be stored, so only the most recent images will be available to the QueueView application. If you are tracking down a failure that occurs infrequently, this is the preferred method of obtaining debugging images, since you are guaranteed not to miss the failure.
•
The Filmstrip Recorder can only record images that are transferred to the PC at whatever rate will not slow the operation of the HawkEye™ 1500. This will not be every image, so this is not an appropriate way to track down a rare failure, since you may miss it entirely. However, the only limitation for the number of images stored is the free disk space available. This may be a more appropriate method for a statistical sampling of failures over a relatively long period of time. Also, you may find it more convenient to use the Filmstrip Recorder as a quick image storing mechanism versus setting up the Part Queue and using QueueView. To maximize the Filmstrip Recorder, see “Preferences” on page 4-44.
By default, the Filmstrip Recorder stores 25 image records in memory. This can consume a sizable amount of memory. When connecting multiple ReadRunners to monitor different cameras on the same PC, it is recommended that, at most, one Filmstrip Recorder be active for a System with 128MB of memory. To display the Filmstrip Recorder window: 1.
v2.4.1, Nov 2008
Press Ctrl+F, or select Filmstrip Recorder from the Windows menu. ReadRunner displays the Filmstrip Recorder window, as shown in Figure 4–86.
HawkEye™ 1500 Series User Manual
4-131
4 ReadRunner
•
Page 242
Chapter
4
ReadRunner
FIGURE 4–86. ReadRunner Filmstrip Recorder Window
Type of Images to Save Display New Images Stop Display Of New Images Record Images to Disk 2.
Specify the following: –
Record Images to Disk, When you click this button, ReadRunner begins saving files to the ReadRunner directory on the PC. Note: This button will continue to flash to remind you that you are in record mode.
4-132
–
Stop Display Of New Images, Click this button to temporarily stop displaying and recording images in the Filmstrip Recorder.
–
Display New Images, Continue displaying and recording images if the record button is flashing.
–
Type of Images to Save, Specifies the type of images ReadRunner saves (Passed + Failed, Failed Only, Passed Only) to the ReadRunner folder on the PC.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 243
5 Reading Difficult Symbols
CHAPTER 5
This chapter explains how to use your HawkEye™ 1500 Series Smart CameraBased Reader to read difficult and damaged symbols. For a detailed Data Matrix description, see Appendix D, “Symbology Reference,”.
•
Always attempt to create a balanced, properly contrasted Data Matrix image.
•
Minimize the geometrical distortion of the Data Matrix with proper camera alignment.
•
Choose a model with appropriate FOV such that the reported cell size after the learn is between 5 and 10 pixels per cell.
•
When appropriate, preprocess the image. Erode and Dilate are helpful for poor dot peen types of images.
•
If Learn is not successful, use Assisted Learn. If Assisted Learn is unsuccessful, improve the mark and image quality first.
Further Explanation Although the algorithm with default parameters is capable of reading a variety of different images, for a typical application that involves only one type of Data Matrix, always apply a learn to narrow down the reading parameters. By constricting the parameters such as Num Columns, Num Rows, ECC Level, v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
5-1
Reading Difficult Symbols
5
General Reading Guidelines
Page 244
Chapter
5
Reading Difficult Symbols
Polarity, Image Style, Matrix Height, and Matrix Width to a specific value, the algorithm will quickly reject any Data Matrix like objects that don't fit the profile described by the parameters and get to the Data Matrix of the interest quicker. This ensures that the reading time is more consistent. Furthermore, knowing these parameters, the algorithm will not have to compute them, but simply confirm them. This saves time and improves robustness. These parameters can be displayed in the Advanced Window - Data Matrix Parameters in ReadRunner (see “Data Matrix Parameters” on page 4-104). Once the system is learned, you can relax the parameter constraints freely to meet the application requirements. For example, if the Data Matrix quality varies such that its size can increase or decrease from the learned value by over the maximum of 10% allowed by the algorithm, you can set both Matrix Height and Matrix Width to Auto so that the size will no longer be constricted. An alternative to setting both Matrix Height and Matrix Width to Auto is to set the Matrix Height and Matrix Width by their corresponding average values obtained by learning the largest Data Matrix and the smallest Data Matrix. Set the Orientation parameter whenever possible. If in the application the Data Matrix is always presented to the camera in the same orientation, set it to the correct value instead of leaving it at Auto. For more information, see page 4–106. The Learn is a powerful tool and will usually succeed when applied to a Data Matrix of acceptable quality. When learn fails, you should determine: •
If the FOV of the camera is properly chosen for the application. For more information, see Pixel Per Cell on page 4–107.
•
If the mark quality is acceptable with one of our field proven industry leading Data Matrix quality verification products.
If the Learn fails due to an unsuitable FOV, and such a FOV is required, then use Assisted Learn to help correct the problem. Generally, once Assisted Learn is successful, the application will be robust.
Preprocessing with Morphology For poorly marked Data Matrices, applying morphological preprocessing operations can improve the image quality and make the reading process more robust. Proper use of the Erode or Dilate can help balance the size between the dark and light cells in a severely underprinted or overprinted Data Matrix symbol. Use Open or Close to remove minor defects on Data Matrix cells.
5-2
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 245
Preprocessing with Morphology
Erode Example Figure 5–1 shows a poorly marked Data Matrix before ERODE is applied. FIGURE 5–1. Example Before Applying Erode
Assume that we want to apply Erosion to increase the size of the dark cells on the light background: From ReadRunner, click the Add Camera button to connect a camera.
2.
Highlight the camera you want to connect and click OK.
3.
Click on the newly added button for the camera you just added.
4.
Click on the Take Control button.
5.
Click Yes when asked if you want to control the camera you just added.
6.
Click the Photometry button.
7.
From the Method pull down menu, select ERODE.
8.
From the Iteration pull down menu, select 2.
5 Reading Difficult Symbols
1.
Figure 5–2 shows the same Data Matrix after ERODE is applied with 2 Iterations.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
5-3
Page 246
Chapter
5
Reading Difficult Symbols
FIGURE 5–2. Example After Applying Erode
Dilate Example Figure 5–3 shows a poorly marked Data Matrix before DILATE is applied. FIGURE 5–3. Example Before Apply Dilate
Assume that we want to apply Dilation to increase the size of the light cells on the dark background:
5-4
1.
From ReadRunner, click the Add Camera button to connect a camera.
2.
Highlight the camera you want to connect and click OK.
3.
Click on the newly added button for the camera you just added.
4.
Click on the Take Control button.
5.
Click Yes when asked if you want to control the camera you just added.
6.
Click the Photometry button.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 247
Reading Different Difficult Symbols
7.
From the Method pull down menu, select DILATE.
8.
From the Iteration pull down menu, select 1.
Figure 5–4 shows the same Data Matrix after DILATE is applied with 1 Iteration. FIGURE 5–4. Example After Applying Dilate
Reading Different Difficult Symbols
For details about how to use this capability, please consult the Technical Note titled “Tech Note EM-40176-1.” v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
5-5
5 Reading Difficult Symbols
If an application requires reading different types of Data Matrix symbols, and the reading with the default decoder parameters does not produce satisfactory results, you can create several jobs, each containing a learned parameter for each type of the symbol. When a new image is acquired, the reader will try to decode the image with the parameter set stored in the jobs, one at a time, until a successful decode is achieved.
Page 248
Chapter
5-6
5
Reading Difficult Symbols
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 249
6 The Bootloader
CHAPTER 6
This chapter describes the diagnostics and utilities for the HawkEye™ 1500.
Diagnostic Levels HawkEye™ 1500 diagnostics can be divided into the following levels of testing: Level 0 diagnostics are executed as a power-on self-test from the boot loader and provide enough coverage to safely bring up the application code.
•
Level 1 diagnostics are executed as part of the vxWorks application initialization scheme. Examples of tests running at this level are those that require the FPGA to be loaded or those that need system services such as timers.
In addition to these levels, an enhanced diagnostic monitor is provided for hardware debug and verification. The diagnostic monitor represents a significant enhancement of the existing terminal program and is resident within the bootloader. The monitor provides utilities and tests to aid in hardware debug and verification.
Diagnostic Monitor Tests, typically consisting of hardware functional blocks can be run one at a time or as part of a group. Through the use of a loop counter, the number of times a test is executed is configurable.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
6-1
6 The Bootloader
•
Page 250
Chapter
6
The Bootloader
Additionally, utilities are provided which, as a minimum, can peek/poke memory locations. You can access the monitor through QuicSet (press during power up ONLY). It is also accessed if there is a POST failure.
Note: A QuicSet boot does not run POST diagnostics.
Power-On
FIGURE 6–1. Boot Flow
Boot Loader Serial Port
POST
FAIL
LEDs
STATUS
FAIL
QuicSet
Diagnostic Monitor
PASS vxWorks Application Diagnostics
STATUS
LEDs
PASS FAIL
Main Application
6-2
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008