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 32 of 64

Trakker Antares 24XX Terminal User's Manual Addendum, with the Trakker Antares 2420 and 2425 Hand-Held Terminal User's Manual: Chapter 5 - Using Custom Applications, pages 251 to 260

Pages 251 to 260 of 558, from Trakker Antares 24XX Terminal User's Manual Addendum, with the Trakker Antares 2420 and 2425 Hand-Held Terminal User's Manual

The original document is the PDF (4.1 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 2420 and Intermec 2425

Page 251

5 Using Custom Applications

Page 252

5-2

Page 253

Nugg

Co de

39Using Custom Applications

5

This chapter introduces the TRAKKER Antares 2420 and 2425 programmable terminals and explains how to download and run applications on the terminals. You will also find instructions on how to use the screen mapping application.

How To Download and Run Applications Here’s a brief summary of the steps you follow to download applications and files to the programmable terminals. To learn more about the programmable features, start with the next section, “About the TRAKKER Antares Programmable Terminals.” Use the serial port to download applications and files to the terminal 1. Create your applications using the TRAKKER Antares Programmer’s Software Kit (PSK) or EZBuilder. For help, see page 5-6. 2. Convert each application to a binary file using the PSK utility EXE2ABS.EXE. For help, see page 5-8. Or, use the EZBuilder option to convert each application to a binary file. 3. Connect the terminal to the development PC or host computer using the communications dock, optical link adapter, serial interface module, or modem. For help, see “Using Serial Communications on the Terminals” in Chapter 4 or your accessory documentation. 4. Use the FileCopy utility to download applications and files to the terminal. For help, see page 5-9. 5. Use the System Menu in the TRAKKER Antares 2400 Menu System to load and run an application. For help, see page 5-17. Use the DCS 300 to download applications and files to the T2425 1. Create your applications using the TRAKKER Antares PSK or EZBuilder. For help, see page 5-6. 2. Convert each application to a binary file using the PSK utility EXE2ABS.EXE. For help, see page 5-8. Or, use the EZBuilder option to convert each application to a binary file. 3. Copy the applications and files to the DCS 300. For help, see page 5-12. 4. Use the Download Server feature on the DCS 300 to download applications and files to the T2425. For help, see page 5-14. 5. Use the System Menu in the TRAKKER Antares 2400 Menu System to load and run an application. For help, see page 5-17.

5-3

Page 254

TRAKKER Antares 2420 and 2425 Hand-Held Terminal User’s Manual Nugg Co de

39

Use a host application to download applications and files to the T2425 1. Create your applications using the TRAKKER Antares PSK or EZBuilder. For help, see page 5-6. 2. Convert each application to a binary file using the PSK utility EXE2ABS.EXE. For help, see page 5-8. Or, use the EZBuilder option to convert each application to a binary file. 3. Copy the applications and files to the host. 4. Write an application for the host that can communicate with the T2425 directly via an access point. Use the host application to download applications and files to the T2425. For help, see “Transferring Files in a TCP/IP Direct Connect Network” in Chapter 4. Note: The host must be running a TFTP server. 5. Use the System Menu in the TRAKKER Antares 2400 Menu System to load and run an application. For help, see page 5-17. Or, use the host application to send the Run Program command.

About the TRAKKER Antares Programmable Terminals The terminals ship loaded with a terminal emulation application or a sample application. You can develop your own data collection application for the terminal and then download the application to the terminal. The main difference between the T2420 and T2425 is how you download files: T2420 You download applications and files from a host computer to one terminal that is directly connected through the serial port. T2425 You download applications and files from the DCS 300 (UDP Plus) or host (TCP/IP) to one or more terminals through the 2.4 GHz RF network. You can also download applications and files to one T2425 using the serial port. The next table lists specifications and technical information you need to know to develop applications for the terminals.

5-4

Page 255

Nugg

Co de

39Using Custom Applications

5

TRAKKER Antares Programmable Terminal Specifications Products:

T2420 T2425

Serial Communications:

RS-232 serial communications via the terminal serial port and optical link adapter, communications dock, or the serial interface module (T2420 option only) RJ11 serial communications via the modem

RF Communications:

2.4 GHz (to 2.4835 GHz ) radio

RF Network support:

There are two options: • host connectivity through an access point and DCS 300 using UDP Plus

• host connectivity through an access point using TCP/IP

Flash Drive C:

Approximately 750K for user, up to 32 files

Flash Drive D or font set (option)

Approximately 2MB (of the total 4MB) for use as an extended drive (up to 32 files) or as storage for a double-byte font set

RAM Drive E:

256K reserved for user application (configurable) , up to 32 files

Extended Drive G:

(T2420 option only) 2MB or 4MB extended drive, up to 32 files

Application:

Programmed in Microsoft C, customer defined, stored on drive C. Maximum size of a single application is 512K (less the size of the RAM drive, if configured)

Application name:

Customer defined, eight characters with three-character extension

Storing applications:

Multiple (maximum depends on the drive space)

Developing applications:

Using TRAKKER Antares Programmer’s Software Kit or EZBuilder

Downloading applications:

Via RS-232 serial communications from the PC or host computer Via modem from the PC or host computer Via RF to the T2425’s flash drive from the DCS 300 Via RF and TFTP to the terminal’s flash drive from a host application

5-5

Page 256

TRAKKER Antares 2420 and 2425 Hand-Held Terminal User’s Manual Nugg Co de

39

Creating Applications for the Terminal You create applications for the terminal using the TRAKKER Antares Programmer’s Software Kit (PSK) or EZBuilder and Microsoft C/C++ functions. The terminal runs applications that are programmed in Microsoft C. To start creating applications 1. Use the PSK or EZBuilder to develop your application. 2. Convert the application to a binary file. Each step is described in the next sections. Once you have completed these steps, you can download the application to the terminals.

Using the PSK or EZBuilder to Develop Applications Intermec has two development tools, PSK and EZBuilder, that you can use to create applications for the terminals. The TRAKKER Antares Programmer’s Software Kit (Part No. 065332) has a full set of programming tools to help you create applications for the terminal. The kit contains: •

Programmer’s Software Kit (PSK)

•

Application Simulator

•

FileCopy utility

•

Sample programs and Make files

•

TRAKKER Antares Application Development Tools System Manual (Part No. 064433)

The PSK is a library of C functions that control the programmable terminals. You can program the terminal to display prompts and error messages, to collect and display data, and to transmit data to an upline DCS 300 or host computer. The PSK functions work with most standard Microsoft C functions. You can create complex applications that collect, store, manipulate, and transmit data to meet your system needs. The Application Simulator is a terminate-and-stay resident (TSR) program that lets you debug and run TRAKKER Antares applications on a DOS or Windows PC. The Simulator captures the PSK and C functions and makes the PC mimic a terminal. EZBuilder is a software code generator product that provides programmers and technically-oriented non-programmers with a quick and easy way to create applications for the terminal.

5-6

Page 257

Nugg

Co de

39Using Custom Applications

5

EZBuilder contains: •

EZBuilder software

•

Microsoft Visual C++ version 1.5X

•

Application Simulator

•

PSK libraries

•

FileCopy utility

•

Sample EZBuilder programs

•

EZBuilder Getting Started Guide (Part No. 066450)

•

EZBuilder Tutorial (Part No. 066449)

EZBuilder is a software code generator. You enter simple commands to create menus, screens, and transactions and to define menu items, labels, and data fields. You can also set attributes, define function keys, and specify other processing, such as calculations, for the application. Once you have defined the application, EZBuilder generates the application program code. The Simulator Editor mimics a terminal and lets you test the application on your computer.

Converting Applications Between JANUS and TRAKKER Antares

You can develop applications that run on both the JANUS devices and the TRAKKER Antares terminals. However, there are some differences that you need to plan for in your applications. The TRAKKER Antares terminal is an intelligent terminal. A JANUS device is a DOS-compatible computer. Because of these differences, there are some features and functions that are different between the JANUS PSK and the TRAKKER Antares PSK. In general, a C/C++ application written for TRAKKER Antares terminals requires minor changes to run on a JANUS device. However, an application written for a JANUS device may require more changes to work properly on a TRAKKER Antares terminal. JANUS applications developed with the JANUS PSK and compiler libraries are relatively easy to convert to an application for the TRAKKER Antares terminals. There are several methods you can use to convert applications to and from JANUS devices and TRAKKER Antares terminals. For help on converting applications, see the TRAKKER Antares Programmer’s Software Kit Reference Manual.

Converting IRL Programs The terminals support IRL (Intermec Reader Language) by using IRL to C conversion programs. You can convert IRL programs to Microsoft C/C++ applications that use the TRAKKER Antares PSK functions. For information about converting IRL programs, contact your local Intermec service representative.

5-7

Page 258

TRAKKER Antares 2420 and 2425 Hand-Held Terminal User’s Manual Nugg Co de

39

Converting the Application to a Binary File For your application to run on the terminal, it must be stored as an executable binary file (*.BIN) instead of an executable file (*.EXE). Use the EXE2ABS.EXE program that comes with the TRAKKER Antares PSK or EZBuilder to convert the file. Note: The FileCopy utility or the EZBuilder “download” tool will automatically convert an executable file (*.EXE) to an executable binary file (*.BIN) when you download the file. If you download the applications using another method, you need to convert the application to a binary file. To convert an executable file to a binary file 1. Use the TRAKKER Antares PSK or EZBuilder to develop the application. 2. Convert the application from an executable file to a binary file by typing this command on your development PC: drive:\intermec\imt24\lib\exe2abs filename.exe

The conversion application (EXE2ABS.EXE) creates an executable binary file named FILENAME.BIN. For example, if your application is named SHIPPING.EXE and the Intermec directory is on drive C, type this command on your PC: c:\intermec\imt24\lib\exe2abs shipping.exe

The conversion application creates the SHIPPING.BIN file. 3. If you have a T2425 and plan to download applications and files from the DCS 300 or host, copy all the binary application files and any data files to a 3.5-inch disk.

5-8

Page 259

Nugg

Co de

39Using Custom Applications

5

Using the Serial Port to Transfer Applications and Files You can download or upload applications and files between a PC or host computer and the terminal using serial communications. You connect the terminal’s serial port to the host by using one of these accessories or options: •

Communications dock

•

Optical link adapter

•

Serial interface module

•

(T2420 option only) Modem

For help connecting the terminal, see “Using Serial Communications on the Terminals” in Chapter 4. Once the terminal is connected, you can transfer files to or from a terminal. There are two ways to transfer files: •

Use the FileCopy utility that ships with the TRAKKER Antares Programmer’s Software Kit (PSK) and EZBuilder.

•

Use the Receive File or Transmit File reader commands. For help, see Chapter 8, “Reader Command Reference.”

This section explains how to use the FileCopy utility to download or upload applications and files to or from the terminal. To run an application on the terminal, it must be stored as an executable binary file (*.BIN). The FileCopy utility will automatically convert any *.EXE file to a binary file (*.BIN) before downloading the file. With the FileCopy utility, you can download either *.EXE or *.BIN application files. Note: If you have a T2425, you can download or upload files to or from the terminal using either the serial port or RF communications through the DCS 300 or host. To download or upload applications and files to or from the terminal 1. Connect the TRAKKER Antares terminal to your PC. 2. Start Microsoft Windows on your PC 3. From Program Manager, start FileCopy. The TRAKKER Antares FileCopy utility screen appears. FileCopy includes detailed online help. Click the Help button or press F1 anytime to get more information.

5-9

Page 260

TRAKKER Antares 2420 and 2425 Hand-Held Terminal User’s Manual Nugg Co de

39

TRAKKER Antares FileCopy Utility Dialog Box

4. Check the serial port and serial communications parameters to verify that the settings for your PC match the values that are set for the terminal’s serial port. a. Select the COM Port Setup tab to verify and configure the PC serial port parameters. b. Select the Serial Communications Setup tab to verify and configure the PC serial communications parameters. c. Use the TRAKKER Antares 2400 Menu System to configure the serial port parameters on the terminal. For help, see “Configuring the Serial Port Parameters” in Chapter 1. 5. Make sure that the terminal is running an application that will not be updated during the file transfer. If you are in the TRAKKER Antares 2400 Menu System, exit the menu system. You can run APPTSK.BIN application while transferring files. For help, see “Running the Application on the Terminal” later in this chapter. 6. Select the FileCopy tab to download or upload applications and files. a. In the PC filename and path field, type the path and filename (FILENAME.EXE or FILENAME.BIN) for the file on your PC. You can select a previously used filename from a list by clicking on the down arrow. To view a list of available files on your PC, click the Browse button.

5-10