The text of a manual · part 9 of 38
Trakker Antares 2400 Family System Manual: Chapter 3 - Developing and Using Applications, pages 73 to 80
Pages 73 to 80 of 362, from Trakker Antares 2400 Family System Manual
The original document is the PDF (2.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 2410, Intermec 2415, Intermec 2435 and Intermec 2475
Page 73
Chapter 3 - Developing and Using Applications
How to Download Applications You can download applications and files to the programmable terminals by using any of the following methods: • Serial port • DCS 300 • Host application These methods are described in the next procedures. You can also use reader commands to transfer files. For help, see “Transmit File” on page 116 and “Receive File” on page 105. To learn how to run applications on the terminal, see “Running Applications on the Terminal” on page 65. Use a 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 “Creating Applications for the Terminal” on page 48. 2 (.BIN applications) Convert each application to a binary file. • Use the PSK utility EXE2ABS.EXE. For help, see “Converting the Application to a Binary File” on page 51. • Use FileCopy or EZBuilder. 3 Connect the terminal’s serial port to the host computer or PC. For help, see your terminal user’s manual. 4 Use the FileCopy utility, VIEW246X.EXE, or LOADER.EXE on the host computer or PC to download applications and files to the terminal. For help, see “Using the Serial Port to Transfer Applications and Files” on page 55. 5 (.BIN applications) Use the TRAKKER Antares 2400 Menu System to load and run an application. For help, see “Running Applications on the Terminal” on page 65. 6 (DOS .EXE applications) If you ordered the DOS option, start DOS on the terminal and run a DOS application. For help, see “Using DOS on the Terminal” on page 313.
Trakker Antares 2400 Family System Manual
53
Page 74
Chapter 3 - Developing and Using Applications
Use the DCS 300 to download applications and files to the terminal 1 Create your applications using the Trakker Antares PSK or EZBuilder. For help, see “Creating Applications for the Terminal” on page 48. 2 (.BIN applications) Convert each application to a binary file. • Use the PSK utility EXE2ABS.EXE. For help, see “Converting the Application to a Binary File” on page 51. • Use FileCopy or EZBuilder. 3 Copy the applications and files to the DCS 300. For help, see “Copying Applications and Files to the DCS 300” on page 61. 4 Use the Download Server feature on the DCS 300 to download applications and files to the terminal. For help, see “Downloading Applications and Files to the Terminal” on page 62. 5 (.BIN applications) Use the TRAKKER Antares 2400 Menu System to load and run an application. For help, see “Running Applications on the Terminal” on page 65. 6 (DOS .EXE applications) If you ordered the DOS option, start DOS on the terminal and run a DOS application. For help, see “Using DOS on the Terminal” on page 313. Use a host application to download applications and files to the terminal 1 Create your applications using the Trakker Antares PSK or EZBuilder. For help, see “Creating Applications for the Terminal” on page 48. 2 (.BIN applications) Convert each application to a binary file. • Use the PSK utility EXE2ABS.EXE. For help, see “Converting the Application to a Binary File” on page 51. • Use FileCopy or EZBuilder. 3 Copy the applications and files to the host. 4 Write a host application that can communicate with the terminal directly through an access point or through the Ethernet network. Use the host application to download applications and files to the terminal. For help, see “Transferring Files and Data in a TCP/IP Direct Connect Network” on page 24. 5 (.BIN applications) Use the TRAKKER Antares 2400 Menu System to load and run an application. For help, see “Running Applications on the Terminal” on page 65. Use the host application to send the Run Program command. 6 (DOS .EXE applications) If you ordered the DOS option, start DOS on the terminal and run a DOS application. For help, see “Using DOS on the Terminal” on page 313.
54
Trakker Antares 2400 Family System Manual
Page 75
Chapter 3 - Developing and Using Applications
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. For help connecting the terminal, see your terminal user’s manual. Once the terminal is connected, you can transfer files to or from the terminal using one of the following methods: • Use the FileCopy utility that ships with the Trakker Antares Programmer’s Software Kit (PSK) and EZBuilder to copy files to and from the terminal. This utility is also available at no charge from the Intermec web site at www.intermec.com. • Use the VIEW246X.EXE program that comes with the firmware upgrade software to copy files to and from the terminal. You also need the FLASHLDR.BIN file that comes with the firmware upgrade software. • Use the LOADER.EXE program that comes with the firmware upgrade software to copy files to the terminal. • Use the EZBuilder “download” tool. For help, see the EZBuilder online help. • Use the Receive File or Transmit File reader commands. For help, see “Transmit File” on page 116 and “Receive File” on page 105. • (2460 terminal or 248X terminal with enhanced input/output board option only) Use the following reader commands to download an application through the 9154 or 9161 controller to a 2460 or 248X in a CrossBar network: • Receive and Convert 7-Bit ASCII Files to 8-Bit Binary Files. For help, see “Receive and Convert 7-Bit ASCII Files to 8-Bit Binary Files” on page 107. • Transmit and Convert 8-Bit Binary Files to 7-Bit ASCII Files. For help, see “Transmit and Convert 8-Bit Binary Files to 7-Bit ASCII Files” on page 118. This section explains: • how to use the FileCopy utility to download or upload applications and files to or from the terminal. • how to use the VIEW246X.EXE program to download or upload applications and files to or from the terminal. • how to use the LOADER.EXE program to download applications to the terminal. You can use the FileCopy utility and LOADER.EXE to download either .EXE or .BIN application files. However, to run a native Trakker Antares application on the terminal, it must be stored as an executable binary file (.BIN).
Trakker Antares 2400 Family System Manual
55
Page 76
Chapter 3 - Developing and Using Applications
If you are using the FileCopy utility, you can automatically convert any .EXE file to a binary file (.BIN) before downloading the file. If you are using LOADER.EXE, you need to use EXE2ABS.EXE to convert the .EXE file to a .BIN file. For help, see “Converting the Application to a Binary File” on page 51. To transfer applications and files to or from the terminal using the FileCopy utility 1 Connect the Trakker Antares terminal to your host computer or PC. 2 Run FileCopy on your host computer or PC. The Trakker Antares FileCopy Utility dialog box appears. FileCopy includes detailed online help. You can click the Help button or press F1 to get more information.
3 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 select and configure the following parameters: • PC COM port • Trakker Antares COM port • Communications protocol • File Transfer protocol • Baud rate, parity, data bits, and stop bits b Select the Serial Setup tab to verify and configure the PC’s serial communications parameters. c Use the TRAKKER Antares 2400 Menu System to configure the serial port parameters on the terminal. For help, see the configuration chapter in your terminal user’s manual.
56
Trakker Antares 2400 Family System Manual
Page 77
Chapter 3 - Developing and Using Applications
4 Make sure 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 the APPTSK.BIN application while transferring files. For help, see “Running Applications on the Terminal” on page 65. 5 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. To select a previously used filename from a list, click the down arrow. To view the files on your PC, click the Browse button. b In the Terminal filename and path field, type the drive and filename on the terminal. To select a previously used filename from a list, click the down arrow. Applications must be stored on drive C. Depending on your terminal options and configuration, you can download other files to drive C, D, E, or G (if available). Note: If you are downloading a DOS application that uses terminateand-stay resident (TSR) programs, you also need to download and install the TSR files on the terminal. If your application uses a TSR on drive C, transfer the TSR to drive C along with the application. If your application uses a TSR on drive A, you need to recreate drive A to include the TSR. For help, see “Customizing Drive A” on page 322. 6 If you are downloading a .BIN file and want to run the application on the terminal immediately after it is downloaded, select the Run program check box. If you are downloading an .EXE file and want to convert it to a .BIN so you can run it on the terminal immediately after it is downloaded, select the Run program check box and select the Convert .EXE check box.
Trakker Antares 2400 Family System Manual
57
Page 78
Chapter 3 - Developing and Using Applications
7 Click Download to copy the file from the PC to the terminal. If you selected the Run program check box, the terminal boots, resets, and runs the application you downloaded. Otherwise, the current application continues to run on the terminal. Click Upload to copy the file from the terminal to the PC. 8 To download or upload another file, repeat Step 5 through Step 7. 9 Click Exit to close the FileCopy utility. You are ready to run the application from the terminal. For help, see “Running Applications on the Terminal” on page 65. To transfer applications and files to and from the terminal using VIEW246X.EXE 1 Connect the terminal to your PC running Windows 95/98. For help connecting the terminal, see your terminal user’s manual. 2 On the terminal, access the Loader Waiting screen. a Press ) ; 2 4 8 or scan this bar code label: TRAKKER Antares 2400 Menu System
*..-.* *..-.*
The Main Menu appears. b From the Main Menu, choose System Menu > Upgrade Firmware >
OK. c Choose Yes to continue. The terminal reboots and displays the
Loader Waiting screen. Note: If you reach the Loader Waiting screen and cannot continue, press • once or œ twice to exit. The Boot Menu appears. Press 2 or L to access the Loader Waiting screen. 3 On your PC, access an MS-DOS window. 4 Change to the directory that contains the VIEW246X.EXE application and the FLASHLDR.BIN file. 5 Type VIEW246X and press Enter to run the application. 6 Use these available commands to copy files to or from the terminal: Command dir <drive> { > filename }
58
Description Displays the contents of a drive on the terminal and creates a .txt file with this information, where <drive> is the name of the drive and { > filename } is the name of the .TXT file.
Trakker Antares 2400 Family System Manual
Page 79
Chapter 3 - Developing and Using Applications
Commands (continued) Command del term_filename
Description cls
Clears the screen.
copyfromterm <cf> term_filename, pc_filename
Copies a file from the terminal to the PC where term_filename is the name of the file on the terminal and pc_filename is the name that the file will be given on the PC.
Deletes a file from the terminal, where term_filename is the name of the file.
Example: Type cf c:\basedate.txt d:\date.txt to copy basedate.txt from the C drive on the terminal to the D drive on the PC and rename the file date.txt. copytoterm <ct> pc_filename, term_filename
Copies a file from the PC to the terminal where pc_filename is the name of the file on the PC and term_filename is the name that the file will be given on the terminal. Example: Type ct d:\basedate.txt c:\basedate.txt to copy the file basedate.txt from the D drive on the PC to the C drive on the terminal.
help
Displays the help screen.
quit or exit
Closes the VIEW246X.EXE application.
To transfer applications and files to the terminal using LOADER.EXE Note: Before you can transfer applications and files, you must open the MS-DOS window and open the MS-DOS Prompt Properties dialog box. In the Memory tab, set the Initial Environment field to 4096. Close the MS-DOS window and re-open it. 1 Connect the terminal to your PC. For help connecting the terminal, see your terminal user’s manual. 2 On your PC, load the application or file that you want to download. 3 Access the MS-DOS window. 4 Change to the directory that contains the LOADER.EXE program.
Trakker Antares 2400 Family System Manual
59
Page 80
Chapter 3 - Developing and Using Applications
5 On the terminal, access the Loader Waiting screen. a Press ) ; 2 4 8 or scan this bar code label: TRAKKER Antares 2400 Menu System
*..-.* *..-.*
The Main Menu appears. b From the Main Menu, choose System Menu > Upgrade Firmware >
OK. c Choose Yes to continue. The terminal reboots and displays the
Loader Waiting screen. 6 On your PC, type: LOADER pathname\filename where: pathname is the path to the application or file that you want to download.
filename is the name of the application or file that you want to download.
The Loader screen appears and the file or application is transferred to the terminal.
Using the DCS 300 to Download Applications and Files You can download applications and files to an RF or Ethernet terminal using network communications. The advantage to downloading files through RF or Ethernet network communications is that you can download multiple files to one or more terminals. You use RF or Ethernet communications to download applications from the DCS 300 to RF or Ethernet terminals running UDP Plus or WTP or from the host to RF or Ethernet terminals running TCP/IP. This section explains how to use the DCS 300 to download applications and files. For help downloading files in a TCP/IP network, see “Transferring Files and Data in a TCP/IP Direct Connect Network” on page 24. To download applications and files from the DCS 300 1 Copy the applications and files to the DCS 300. For help see the next section, “Copying Applications and Files to the DCS 300.” 2 Use the Download Server feature on the DCS 300 to download the applications and files to the RF or Ethernet terminal. For help, see “Downloading Applications and Files to the Terminal” on page 62.
60
Trakker Antares 2400 Family System Manual