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 2 of 12

JANUS Application Simulator User's Manual, pages 11 to 20

Pages 11 to 20 of 112

The original document is the PDF (557 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 J2020, Intermec JG2020, Intermec JR2020, Intermec J2010, Intermec J2050 and Intermec JG2050

Page 11

Before You Begin

Before You Begin This section introduces you to standard warranty provisions, cautions, document formatting conventions, and sources of additional product information.

Warranty Information To receive a copy of the standard warranty provision for this product, contact your local Intermec sales organization. In the U.S. call (800) 7555505, and in Canada call (800) 688-7043. Otherwise, refer to the Worldwide Sales & Service list shipped with this manual for the address and telephone number of your Intermec sales organization.

Cautions The cautions in this manual use the following format.

CAUTION

Caution A caution alerts you to an operating procedure, practice, condition, or statement that must be strictly observed to prevent equipment damage or destruction, or corruption or loss of data. Conseil Une précaution vous avertit d’une procédure de fonctionnement, d’une méthode, d’un état ou d’un rapport qui doit être strictement respecté pour empêcher l’endommagement ou la destruction de l’équipement, ou l’altération ou la perte de données.

xi

Page 12

JANUS Application Simulator User’s Manual

About This Manual This manual describes how to install, customize, and use the JANUS Application Simulator. You should see the online README file for important information that was not available when this manual was printed. Use this manual in conjunction with the JANUS PSK Reference Manual, which describes the PSK library functions and JANUS-specific system interrupts that the JANUS Application Simulator captures and simulates.

Intended Audience This manual is intended for experienced PC programmers who already understand return values, know how to program in their chosen language, and know how to use their application development and debugging software. They have already read the JANUS PSK Reference Manual so they understand how to create programs for the JANUS.

How This Manual Is Organized The JANUS Application Simulator User's Manual is divided into five chapters:

xii

Chapter

What you'll find

1

Getting Started Introduces the JANUS Application Simulator and explains how to install the software. Also describes which JANUS features the Simulator can make your development PC mimic.

2

Running and Debugging an Application Explains how to start and exit the Simulator TSR, and gives hints for debugging a JANUS application.

3

Learning About the INI File Lists the parameters in the initialization file.

4

Customizing INI Files With the Editor Describes how to use the Editor to customize the parameters in the initialization file.

5

Troubleshooting Describes how to recover if you run a JANUS application on your PC without first starting the Simulator TSR. Also lists and describes the status and error messages you may see.

Page 13

Before You Begin

Terms and Conventions In this manual, the JANUS 2010 and JANUS 2020 are referred to as “the JANUS” or “the reader.” Also, the Intermec-specific library functions described in the JANUS PSK Reference Manual are referred to as “PSK functions.” This manual uses the following conventions to emphasize keyboard input, screen messages, and command syntax.

Keyboard Input Keystrokes are emphasized in bold. For example, “press Enter” means you press the key labeled “Enter” on your keyboard. If you must press more than one key at the same time, the keys are connected by a dash in the text. For example, press Ctrl-Alt-Del to perform a warm boot on a PC. When the keys are connected by a dash, it is important that you press and hold the keys in the order they are listed in the text.

Commands Command syntax is shown in the text as you should type it. For example, to see a listing of directories on the PC, type this command and press Enter: dir If a command line includes keywords in italics, the italics indicates that you must enter a real value in place of the keyword. For example, this command directs you to type the janussim command, specify the name of the INI file, and press the Enter key: janussim filename.ini Enter xiii

Page 14

JANUS Application Simulator User’s Manual

Other Intermec Manuals You may need to refer to the JANUS manuals listed below while using the JANUS Application Simulator. To order manuals, contact your local Intermec representative or distributor.

Manual

Intermec Part No.

JANUS Programmer's Software Kit Reference Manual

062133

JANUS 2010 Hand-Held Data Collection Computer User's Manual

058426

JANUS 2020 Hand-Held Data Collection Computer User's Manual

059951

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 or software development packages that are compatible with the JANUS Application Simulator.

xiv

Page 15

1 Getting Started

Page 16

This page is a scan with no text; see it in the PDF.

Page 17

Getting Started

1

This chapter introduces the JANUS Application Simulator, explains how to install the software, and describes how to make your PC mimic a JANUS reader.

Introduction to the JANUS Application Simulator Applications created for JANUS readers may contain JANUS PSK library functions and JANUS-specific system interrupts that - when run on a PC instead of a reader - cause a PC to lock up. With the JANUS Application Simulator, however, you can run JANUS applications on a PC. The Simulator captures those functions and interrupts before they can disrupt the PC. The Simulator then uses those functions and interrupts to make the PC mimic a JANUS reader, allowing you to run and debug any JANUS application on your PC. The JANUS Application Simulator operates as shown in this illustration. Briefly, while a JANUS application is processing on a PC, it may issue a JANUSspecific system interrupt.

ILE

F INI

The Simulator TSR captures the interrupt, uses values from the INI file to assemble a response, and then sends the response to the JANUS application. The JANUS application acccepts the response and continues processing. For a detailed technical description, see “How the JANUS Application Simulator Works” later in this chapter.

n s nu atio a c J li ing p Ap cess o Pr

S i m ula r T S R to

5700U-002

1-3

Page 18

JANUS Application Simulator User’s Manual

With the JANUS Application Simulator, you can debug the logic and syntax of a JANUS application, but not the user interface or performance: • The Simulator helps you debug logic and coding errors by allowing you to use development tools and debuggers common in the software industry. For example, if you are using Microsoft Visual C++ to create JANUS applications, you can use Microsoft Codeview for DOS to test the applications. The Simulator runs in the background, transparent to your development software. • The Simulator does not help you test the user interface or performance of the application. You can test those characteristics of the application far better on a JANUS reader than on any simulation program. You should always test your application by running it on a JANUS reader after you have finished debugging the logic. Because JANUS applications are DOS applications, you must use a DOSapplication debugger, not a Windows-application debugger. For example, you can use Codeview for DOS, but not Codeview for Windows. Use the JANUS Application Simulator and this manual in conjunction with the programming software and documentation provided with your reader.

Hardware and Software Requirements To run the JANUS Application Simulator, you need a PC with this hardware: • Intel 386 or 486 CPU • 3.5 inch floppy disk drive • 1.2 MB available on the hard drive • VGA monitor • Mouse or other pointing device You must have already installed this software on your PC: • MS-DOS 5.0 or higher • MS-Windows 3.0 or higher • Application development software, such as Microsoft Visual C++ 1.5 Professional Edition

1-4

Page 19

Getting Started

1

Note: Because JANUS applications are DOS applications, you must use DOSapplication debugging software, such as Codeview for DOS. You cannot use Windows-application debugging software, such as Codeview for Windows.

Installing the JANUS Application Simulator The Simulator includes a Windows-based installation program to help you install the software. During the installation, you choose the directory in which to install the software. To start the installation 1. Insert the JANUS Application Simulator disk into your floppy drive. 2. Start Windows. 3. From the Program Manager File menu, choose Run. 4. Start the installation with either of these commands: • If the disk is in Drive A, type this command: a:setup • If the disk is in Drive B, type this command: b:setup 5. Choose the OK button. 6. Follow the instructions displayed by the installation program. The installation program creates an Intermec group on your Windows desktop. The group contains the icon for the Editor, the Editor's help files, and the README file. Read the README file before you use the Simulator. The README file may contain important information that was not available when this manual was printed, such as operating guidelines or the names of software development packages that are compatible with the Simulator. For help using the Editor and its online help, see Chapter 4, “Customizing INI Files With the Editor.”

1-5

Page 20

JANUS Application Simulator User’s Manual

Learning About the JANUS Application Simulator To learn more about the JANUS Application Simulator, read these sections: • How the JANUS Application Simulator Works • If You Are Not Using the JANUS PSK • Using the Simulator During Development • Using the Simulator With Other Products • JANUS Features That Are Simulated • JANUS Features That Are Not Simulated

How the JANUS Application Simulator Works The JANUS Application Simulator consists of three parts: Simulator TSR The Simulator terminate and stay resident (TSR) program runs in the background on your PC. The Simulator TSR captures JANUSspecific system interrupts and makes your PC mimic a JANUS reader. For instructions, see Chapter 2. INI File The initialization (INI) file specifies how the Simulator TSR simulates JANUS features such as bar code input and battery status. JANUSSIM.INI is the default INI file. For a description of the parameters in the file, see Chapter 3. Editor The Editor is a Windows-based tool for setting the parameters stored in the JANUSSIM.INI file. For instructions, see Chapter 4. The Simulator TSR uses the parameters in the INI file as out parameters and return values for any JANUS PSK library functions and JANUS-specific system interrupts that a JANUS application contains. For example, consider the JANUS battery. The status of the battery is very important because it may be the reader’s only power source. JANUS applications may check the battery’s status to make sure that sufficient power is available for the application. There is no battery to check on the PC. Therefore, the Simulator TSR must simulate the JANUS battery. The following illustration shows how the Simulator TSR simulates a JANUS battery when a JANUS application issues the im_power_status function.

1-6