JANUS Application Simulator User’s Manual
1-6
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 JANUS-
specific 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.