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 27 of 46

DCS 300 User's Manual, pages 261 to 270

Pages 261 to 270 of 460

The original document is the PDF (2.2 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 DCS-300

Page 261

Using Screen Mapping

11

Now that you have configured the DCS 300 to communicate with your LAN and you have configured your server to communicate with your Intermec network, you are ready to tie the entire data collection network together using screen mapping. Before you can run screen mapping, you need to have defined your terminal sessions in Chapter 10, “Using Terminal Sessions.” This chapter explains how to create script files for screen mapping. It also explains how to define screen mapping sessions that match a terminal session with a script file. You must use another program to create the application that runs on your devices.

Chapter Checklist Done?

‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰

Task

Page

Create a new or open an existing script file.

11-17

Set global options for the current script.

11-22

Create standard sequences for starting and ending screen mapping sessions.

11-26

Define all transactions that the current script uses.

11-32

Select a current transaction.

11-32

Define all the host screens that receive data from the current transaction.

11-33

Select a current host screen.

11-33

Define all host screen fields, regions, and messages for the current host screen.

11-36

Repeat the preceding two steps until you have defined all host screen fields, regions, and messages for all host screens that receive the data from the current transaction. Repeat the preceding six steps until you have defined all transactions. Determine the order of events.

11-54

Define user blocks.

11-61

11-3

Page 262

DCS 300 User’s Manual

Chapter Checklist (continued) Done?

‰ ‰ ‰

Task

Page

View and check the script.

11-64

Map the transaction fields to the host screen fields.

11-74

Save the configuration.

11-76

When you understand these sections and perform these tasks, you can start using the server.

11-4

Page 263

Using Screen Mapping

11

About Screen Mapping Screen mapping lets you map transaction fields from a JANUS device, a TRAKKER Antares terminal, or a 6400 to different host screen fields in a host application. On the DCS 300, you use the Script Builder Tool to create a script file that the server uses to map transaction fields from the devices to host screen fields. You can also use the Script Builder Tool to create logon and logoff sequences in host screens, handle regions (such as error messages) on host screens, and send messages back to the source of the transaction, such as a terminal. On the DCS 300, you also must create screen mapping sessions that define specific transactions to be sent to a specific host terminal session using a specific script file. Screen mapping sessions allow multiple terminal sessions on the server to simultaneously communicate with multiple terminal emulator sessions running on different hosts. To create an application that runs on your devices: •

For TRAKKER Antares terminals, you can use the C programming language. Intermec recommends that you use EZBuilder, which is a fast, easy-to-use development tool that creates applications. You can use it to create menus, screens, data fields, labels, transactions, and other processing functions. For more information, contact your local Intermec respresentative.

•

For JANUS devices and WTP devices, you can use C++ or any other standard programming language.

Note: Transactions sent by TRAKKER Antares terminals and JANUS devices and running in the Intermec 2.4 GHz RF network have a maximum length of 1024 characters, including delimiters. Transactions sent by JANUS devices running in the Intermec 900 MHz RF network have a maximum length of 254 characters, including delimiters.

11-5

Page 264

DCS 300 User’s Manual

This figure shows data originating from a JR2020 being sent through a BRU to the server to a host application running in a terminal emulator.

Typical Screen Mapping Application Host Screen

Add Part Number Work Order # 1 Part # 6020 Quantity 200 Order Due Date 040996 Lot Number LN609820 ...Press enter to save...

Bas eR ad io PO

WE

R

91

RX RFNC

RF

NC

TX

81

AN TE NN A

WO 1 TRX Part # : 6020 Qty : 200 ORD DATE : 04/09/96

0300U.045

11-6

Page 265

Using Screen Mapping

11

About Script Files Script files contain the logic for mapping the transaction data that is exchanged between devices and a host. Using script files, the DCS 300 maps transaction fields into host screens. Intermec has designed the Script Builder Tool as a GUI tool that lets you easily create, edit, and check script files. Intermec recommends that you use the Script Builder Tool to create your scripts and define user blocks to customize it. If you manually create a script, you cannot open and edit this script using the Script Builder Tool. For help manually creating a script, see the DCS 300 Technical Reference Manual.

Preparing to Use the Script Builder Tool Before you start using the Script Builder Tool, you should identify the tasks that you want the script to perform. You must know • the transactions that the script will process. You should also design one terminal screen for each transaction.

• the starting point (host screen) for all transactions. If the script is going to handle only one transaction, the main host screen is the screen that contains the host screen field that will receive the first transaction field mapping. If the script is going to handle multiple transactions, the main host screen is the screen that contains the different options, such as a menu, where you can choose different options that send different transactions.

• the host screens and host screen fields that will receive transaction data, such as data entry screens.

• the host screens and host screen fields that will output data, such as inquiry result screens.

11-7

Page 266

DCS 300 User’s Manual

Single Transaction Script Files vs. Multiple Transaction Script Files You can build a script file that contains only one transaction or you can build a script file that contains many transactions, as long as they all branch from one host screen. A single transaction script file is the easiest to build. However, if you have too many single transaction script files running at the same time, you can use up system resources and the server performance may slow down. Each script file requires a dedicated screen mapping session to run. A multiple transaction script file lets you process many transactions (one at a time) using one screen mapping session. You should group transactions that are logically related. If you watch the host terminal session while a script file is running, you will notice that when the script file maps the transaction, it always starts from the main host screen. It returns to the main host screen after it maps the last transaction field. You need to consider how much time it takes to get from the main host screen to the first host screen that receives the first transaction field mapping. Each type of script file has advantages and disadvantages. Generally, it is better to use a multiple transaction script file as long as you carefully group transactions to minimize overhead. The next illustration shows how using a single transaction script file can reduce overhead on the system. The first part of illustration shows a multiple transaction script file. The transaction starts from the main host screen (Screen 1) and goes through three screens before the first mapping of a transaction field to a host screen field occurs. The second part of the illustration shows a single transaction script file. The main host screen is the screen where the first mapping occurs.

11-8

Page 267

Using Screen Mapping

11

Multiple Transaction Script vs. Single Transaction Script Example Main host screen

Screen 1

↓ Screen 2

↓ Screen 3

↓ First mapping screen

Screen 4

↓ Screen 5 Back to Screen 1

Main host screen/First mapping screen

Screen 4

↓ Screen 5 Back to Screen 4

11-9

Page 268

DCS 300 User’s Manual

Identifying Key Elements for the Script File Before you create your screen mapping application, you need to be able to identify key elements, such as the main host screen, transactions, and host screen fields, for the script file. You also need to decide if your tasks will use single transaction script files or multiple transaction script files. Use these examples to help you determine how to structure your script file.

Example 1 - Single Transaction Script File In this example, the script file will log on to the AS/400 and invoke an MRP application called Data 3 Systems to add a work order. This task will be performed using one transaction. To complete the work order add transaction, a user will need to enter the work order part number in Screen 4, and the quantity and order due date in Screen 5. These fields will require the script file to map transaction data to them. Since this is a single transaction script file, the main host screen is the first screen (Screen 4) that has transaction data mapped to it.

Screen 1

11-10

Screen 2

Page 269 read from a scan by OCR; it may hold reading errors

Using Screen Mapping

Screen 3

Mii A - A - 5250 Emulator File Edit Settings Keyboard Help QP Abide:

BUSTHESS PLANNING

288 © ROUGH CUT MASTER CAPACITY, PRODUCTION PLANNING SCHEDULE

Bae MATERTAL PRODUCT REQUIRENENT S STRUCTURE PLANNING

418 = DETAIL CAPACITY PLANNING

4288 = STANDARD PRODUCT COST

ENTER MENU

2BaA BO58PLU A

BH PURCHASE ORDER MANAGEMENT

THVERT ORY MANAGEMENT

S88 WORK _ ORDER HANAGEHENT

Menu

Screen 4 (Main Host Screen)

Mii A - A - 5250 Emulator File Edit Settings Keyboard Help

6 q 1 WORK ORDER ADD CcH ==1 Fi

15.) Last Work Order Number, 8

2BaA BO58PLU A oo

5250 Emulator Settings Keyboard Help WORE ORDER ADD

2BaA BO58PLU A

11-11

Page 270

DCS 300 User’s Manual

Example 2 - Multiple Transaction Script File This example adds another transaction to Example 1. Besides the work order add transaction, the script file processes a work order quantity inquiry transaction. The result of the query is sent back to the application that is running on the terminal. These screens show two transaction paths branching from Screen 3. If you enter 915 in the Enter Menu Option field of Screen 3, you will go to Screen 4 to process the work order add transaction. However, if you enter 910, you will go to Screen 6 to process the work order quantity inquiry transaction. Screen 3 is the central starting point for both transactions and therefore, it is the main host screen. The work order quantity inquiry transaction requires you to enter the work order in Screen 6 to start the inquiry. Therefore, the Work Order field will require the script file to map transaction data to it. Screen 7 shows the result of the inquiry. The number in the Order Qty field will be sent back to the terminal application. Therefore, the Order Qty field is an output region. The query result will be sent back to the terminal using a transaction message. To learn how to define a transaction message, see “Adding a Message” later in this chapter.

Screen 3 (Main Host Screen)

11-12