Why Customize Ini Files? - Intermec Janus 2010 User Manual

Application simulator
Hide thumbs Also See for Janus 2010:
Table of Contents

Advertisement

This chapter explains why you customize the initialization (INI) file and describes
how to do so with the Windows-based Editor.

Why Customize INI Files?

Note: Customizing the INI file is an optional process. You do not have to
customize the INI file if you are satisfied with the default values in
JANUSSIM.INI.
The INI parameters control how the Simulator TSR simulates a JANUS
reader executing an application. You can customize the parameters so the
Simulator TSR mimics the conditions against which you want to test your
JANUS applications.
For example, if your JANUS application checks the battery's status, you
could use an INI file to mimic a low power condition and test how your
application responds. Follow these steps:
1. Create a LOWBAT.INI file and customize these parameters to simulate a
2. Start the Simulator TSR by typing this command at the DOS prompt:
3. Run your JANUS application. When the application issues the
4. Test how the application responds to this low power condition.
low power condition:
• power_status_line = 0 - AC line not connected
• power_status_battery = 2 - critical battery
• power_status_backup = 1 - backup low
• power_status_batt_life = 10
• power_status_return = 0800H - Power management success
janussim lowbat.ini Enter
im_power_status function call or the 5EH interrupt, it will find that the
reader is not plugged into an AC power source, the battery is critically
low, and the backup battery is low.
Customizing INI Files With the Editor
4
4-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Janus 2020Janus application simulator

Table of Contents