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 31 of 33

502X Data Collection PC System Manual: Appendix D: Extending the Configuration Applications, pages 277 to 286

Pages 277 to 286 of 310, from 502X Data Collection PC System Manual

The original document is the PDF (2.7 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 Intermec 5020

Page 277

D Extending the Configuration Applications Blank pge

Page 278

blank

Page 279

Ng C9

Extending the Configuration Applications

D

This appendix explains how to extend and customize the local Configuration application and the Configuration Management application in Unit Manager. It includes 502X registry definitions and examples.

Getting Started The Configuration and Configuration Management applications are data-driven presentation engines. You access the local Configuration application from the Start menu on the 502X. You access the same data in Configuration Management by choosing Configuration in Unit Manager (Unit Management on 5023). The menus and options in the Configuration applications are properties in the 502X registry. You can modify the properties in the 502X registry to change the menus, configuration tabs, parameters, and options. This appendix explains the 502X registry and how you can extend and customize the Configuration applications. 502X Configuration Application

Configuration Management Application in Unit Manager

Required Tools To extend the Configuration applications, you need a Windows CE registry editor or you can construct a registry file that you import on the 502X. For example, you can use the Remote Registry Editor in the Microsoft Windows CE 2.1 Toolkit for Visual C++ 6.0. The instructions in this appendix assume that you are experienced in Windows programming.

D-3

Page 280

502X Data Collection PC System Manual

Nugg Code39

Understanding the 502X Registry The 502X registry is a Windows CE registry. The registry is a system-defined database that applications and system components use to store and retrieve configuration data. The next illustration shows the Configuration application section of the 502X registry. 502X Registry

The Configuration applications use the registry to dynamically create the user interface. The next table defines the structure and levels of the registry.

Registry Level Root

Description The highest level in the registry. In this example, the root is HKEY_LOCAL_MACHINE/SOFTWARE/INTERMEC/RUM/CONFIGAPP.

D-4

MenuItem

Registry subkey that defines a major grouping of configuration items. For example, DATACOLLECTION is a MenuItem.

PageView

Registry subkey that defines a configuration tab page under a MenuItem. For example, SCANNER is a PageView item.

[Children]

Specifies the next level in the registry.

[Properties]

The registry subkeys under Properties define the configuration items for a PageView item. For example, the properties of the Scanner page are Scanner Mode, Scanner Redundancy, Scanner Selection, Scanner Timeout, and Scanner Trigger Mode.

Page 281

Ng C9

Extending the Configuration Applications

D

The next sections explain how to • extend the Configuration application.

• import a registry file.

Use the last two sections in this appendix to look up the definitions for the “Registry Property Values” and the “Required and Optional Registry Property Values.”

Extending the Configuration Application By modifying the properties in the RUM section of the 502X registry, you can change the configuration menus, tabs, parameters, and options in the local Configuration application and the Configuration Management application in Unit Manager. For help using the Configuration application, see Chapter 2, “Configuring the 502X,” in the 502X user’s manual. For help with Unit Manager, see Chapter 4, “Using Unit Manager.” Note: If you cold boot the 502X, you will lose all registry changes and extensions. Make sure you export the registry file and save a backup copy.

To extend the Configuration and Configuration Management applications 1. Connect the 502X to your development PC and establish communications. 2. Edit the 502X registry. For help, see “Registry Property Values” later in this appendix. The Configuration application section begins at this branch: HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\RUM\CONFIGAPP

For example, open a Windows CE registry editor like the Remote Registry Editor in Microsoft Windows CE 2.1 Toolkit for Visual C++ 6.0. 3. Save the changes. 4. Choose RUM or the folder in RUM that you customized beginning at this branch: HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\RUM\CONFIGAPP

Export your registry changes and save the registry file as a backup file. You can import the registry file to recover your changes after a cold boot. For help importing a registry file, see “Importing a Registry File” later in this appendix. 5. Exit the registry editor. 6. To see the changes, restart the Configuration application on the 502X. You can also connect to the 502X through a Web browser, start Unit Manager, and then click Configuration to start the Configuration Management application.

D-5

Page 282

502X Data Collection PC System Manual

Nugg Code39

Example 1 In this example, change the Scanner Selection options from a list of eight scanners or input devices to a list of three input devices. Scanner Selection in the Local Configuration Application

To change the Scanner Selection options 1. Connect the 502X to your development PC and establish communications. 2. Edit the 502X registry. 3. Open the Scanner Selection branch of the registry as shown below.

4. Edit the ChoiceFmt line. The current ChoiceFmt line is: "ChoiceFmt"="0#Intermec Compatible¦4#Intermec 1545¦7#Intermec IID¦8#Intermec 155X¦10#Internal¦11#Internal long range¦ 12#Internal extra long range¦13#Internal raster"

Remove the Scanner Selection options 4, 7, 8, 12, and 13 as shown. "ChoiceFmt"="0#Intermec Compatible¦10#Internal¦11#Internal long range"

D-6

Page 283

Ng C9

Extending the Configuration Applications

D

The registry appears as shown next.

5. Save the changes and exit the registry editor. 6. To see the changes, restart the Configuration application on the 502X. The Scanner Selection parameter now has three options. You can also connect to the 502X with a Web browser, start Unit Manager, and click Configure to start the Configuration Management application. Choose Data Collection and look at the Scanner parameter to see the three options.

D-7

Page 284

502X Data Collection PC System Manual

Nugg Code39

Example 2 In this example, rename the Scanner tab to Input Device.

To rename the Scanner tab 1. Connect the 502X to your development PC and establish communications. 2. Edit the 502X registry. 3. Open the Scanner branch of the registry as shown below.

4. Edit the DisplayName field and change the name from “Scanner” to “Input Device.” The registry appears as shown next.

5. Save the changes and exit the registry editor. 6. To see the changes, restart the Configuration application on the 502X. The Scanner configuration tab in the Data Collection menu shows the new display name. You can also connect to the 502X with a Web browser, start Unit Manager, and click on Configure to start the Configuration Management application. Click Data Collection to see the renamed configuration tab.

D-8

Page 285

Ng C9

Extending the Configuration Applications

D

Importing a Registry File Once you have extended the Configuration application on a 502X, you can import the customized registry file into another 502X. You may also need to import the registry file if you cold boot the 502X. Note: If you cold boot the 502X, you will lose all registry changes and extensions. Make sure you export the registry file and save a backup copy.

To import a registry file 1. Copy the registry file from your development PC to the 502X. For help, see Chapter 4, “Using Unit Manager.” 2. On the 502X, choose Run from the Start menu. 3. Type this command and choose OK: itcconfig.exe filename.reg where filename.reg is the name of your customized registry file for the Configuration application. 4. Repeat Steps 1 through 3 for each 502X. Note: ITCCONFIG.EXE is only designed to import 502X properties. It is not a full-featured registry import application.

D-9

Page 286

502X Data Collection PC System Manual

Nugg Code39

Registry Property Values These are the possible values that can go in the registry. Not all of these values are required for each configuration item. For a list of required items, see the next section, “Required and Optional Registry Property Values.”

Adapter Purpose:

Reserved for use by Intermec. The adapter identifies the communications PC card.

Syntax:

Reserved.

Type:

Reserved.

Example:

Reserved for use by Intermec as shown next. [HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\RUM\CONFIGAPP\CHILDREN\Network\ CHILDREN\OpenAir1] "Ordinal"="2" "DisplayName"="Radio" "PageDependency"="PageDependency.PageDependency.1" "Adapter"="OpenAir" [HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\RUM\CONFIGAPP\CHILDREN\Network\CHI LDREN\OpenAir1\PROPERTIES\IPAddress\PROPERTIES\itcDHCPEnable.2] "OID"="1.3.6.1.4.1.1963.5.15.5.2.1.1.?" "Adapter"="OpenAir" "Type"="Integer" "DefVal"="1" "Ordinal"="1" "DisplayName"="Obtain IP Address via DHCP" "ShortDesc"="The next time the adapter is used it will have the new settings. If the adapter is currently in the device you can suspend and then resume the device to have the changes take affect." "ChoiceFmt"="0#FALSE|1#TRUE"

Bound

D-10

Purpose:

Reserved for future use.

Syntax:

Reserved.

Type:

Reserved.