The text of a manual · part 22 of 28
HawkEye 1500 Series Reference & Programmers Manual, pages 211 to 220
Pages 211 to 220 of 276
The original document is the PDF (1.3 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.
Filed in the catalog under the Microscan HE1510, RVSI CiMatrix HE1510 and Siemens HE1510
Page 211
VERSTATUS This command selects the verification grade ranges. The verification status indicates whether a Data Matrix mark is good (2), fair (1), or poor (0), based on the overall grade and two threshold values set using the command. The grades grade1 and grade2 are threshold values for good and fair marks, respectively. The valid values for grade1 and grade2 are A, B, C, or D. The value grade1 can be higher than or equal to but not lower than the value grade2. For example, the command: VERSTATUS B D configures the reader to report verification status to be 2 for grade A or B, 1 for grade C or D, and 0 for grade F.
Syntax VERSTATUS {param1} {param2} Where: param1, Is A, B, C, D –
This parameter is the lowest grade considered Good param2, Is B, C, D –
Rev 2.4.1, Nov 2008
This parameter is the lowest grade considered Fair. Param2 can never be greater than param1. If param2 = param1, verification will only give Good and Poor results, since there is no range of grades for Fair.
HawkEye 1500 Reference & Programmers Manual
1-197
1 Remote Commands Reference
VERSTATUS
Page 212
Chapter
1
Remote Commands Reference
VIEW This command displays the stored values in the PID index.
Syntax VIEW {pid#} Where: pid#, Is one of the following:
1-198
–
0, Current working area (default)
–
1 - 15
–
99, Factory defaults
HawkEye 1500 Reference & Programmers Manual
Rev 2.4.1, Nov
Page 213
VT
1
This command causes a Virtual Trigger to occur (the application must be waiting for it).
Remote Commands Reference
VT
Syntax VT {trigger} Where: trigger, Is the trigger number: Range: 0 - 27 Note: Triggers numbered 2, 4, 5, & 6 are actual GPIO lines and are considered physical; the remaining triggers are considered virtual.
Rev 2.4.1, Nov 2008
HawkEye 1500 Reference & Programmers Manual
1-199
Page 214
Chapter
1
Remote Commands Reference
WARP This command sets the matrix warping speed. Typically, Fast produces satisfactory read rates with much higher speed, although Slow sometimes can be more robust than Fast for very poor images.
Syntax WARP {opt} Where: opt, Is either of the following:
1-200
–
Fast (default)
–
Slow
HawkEye 1500 Reference & Programmers Manual
Rev 2.4.1, Nov
Page 215
WAVELENGTH
1
This command sets the customer light source’s wavelength in nm; it is used only for reporting. The default value is 640 nm.
Remote Commands Reference
WAVELENGTH
Syntax WAVELENGTH {280-880}
Rev 2.4.1, Nov 2008
HawkEye 1500 Reference & Programmers Manual
1-201
Page 216
Chapter
1
Remote Commands Reference
WIDTH This command sets the expected Data Matrix width. Note: See also “HEIGHT” on page 1-70 and “RATIO” on page 1-142.
Syntax WIDTH {opt} Where: opt, Is either of the following: – width, Is the width: Range: 20 - 1024
–
1-202
AUTO, Autoselect (default)
HawkEye 1500 Reference & Programmers Manual
Rev 2.4.1, Nov
Page 217
XDIMENSION
1
This command specifies the maximum and minimum dimension range in 0.1 mil increments. To specify 7.5 mils, enter:
Remote Commands Reference
XDIMENSION
75
Syntax XDIMENSION {max: 11 to 990} {min: 10 to (max-1)} •
Max default is 250
•
Min default is 75
Rev 2.4.1, Nov 2008
HawkEye 1500 Reference & Programmers Manual
1-203
Page 218
Chapter
1-204
1
Remote Commands Reference
HawkEye 1500 Reference & Programmers Manual
Rev 2.4.1, Nov
Page 219
2 ReadRunner Programming
2 ReadRunner Programming Reference
CHAPTER 2
Introduction The ReadRunner development libraries allow for easy development of custom applications that interface to the HawkEye™ 1500 family of readers. A unique approach, described herein, significantly simplifies user programming – yet provides maximum flexibility. The key concept that facilitates this simplicity is an object called the MiCoordinator. The MiCoordinator object allows the various components to “talk” to each other behind the scenes – so that, in most cases, the amount of custom code that needs to be written is surprisingly small.
Libraries There are three libraries that contain components of interest: •
Rev 2.4.1, Nov 2008
MIOBJ.DLL – (Microscan HawkEye™ Reader Object Type Library) This library contains lower level objects that provide the foundation for the other libraries. The MiCoordinator object mentioned above resides here, as well as the MiCycleReport object, which wraps data (reports and images) coming from a HawkEye™ 1500 reader. This library also contains objects that manage connections to HawkEye™ 1500 devices. In most cases, you will not have to deal with these connection objects directly, as these are, in turn, wrapped in even easier to use objects.
HawkEye 1500 Reference & Programmers Manual
2-1
Page 220
Chapter
2
ReadRunner Programming Reference
•
MIOBJUI.DLL – (Microscan HawkEye™ Reader ActiveX Library) This library contains several user interface objects. The most important object in this library is MiImageView, which provides an easy way of viewing images that come from a HawkEye™ 1500.
•
RRKIT.OCX – (Microscan ReadRunner ActiveX Library) This library provides many useful user interface and connection objects. This will likely be the starting point for any custom-programming project. The library itself is written in Visual Basic, which illustrates the depth available to the programmer.
Note: To include these libraries in a VB project, first include MIOBJ.DLL as a Project Reference, and then add MIOBJUI.DLL and RRKIT.OCX as Project Components.
Important Objects •
MiCoordinator, This object provides the foundation on which most of the other objects rely. Even if you do not use this object directly, understanding what is does will provide a better understanding of the other components. –
Provides behind the scenes magic glue. In fact, all instances of the MiCoordinator object within the same process are actually the exact same object. To illustrate, imagine two forms, each declaring their “own” new MiCoordinator object. Since they are both actually the same object, one control can call a method of its “own” MiCoordinator, which results in an event to the clients of all MiCoordinators.
–
Maintains list of discovered devices (HawkEye™ 1500’s). This list is provided via the Devices property. For example, in VB, you could do the following: dim coord as new MiCoordinator Dim d as MiDevice for each d in coord.Devices ‘ do something with device next d
–
2-2
Provides concept of “Focus Device”. In many cases, an application is only concerned with a single device at a time. When this is the case, the device to work with can be specified using the DeviceFocusSet method
HawkEye 1500 Reference & Programmers Manual
Rev 2.4.1, Nov