28.07.2013 Views

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>JANUS</strong> <strong>2020</strong> <strong>Hand</strong>-<strong>Held</strong> <strong>Computer</strong> User’s Manual (<strong>4MB</strong>) NF BC<br />

3-38<br />

Preparing Applications to Recover From Lockups<br />

If an application becomes locked in an infinite loop, you may not be able to<br />

terminate the application. You could warm or cold boot the reader, as<br />

described in Chapter 9, “Booting and Resetting the Reader,” but the contents of<br />

both conventional memory and the RAM drive would be lost.<br />

You can make it easier for a user to recover from a locked-up application. If<br />

you create applications in a programming language supported by the <strong>JANUS</strong><br />

PSK and you follow the instructions in the <strong>JANUS</strong> PSK reference manual, those<br />

applications can check a flag called the application break bit whenever the<br />

program calls the appropriate function.<br />

When an application gets into a loop or is waiting for input, the user can turn<br />

off the reader, enable the application break bit, and turn the reader back on. As<br />

the reader resumes, your application finds the application break bit enabled<br />

and takes appropriate action.<br />

For the steps the user should perform when an application locks up, see<br />

“Breaking Out of an Application” in Chapter 9.<br />

Note: IRL programs automatically check the application break bit.<br />

Using Reader Services in Applications<br />

Reader Services are programs that decode bar codes, process data input and<br />

output (I/O), configure the reader, and handle all power management for the<br />

reader. AUTOEXEC.BAT loads Reader Services when you boot the reader. You<br />

do not interact directly with Reader Services because they operate as part of the<br />

reader’s system software. You can create applications that use Reader Services.<br />

For help, see your <strong>JANUS</strong> PSK reference manual.<br />

Reader Services include these programs:<br />

Communications Utilities Communications Utilities are transmit and receive<br />

functions that you can call with PSK functions or software interrupts.<br />

Communications Utilities let the reader transmit and receive buffers or bytes of<br />

data regardless of the communications protocol that you use.<br />

Configuration Manager Configuration Manager maintains the reader’s current<br />

configuration file (such as <strong>JANUS</strong>.INI), ensures that the reader operates<br />

according to that configuration, and lets you change the reader’s configuration<br />

file. Configuration Manager is a terminate and stay resident program (TSR)<br />

that loads into the reader’s memory during a warm or cold boot.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!