The text of a manual · part 2 of 8
Trakker Antares Application Simulator User's Manual, pages 11 to 20
Pages 11 to 20 of 80
The original document is the PDF (353 KB). 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 2420, Intermec 2425 and Intermec 2481
Page 11
Before You Begin
Terminology You should be aware of how these terms are used in this manual: Term
Meaning
DCS 300
The term refers to the new data collection server that replaces the Model 200 Controller. Unless otherwise noted, you can use either the DCS 300 or the Model 200 Controller.
Trakker Antares terminals or terminals
These terms refer to Intermec’s Trakker Antares family of terminals, such as the T242X hand-held terminals and the T248X stationary terminals.
PSK function, library function, or function
These terms refer to the library functions described in Part I, Trakker Antares PSK Reference Manual.
Conventions for Input From a Keyboard or Keypad You should be aware of these formatting conventions for representing input from a keyboard or keypad. Convention
Meaning
Bold
Keys that you press on a PC keyboard are shown in bold. For example, “press Enter” means you press the key labeled “Enter” on the keyboard. The first letter of a key name is always capitalized.
Keys that you press on the Trakker Antares keypad are shown by icons. For a complete list of the keypad keys, see your terminal user’s manual. When a series of keys are shown with no connectors between them, you must press and release each key in the order shown. For example, to use viewport pagedown on a terminal, you press and release the key and then press and release the key.
Ctrl-Alt-Del
When a series of keys are shown with a dash between them, you must press and hold the keys in the order shown and then release them all. For example, to boot a PC, you press and hold Ctrl, press and hold Alt, press and hold Del, and then release the keys.
xi
Page 12
Trakker Antares Application Simulator User’s Manual
Conventions for Commands You should be aware of these formatting conventions for entering commands. Convention
Meaning
Courier
Commands are shown in Courier exactly as you must type them. For example: dir
Italics
Variables are shown in italics. You must enter a real value for the variable. For example, replace filename with the name of the INI file in this command: IMT24SIM filename.ini.
Other Intermec Manuals You may need additional information when working with the Application Simulator. Please visit our Web site at www.intermec.com to download many of our current manuals in PDF format. To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor. Also, you should see the online README file provided with the software. This README file contains important information that was not available when this manual was printed, such as operating guidelines.
xii
Page 13
1 Getting Started
Page 14
Trakker Antares Application Simulator User’s Manual
Page 15
Getting Started
1
This chapter introduces the Trakker Antares Application Simulator, describes its installation, explains how to use the Simulator with other products as part of your development process, and ends with instructions for starting and exiting the TSR.
Introduction to the Application Simulator The Trakker Antares Application Simulator helps you create, debug, test, and run on your PC any applications you create for Trakker Antares terminals. The Simulator lets you use Microsoft Visual C/C++ and Microsoft Codeview for DOS to develop Trakker Antares applications. Without the Simulator, you cannot run Trakker Antares applications on a PC because the applications contain PSK functions that are not PC-compatible. With the Simulator, however, you can run these applications on a PC. The Simulator captures the PSK functions and terminal-specific interrupts before they disrupt the PC. This illustration shows how the Simulator operates.
ile F I IN
Sim r kke Tra ares n o t An licati g p sin p A ces Pro u lat o r T S R
TASS002.eps
1-3
Page 16
Trakker Antares Application Simulator User’s Manual
While a Trakker Antares application is processing on a PC, it issues a terminal-specific system interrupt. The Simulator terminate and stay resident (TSR) program captures the interrupt, uses values from the initialization (INI) file to assemble a response, and sends the response to the application. The application accepts the response and continues processing. For a detailed technical description, see “How the Simulator Works” in Chapter 2.
Installing the Simulator The Application Simulator is installed automatically when you install the Trakker Antares Programmer’s Software Kit (PSK). For instructions, see Chapter 1 in Part I, Trakker Antares PSK Reference Manual. The installation creates and fills these directories on your PC: •
C:\INTERMEC\IMT24\SIM
•
C:\INTERMEC\IMT24\LIB
•
C:\INTERMEC\IMT24\INCLUDE
•
C:\INTERMEC\IMT24\SAMPLES
The installation creates a batch file in the WINDOWS or WIN95 directory called IMT24SIM.BAT that lets you use the IMT24SIM.EXE command from any directory. The installation also adds the IMT24SIM environment variable to AUTOEXEC.BAT. The environment variable points to the locations of the Simulator software. The installation creates a Trakker Antares Development Tools group on the Windows desktop. The group contains icons for the FileCopy utility, the Editor, the Editor’s online help system, and the README file. Read the README file before you use the Simulator. This file may contain information that was not available when the manual was printed. For help using the Editor, see Chapter 4, “Customizing INI Files With the Editor.” Note: If Microsoft Visual C/C++ is already installed when you install the Application Simulator, the installation adds two commands to the Tools menu: Codeview for Trakker and Simulation for Trakker. You can choose Codeview for Trakker to load the Simulator TSR into memory and start Microsoft Codeview for DOS, or you can choose Simulation for Trakker to load the Simulator TSR into memory and run the application you are currently editing.
1-4
Page 17
Getting Started
1
Using the Simulator With Other Products The Application Simulator was designed to be used with the Microsoft Visual C/C++ Professional Edition (version 1.0 or 1.5x) application development software. You can use Microsoft Visual C/C++ and Microsoft Codeview for DOS to create and debug applications for your Trakker Antares terminals. You can install an Intermec wedge on your PC to simulate bar code input. For help configuring a wedge, see “Bar Code Input” in Chapter 2. The Simulator TSR should not interfere with the normal operation of other software on your PC. Therefore, you can load the Simulator TSR into memory and leave it running if you have sufficient RAM available.
Using the Simulator in the Development Process The Application Simulator can be an integral part of your application development process. For example, if you installed Microsoft Visual C++ before you installed the Simulator, you can follow these steps: 1. Start Microsoft Visual C/C++. 2. Open your Trakker Antares project or create a new project. 3. Select Simulation for Trakker from the Tools menu to load the Simulator into memory. 4. Run and debug the application. 5. Exit the debugger. The Simulator is unloaded from memory and you are returned to Microsoft Visual C/C++. Note: If you are using Windows 95, you may receive a DOS informational message when you exit the debugger and terminate the Simulator. The message requests you to press Ctrl-C to exit the DOS session.
1-5
Page 18
Trakker Antares Application Simulator User’s Manual
Starting the Simulator The Application Simulator is a TSR program, which is a program that is loaded into DOS memory and runs in the background. This table lists the methods for starting the Simulator. Operating System
Method of Starting the Simulator
How Long the Simulator Is Valid
Windows 95, 98, or NT
Start the TSR from a DOS window while Windows is running.
The TSR is valid only in that DOS window.
Choose Simulation for Trakker from the Tools menu of Microsoft Visual C/C++.
The TSR is valid until you exit the DOS session that is created.
Choose Codeview for Trakker from the Tools menu of Microsoft Visual C/C++.
The TSR is valid until you exit Codeview.
Start the TSR from DOS before you start Windows.
The TSR is valid until you shut down your PC, or you exit Windows and unload the TSR.
Start the TSR from your AUTOEXEC.BAT file.
The TSR is valid until you shut down your PC, or you exit Windows and unload the TSR.
Start the TSR from a DOS window while Windows is running.
The TSR is valid only in that DOS window.
Choose Simulation for Trakker from the Tools menu of Microsoft Visual C/C++.
The TSR is valid until you exit the DOS session that is created.
Choose Codeview for Trakker from the Tools menu of Microsoft Visual C/C++.
The TSR is valid until you exit Codeview.
Start the TSR from a DOS session spawned from Codeview.
The TSR is valid until you exit Codeview.
Windows 3.1
If you are using Windows 95, follow these guidelines:
1-6
•
Do not start Codeview, spawn a DOS session, and start the TSR because the TSR will remain valid only until you exit the spawned DOS session. It will not be valid when you return to Codeview.
•
Do not start the TSR from the AUTOEXEC.BAT file because it may crash your PC.
Page 19
Getting Started
1
Here are the commands for starting the Simulator. You can use these commands from the DOS prompt. To start the Simulator using default INI file •
At the DOS prompt, type this command: imt24sim When the software finishes loading, this message appears: Simulator has been loaded with:
IMT24SIM.INI
You can now use your application development software to run and debug Trakker Antares applications. IMT24SIM.INI is the default INI file. To start the Simulator using a custom INI file •
At the DOS prompt, type this command: imt24sim filename.ini Where filename.ini is the name of your customized INI file. When the software finishes loading, this message appears: Simulator has been loaded with:
filename.ini
You can now use your application development software to run and debug Trakker Antares applications. Note: If you are using Windows 3.1, you can also include these commands in your AUTOEXEC.BAT file so the TSR is loaded automatically when you boot the PC.
Exiting the Simulator To unload the Application Simulator from memory, type this command at the DOS prompt: imt24sim /d This message appears: Simulator has been unloaded.
1-7
Page 20
Trakker Antares Application Simulator User’s Manual