Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 18 of 40

700 Series Color Mobile Computer User's Manual: Section 6 - Scanner Support, pages 138 to 146

Pages 138 to 146 of 346, from 700 Series Color Mobile Computer User's Manual

The original document is the PDF (2.9 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 Intermec Model 720, Intermec Model 740, Intermec Model 741, Intermec Model 751, Intermec Model 760, Intermec Model 710, Intermec Model 730 and Intermec Model 761

Page 138

Section 6

Scanner Support "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

The 700 Series Color Mobile Computer is available with imaging or laser scanning technologies, including the following: APS linear imager: Reads 1D symbologies and PDF 417 bar codes. Linear imaging using Vista Scanning technology reads low-contrast bar codes, laminated bar codes, and bar codes displayed on CRT or TRT displays. This imaging uses harmless LEDs for illumination and does not require any warning labels. Vista Scanning is more reliable than lasers as it is a completely solid state with no moving parts or oscillating mirrors. 2D Imager: This decodes several stacked 1D and 2D symbologies, including PDF 417 and Datamatrix without “painting.” It can also read 1D codes from any orientation, for example the scan beam does not need to be aligned perpendicular to the symbol in order to read it. Photography is a secondary application; the lens in the device will favor bar code reading. Photos are 640x480, 256 gray-scale. 1D laser scanner: Traditional laser scanner that decodes 1D bar codes. PDF 417 laser scanner: Higher speed laser scanner that can read PDF 417 labels by “painting” the label.

700 Series Color Mobile Computer User’s Manual

6-1

Page 139

Scanner Support

SECTION 1

Scanner Control and Data Transfer " NOTE:

To use the methods described below, enable Data Collection functionality on the 700 Computer using the bootloader configuration menu. See Section 3, “Installing Applications and Updating System Software” for more information.

The Data Server and associated software provide several ways to manipulate scanner control and data transfer between the scanner subsystem and user applications: Automatic Data Collection COM Interfaces: These COM interfaces allow user applications to receive bar code data, and configure and control the bar code reader engine. ITCAxBarCodeReaderControl functions: These ActiveX controls allow user applications to collect bar code data from the scanner, to configure the scanner, and to configure audio and visual notification when data arrives. For more information, see the SDK User’s Manual. ITCAxReaderCommand functions: Use these ActiveX controls to modify and retrieve configuration information using the reader interface commands. For more information, see the SDK User’s Manual. Scanning EasySet bar code labels: You can use the EasySet bar code creation software from Intermec Technologies Corporation to print configuration labels. Scan the labels to change the scanner configuration and data transfer settings.

Automatic Data Collection COM Interfaces Data collection configuration and functionality cannot be accessed by any means (including control panel applets or remote management applications) until after the 700 Series Computer has completed initialization, which occurs during a warm- or cold-boot or after a firmware upgrade. When initialization is complete, the green LED on the 700 Series Computer stops flashing. Changes made to configuration settings remain after a warm boot. After a cold-boot, all configuration settings are reset to their defaults with the exception of scanner configurations, which remain except for the Symbology Identifier transmission option or the Preamble and Postamble strings. To reset all configuration settings to the factory defaults, the S9C scanner firmware must be reloaded. The Automatic Data Collection (ADC) functions are accessed through custom COM interfaces. These interfaces allow the application to receive bar code data and configure and control the bar code reader engine. The COM interfaces include the following functions: " " " " " "

6-2

IADC (starting on page 6-12) IBarCodeReaderControl (starting on page 6-17) IS9CConfig (starting on page 6-28) IS9CConfig2 (starting on page 6-54) IS9CConfig3 (starting on page 6-61) IImage Interface (starting on page 6-65)

700 Series Color Mobile Computer User’s Manual

Page 140

Scanner Support

SECTION 6

Multiple ADC COM Object Support A 700 Series Computer may have multiple reader engines to decode different types of ADC data. For example, a bar code reader engine decodes raw bar code data and passes it to a bar code reader COM object. An RFID reader engine decodes raw RFID tag data and passes it to an RFID tag reader COM object. ADC COM interfaces are implemented as in-process COM objects. An instance of the ADC COM object creates a logical connection to access or control the reader engine. Specifically, the IBarCodeReadConfig or IBarCodeReaderControl COM objects can manage the bar code scanner configuration while the ADC COM object can gather data simultaneously. These ADC COM objects or connections can be created in a single application or multiple applications. Up to seven instances of a COM object can be created for a reader engine. For more information, see “How to Create and Use the ADC COM Interfaces” below. For data collection features, ADC COM objects also provide for read ahead and non-read ahead data access and grid data editing.

How to Create and Use the ADC COM Interfaces You can also use the Input Device Functions (starting on page 6-11) to create and use the ADC COM interfaces. 1. Create and initialize the in-process Bar Code Reader object using ITCDeviceOpen() (see page 6-11). This function returns a COM Interface pointer to the Bar Code Reader Object created by the function. 2. Set the data grid if data filtering is desired (default grid gives the application all the data). Below is a sample code of how to set the grid to accept Code 39 data that starts with the letter “A” and is not a reader command. ITC_BARCODEREADER_GRID stBCGrid; stBCGrid.stDIGrid.szDataMask = TEXT(”A%s”); stBCGrid.stDDGrid.dwSymbologyMask = BARCODE_SYMBOLOGY_CODE39; stBCGrid.dwDataSourceTypeMask = ITC_DATASOURCE_USERINPUT; HRESULT hrStatus = pIBCControl->SetAttribute( ITC_RDRATTR_GRID, reinterpret_cast<BYTE *>(&stBCGrid), sizeof(stBCGrid) );

3. Issue a read to accept the bar code data. The timestamp, symbology, and data type are put into the ITC_BARCODE_DATA_DETAILS structure. Passing in a pointer to this structure is optional. The following sample code uses an infinite timeout. ITC_BARCODE_DATA_DETAILS stBCDetails; BYTE rgbBCData[1024]; // Buffer used to accept the bar code data DWORD dwBytesReceived; // Number of bytes in the return data. HRESULT hrStatus = pIBCControl->Read( rgbBCData, sizeof(rgbBCData), &dwBytesReceived, & stBCDetails, INFINITE );

4. Compile and link the application.

700 Series Color Mobile Computer User’s Manual

6-3

Page 141

Scanner Support

SECTION 6

Read-Ahead Bar Code Data Access

The Bar Code Reader COM object delivers ADC data to the connection in readahead mode. In this mode, the data is queued until a COM connection is ready to read it. Read-ahead mode decouples reader device performance from the application performance. That is, data is read as fast as the user can scan it, independent of the connection processing load. No data will be scanned until the first Read() function is posted.

Grid Data Filtering

The virtual wedge retrieves scanned Automatic Data Collection (ADC) data and sends it to the keypad driver so that the 700 Series Computer can receive and interpret the data as keypad input. The data can be filtered so that only data conforming to a certain text pattern or symbology will be sent to an application. After the data is filtered, it can be edited by adding, deleting, or rearranging portions of the text or by extracting portions of text for further editing. To filter and edit data, you need to define the virtual wedge grid parameters. Grid Processing: Grid processing takes place in two steps: Compilation: In which the user’s grid expressions are checked for errors and reduced to a binary form for faster matching. This is done whenever the virtual wedge grid is set or changed by configuration software. Matching: In which data is tested against the grids set in compilation. Matching can be performed multiple times after a compilation. The AIM symbology ID of the data being tested, including the enclosing angle brackets, must be prepended to the incoming data. Syntax: The basic syntax of each grid expression is: <symID> filter-expression= > editing-expression symID Is the AIM symbology ID (see the AIM Symbology ID Defaults table starting on page 6-63). filterexpression Is any character string that includes valid filter expression values (see the “Filter Expression Values” table below). editing-expression Is any character string that includes valid editing expression values (see the “Editing Expression Values” table on page 6-6).

6-4

700 Series Color Mobile Computer User’s Manual

Page 142

Scanner Support

SECTION 6

Filter Expression Values

A filter-expression can be any string of text containing the operators listed below. Operator

Meaning

Example

Any character string not containing the special characters: . ? [ ] { } or \ (period, question mark, left/right brackets, left/right curly brackets, backslash) \c where c is any of the special characters: . ? [ ] { } or \ (period, question mark, left/right brackets, left/right curly brackets, backslash) . (period) ^ (tarot)

Match the string literally.

super20 matches super20

Remove any special meaning of c.

\* matches *

Any character. Anchor the match at the beginning of the string. Anchor the match at the end of the string. Repeat the preceding expression zero or one time. Repeat the preceding expression zero or more times. Repeat the preceding expression one or more times. A series of non--repeating characters denoting a class. A sequential range of nonrepeating characters denoting a class. Any character except those denoted by a character class. [:alnum:], Alphanumeric characters [:alpha:], Alphabetic characters [:blank:], Tab and space [:cntrl:], Control characters [:digit:], Numeric characters [:graph:], All printable characters except space [:lower:], Lowercase letters [:print:], All printable characters [:punct:], Punctuation [:space:], White space characters [:upper:], Uppercase letters [:xdigit:], Hexadecimal digits Matches exactly num repetitions. Matches at least num repetitions. A repetition operator like + or *, except the number of repetitions is specified by min and max.

. matches x ^abc matches abc, but not aabc

$ (dollar sign) ? (question mark) * (asterisk) + (plus symbol) [characterclass] [rangel–rangeh] [^characterclass] [characterclass_tag]

{num} {min,} {min,max} abc$ matches abc but not abcc aa? matches a or aa ab*c matches ac, abc, abbc, etc. ab+c matches abc, abbc, etc. [abcdefhijklmnopqrstuvwxyz] is the class of all lowercase alphas. [a–z] is the class of all lowercase alphas. [^a–z] matches a numeric digit or a punctuation mark. [[:alpha:]]* matches Dynaction, Selmer, or NewWonder but not Super20 a{3} matches only aaa a{3,} matches aaaa but not aa [a--z]{1,3} matches a, ab, or aab, but not aabc

700 Series Color Mobile Computer User’s Manual

6-5

Page 143

Scanner Support

SECTION 6

Operator (Continued)

Meaning

Example

(expr1)|(expr2) (subexpression)

Matches expr1 or expr2. Grouping operator to consolidate terms into a subexpression, which can override the order of evaluation. The subexpression is available for later matching or editing by means of \index, where \index is between 1–9 and refers to the index--th group in the string, counting from left to right. \0 refers to the whole expression.

a|b matches a or b Overriding evaluation order: (ab)*c matches c, abc, ababc, etc. Back-referencing: (aa)bb\1 matches aabbaa.

Editing Expression Values

This table lists the valid operators for editing expressions. Operator

Meaning

Example

\index

The index-th subexpression (reading left-right) in the matched string. index must be between 0–9. \0 is the matched expression itself. The matched expression itself.

M([0--9]{6})= > \1 produces 270494 when M270494 is scanned, stripping off the first character.

& or \0

\xhh any character string

A concise representation of the lower 256 characters in the Unicode set. When converted, this is still a 16-bit value. Inserts any character string in the output string.

M[0--9]{6}= > \0–Conn and M[0--9]{6}= > &–Conn both produce M270494–Conn when M270494 is scanned. \x0d inserts a carriage return.

See previous examples.

<symID> is optional. If present, only data in the indicated symbology is accepted. If the entire expression is blank, all data is passed unchanged. If = > editing-expression is omitted, then all data that passes through the filter is returned unchanged. If = > editing expression is present, the data is transformed by editing-expression. Multiple grid expressions can be compiled and are related in a logical OR fashion. These are expressed as single grid expressions separated by semicolons. When matching is attempted, the first grid expression from left to right that achieves a match will cause the data to be accepted. All pattern expressions and parsed data are in Unicode.

6-6

700 Series Color Mobile Computer User’s Manual

Page 144

Scanner Support

SECTION 6

EXAMPLE 1:

Grid Filter Example 1 This accepts a serial number in which the encoded number is a six-character string beginning with M followed by six numeric characters. Filter M[0--9]{6} Effect When a bar code, such as M270494, is scanned, all data is passed.

EXAMPLE 2:

Grid Filter Example 2 This formats a scanned Social Security number and forms it into an XML element tagged “SSN”. Filter ([0--9]{3})([0--9]{2})([0--9]{4})= > <SSN > \1--\2--\3</SSN > Effect A bar code, such as 123456789, is passed and reformatted to <SSN > 123-45-6789</SSN >

EXAMPLE 3:

Grid Filter Example 3 This deletes the first three and last five characters of a 21-character Code 128 label and deletes the first two characters of a 10-character Interleaved 2 of 5 label. Filter <]C > ...(.{13}).....= > \1; <]I > ..(........)= > \1 Effect If Code 128, AAA1234567890123BBBBB becomes 1234567890123 If Interleaved 2 of 5, AA12345678 becomes 12345678

EXAMPLE 4:

Grid Filter Example 4 This inverts data such that the first alphabetic string (like a first name) and second alphabetic string (like a last name) are reversed and separated by a comma and a space. Filter ([[:alpha:]])+ ([[:alpha:]])+= > \2, \1 Effect When a bar code with the data “Dexter Gordon” is scanned, the data is modified to read “Gordon, Dexter”.

ADC Connection A 700 Series Computer can have both Bar Code and RFID reader engines with each engine supporting multiple connections. Each connection allows an application to access data or manage a configuration. An application could have multiple connections. // Get an instance of the ADC COM object that corresponds integrated scanner IBarCodeReaderControl *pIBCControl; // Pointer to the Bar Code Reader object HRESULT hrStatus = ITCDeviceOpen( TEXT(”default”), IID_IBarCodeReaderControl, ITC_DHDEVFLAG_READAHEAD, (LPVOID *) &pIBCControl); // If the ADC object was successfully created and initialized, accept bar code data. ITC_BARCODE_DATA_DETAILS stBCDetails; stBCDetails.wStructSize = sizeof(stBCDetails); BYTE rgbBCData[1024]; //Buffer used to accept the bar code data DWORD dwBytesReceived; // Number of bytes in the return data. HRESULT hrStatus = pIBCControl->Read( rgbBCData, sizeof(rgbBCData), &dwBytesReceived, & stBCDetails, INFINITE );

700 Series Color Mobile Computer User’s Manual

6-7

Page 145

Scanner Support

SECTION 6

2D Imager Overview The 700 Color optional integrated 2D Imager captures 640x480 256-grayscale images at 20 frames per second. The imager features can be categorized into data collection features and image acquisition features as follows:

Data Collection Features The imager includes a decode engine capable of decoding 2D matrix symbologies such as Datamatrix as well as the traditional 1D and stacked symbologies (see the table on the next page for supported symbologies). The application programming interfaces used to collect bar code data and configure the imager are the same as those used for the laser scanner. This includes the keyboard wedge as well as the ADC COM interfaces and includes functionality such as data editing and data filtering. In addition, the imager has the following configuration features (see “IS9CConfig3 Functions” starting on page 6-61 for configuration details): Aimer LED: A small, rectangular-aiming LED is displayed periodically during the image capture and decoding process. The initial duration (after scan buttons are pressed) of the aimer LED can be configured. This helps to select the specific bar code to be scanned with multiple bar codes in the image. Scaled Illumination LED: When the ambient light is not sufficient to decode the bar code, the red illumination LEDs will be turned on to brighten the image. The intensity of the illumination LEDs is scaled to brighten the image just enough for decode. The reduces power consumption and the effect of specular reflection. Window size and position: The default window size (640x480) can be reduced in size and positioned. This is useful in applications where multiple bar codes may be present in the image and the specific bar code must be selected to be read. For example, the window can be sized and positioned around the aimer LED. The entire bar code must reside in the configured window for a good decode. Omni-directional scanning is a feature that does not require configuration. 1D and stacked symbologies as well as 2D matrix symbologies can be scanned with the 700 Series Computer in any orientation. Thus, time is not needed to orient the 700 horizontal as with laser scanners.

6-8

700 Series Color Mobile Computer User’s Manual

Page 146

Scanner Support

SECTION 6

The following table shows which bar code symbologies are supported either by an imager or by a laser scanner.

Bar Code Symbology

Imager

Laser Scanner

Code 39

X

X

Interleaved 2 of 5

X

X

Standard 2 of 5

X

X

Matrix 2 of 5

X

Code 128

X

X

Code 93

X

X

Codabar

X

X

MSI

X

Plessey

X

UPC

X

X

EAN/EAN 128

X

X

Code 11 PDF 417

X X

X

Micro PDF 417

X

Telepen

X

Datamatrix

X

QR Code

X

Image Acquisition Features

The integrated imager provides the following image acquisition features: Real-time and Still Image Acquisition: This includes functions that start and stop image acquisition and read acquired images. Signature Capture: This allows the application to retrieve an image of the normalized signature. This means the image is always oriented as if the picture were taken at right angles to the signature, at the same distance, and in the center of the image no matter in what orientation the picture was taken. Signature capture requires a PDF 417 or Code 128 bar code symbology to be present in the image and requires the application to identify the X,Y offsets relative to the center the bar code, the X,Y dimension of image to be captured, and the aspect ratio of the bar code. Note the units are in terms of the narrow element width of the bar code.

700 Series Color Mobile Computer User’s Manual

6-9