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 13 of 56

JANUS 2010 Hand-Held Computer (4MB) User's Manual, pages 121 to 130

Pages 121 to 130 of 556

The original document is the PDF (3.0 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 J2010

Page 121

CODENUG NUGLearning About the Software

3

Making PSK Applications That Work With BFT You can create PSK applications that can accept and respond to a host computer’s request to initiate a binary file transfer (BFT) session. You need to program your PSK application to accept the Prepare for Reboot command from any host computer. Your application responds by calling a Prepare for Reboot procedure (which may consist of housekeeping tasks such as closing files), and then notifies the PSK library and host computer that the reader is ready to be rebooted. At that point, the host can reboot the reader and open a BFT session. To learn how to create BFT-ready PSK applications, see your JANUS PSK reference manual. To learn more about BFT, see “Downloading Applications Across the Network” in Chapter 6.

Preparing Applications to Recover From Lockups If an application becomes locked in an infinite loop, you may not be able to terminate the application. You could warm or cold boot the reader, as described in Chapter 9, “Booting and Resetting the Reader,” but the contents of both conventional memory and the RAM drive will be lost. You can make it easier for a user to recover from a locked-up application. If you create applications in a programming language supported by the JANUS PSK and you follow the instructions in the JANUS PSK reference manual, those applications can check a flag called the application break bit whenever the program calls the appropriate function. When an application gets into a loop or is waiting for input, the user can turn off the reader, enable the application break bit, and turn the reader on. As the reader resumes, your application finds the application break bit enabled and takes appropriate action. For the steps the user should perform when an application locks up, see “Breaking Out of an Application” in Chapter 9. Note: IRL programs automatically check the application break bit.

Using Reader Services in Applications Reader Services are programs that decode bar codes, process data input and output (I/O), configure the reader, and handle all power management for the reader. AUTOEXEC.BAT loads Reader Services when you boot the reader. You do not interact directly with Reader Services because they operate as part of the reader’s system software. You can create applications that use Reader Services. For help, see your JANUS PSK reference manual.

3-37

Page 122

JANUS 2010 Hand-Held Computer User’s Manual (4MB)CODENUGG NUGG

Reader Services include these programs: Communications Utilities Communications Utilities are transmit and receive functions that you can call with PSK functions or software interrupts. Communications Utilities let the reader transmit and receive buffers or bytes of data regardless of the communications protocol that you use. Configuration Manager Configuration Manager maintains the reader’s current configuration file (such as JANUS.INI), ensures that the reader operates according to that configuration, and lets you change the reader’s configuration file. Configuration Manager is a terminate and stay resident program (TSR) that loads into the reader’s memory during a warm or cold boot. Input Manager Using software interrupts and library functions, your reader applications can use Input Manager as an interface for all data I/O from the reader’s COM ports, wand, scanner, and keypad. Input Manager also handles all power management during data I/O. For help with software interrupts and library functions, see your JANUS PSK reference manual. You can use Input Manager to customize how the reader handles data from the keypad, wand, or scanner. The reader can display all input, beep when labels are scanned, and parse reader commands. For example, when you scan a bar code label, Input Manager can identify the symbology and if the label includes reader commands. Virtual Wedge The Virtual Wedge decodes and manages bar code input, making the reader functionally equivalent to a wedge reader connected to a PC. This capacity facilitates rapid porting of PC applications to the reader. When you scan a bar code label, the Virtual Wedge inserts the data into the keyboard buffer as if it had been typed. The Virtual Wedge sends configuration commands to Configuration Manager. The Virtual Wedge also recognizes and implements reader commands. Direct Hardware Wedge The Direct Hardware Wedge is a new feature of JANUS 4.0 software that allows bar code data to emulate keystrokes on the keypad. For more information on the Virtual Wedge and Direct Hardware Wedge, see “Understanding the Bar Code Wedge,” later in this chaper.

Making More Memory Available on the Reader Your JANUS reader may not have enough conventional memory available for the applications you want to run. If so, you may be able to free some conventional memory by performing these tasks:

3-38

•

Not installing the PC card drivers to free about 60K of memory

•

Unloading the Reader Wedge TSR to free about 80K of memory

Page 123

CODENUG NUGLearning About the Software

3

Not Installing the PC Card Drivers You do not need to install PC card drivers if you are not using PC cards in your reader. You may be able to save up to 60K in conventional memory by not installing the drivers. Choose the No PC Card option on the MS-DOS startup menu and PC card drivers will not be installed when you boot the reader.

MS-DOS 6.2 Startup

1. SRAM PCCard 2. ATA PCCard 3. Flash PCCard 4. I/O PCCard 5. No PCCard Enter a choice:

F5=Bypass startup file

20X0A.002

Unloading and Loading Reader Wedge TSR The Reader Wedge TSR (RWTSR.EXE) must be loaded in memory before you can execute Reader Wedge PSK functions such as im_receive_input. However, you do not need RWTSR.EXE loaded when you are not running a PSK application. You can unload RWTSR.EXE and save about 80K. Note: If you run a C program that contains PSK Version 2.1 Reader Wedge functions, the program automatically loads and unloads RWTSR.EXE for you. To load the Reader Wedge TSR •

Type this command at the DOS prompt: rwtsr

Or scan this bar code:

*RWTSR* *RWTSR*

To unload the Reader Wedge TSR •

Type this command at the DOS prompt: rwtsr -d

Or scan this bar code:

*RWTSR -D* *RWTSR -D*

3-39

Page 124

JANUS 2010 Hand-Held Computer User’s Manual (4MB)CODENUGG NUGG

Understanding the Bar Code Wedge The Bar Code Wedge is a Reader Services feature that enables your JANUS device to decode bar codes, making it functionally equivalent to a wedge reader connected to a PC. Prior to JANUS 4.0 software, the only wedge option was the Virtual Wedge. With the 4.0 software release, the Reader Services wedge feature has a second option, the Direct Hardware Wedge. When you scan a bar code with the Virtual Wedge Option enabled, data is inserted directly into the keyboard buffer as if it had been typed. The Direct Hardware Wedge provides hardware level PC compatibility and processes the scanned data directly as individual keystrokes. The Direct Hardware Wedge provides bar code data to applications that directly access the hardware, it is the option to select when working with applications (for example, Attachmate, FTP, Zstem for DOS, PC-TCP for DOS, and others) that require keystroke interrupts to occur when data is received. The Virtual Wedge option, which is up to 10 times faster than going through the PC hardware, is the option you should select when you need maximum performance. If you have developed advanced applications for your JANUS device, you need to customize how the reader and application handle data from the keypad, wand, or scanner. Refer to the JANUS Programmer’s Software Kit and reference manuals for instructions. The Virtual Wedge is the default configuration. You can enable the Direct Hardware Wedge by using the KWC.COM program. For more information, see “Using the Wedge Configuration Program,” later in this chapter.

Enabling Direct Hardware Wedge Functions When you enable the Direct Hardware Wedge function, you disable the portion of the Virtual Wedge that inserts data directly into the keyboard buffer. With the Direct Hardware Wedge function enabled, data is inserted into the hardware to be processed as actual keystrokes. The processing of Reader Services commands and configuration bar codes is not affected by the wedge option you select. Intermec recommends that you enable the Direct Hardware Wedge if you experience any of the following problems using off-the-shelf PC software on your 4MB JANUS device.

3-40

•

You scan a bar code and get a “read beep,” but the data isn’t received by your application.

•

You scan a bar code and characters are dropped.

•

Your application uses bar codes to manipulate screen functions and the screen doesn’t respond correctly.

Page 125

CODENUG NUGLearning About the Software

3

Note: If you attempt to run the wedge configuration program on a JANUS device running version 3.0 or earlier software, the Direct Hardware Wedge feature will not be available. The Direct Hardware Wedge feature requires a software modification and a new KSCPU chip.

Using the Wedge Configuration Program

@

You can use the wedge configuration program (KWC.COM) to set wedge options on your 4MB JANUS device. To start KWC.COM, type this command . at the DOS prompt and press kwc

Or, scan this bar code.

*KWC* *KWC*

The main menu appears, displaying five configuration options.

C:\ >KWC Keyboard Control Copyright 1996 Intermec Corp. Version 1.00 Usage: KWC 0 - KW off 1 - KW on 2 - KW on 3 - KW off 4 - status x , XKBD , XKBD , XKBD , XKBD only on on off off

C:\ > 20X0A.004

Option 0 Option 0 is the default configuration. Select Option 0 to enable the Virtual Wedge and the expanded keyboard. To select this option, type the following command at the DOS prompt and press .

@

C:\ >KWC 0 Keyboard Control Copyright 1996 Intermec Corp. Version 1.00 KW Disabled XKB Enabled kwc 0

C:\ >

Or, scan this bar code.

*KWC 0*

20X0A.005

*KWC 0*

Note: The AUTOEXEC.BAT on your 4MB JANUS device is set to Option 0 (Virtual Wedge enabled/extended keyboard enabled). To permanently change this option, you will need to modify your AUTOEXEC.BAT file and load a new image to drive C.

3-41

Page 126

JANUS 2010 Hand-Held Computer User’s Manual (4MB)CODENUGG NUGG

Option 1 Select Option 1 to enable the Direct Hardware Wedge and the expanded keyboard. To select this option, type the following command at the DOS prompt and press .

C:\ >KWC 1 Keyboard Control Copyright 1996 Intermec Corp. Version 1.00 kwc 1

KW Enabled XKB Enabled

@

Or, scan this bar code.

C:\ >

*KWC 1*

20X0A.006

*KWC 1*

Note: The following two options disable the expanded keyboard buffer. The expanded keyboard buffer allows the JANUS device to consistently process bar codes that are longer than 15 characters. Do not disable the expanded keyboard unless your application continues to experience compatibility problems. Option 2 Select Option 2 to enable the Direct Hardware Wedge and disable the expanded keyboard. To select this option, type the following command at the DOS prompt and press .

C:\ >KWC 2 Keyboard Control Copyright 1996 Intermec Corp. Version 1.00 kwc 2

KW Enabled XKB Disabled

@

Or, scan this bar code.

C:\ >

*KWC 2*

20X0A.007

*KWC 2*

Option 3 Select Option 3 to disable the Virtual Wedge and the expanded keyboard. To select this option, type the following command at the DOS prompt and press .

C:\ >KWC 3 Keyboard Control Copyright 1996 Intermec Corp. Version 1.00 kwc 3

KW Disabled XKB Disabled

@

Or, scan this bar code.

*KWC 3* *KWC 3*

3-42

C:\ >

20X0A.008

Page 127

CODENUG NUGLearning About the Software

3

Option 4 Select Option 4 to display the current wedge configuration status. To select this option, type the following command at the DOS prompt and press .

@ kwc 4

Or, scan this bar code.

*KWC 4* *KWC 4*

3-43

Page 128

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

Page 129

4 Using PC Cards in the Reader

Page 130

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