Intermec Janus 2020 Reference Manual - Im_Get_Input_Mode
im_get_input_mode
3-30
im_get_input_mode
Purpose:
This function returns the current mode of the input manager. The different
modes affect how the reader interprets and stores input.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
function im_get_input_mode return IM_MODE;
Parameters:
None.
Return Value:
The IM_MODE return value is one of the following constants:
IM_WEDGE
Wedge mode
IM_PROGRAMMER
Programmer mode
IM_DESKTOP
Desktop mode
Notes:
There are three different reader input modes: Wedge, Programmer, and
Desktop. These different modes affect how the reader interprets and stores
input.
Wedge Mode Keypad and label input goes into the keyboard buffer with
minimal filtering. Wedge mode is the default mode at the DOS prompt after
reader services (RSERVICE.EXE) is loaded. Use Wedge mode when the
reader is running an application that uses the Virtual Wedge. When in this
mode, use standard input functions, such as TEXT_IO.Get, to retrieve
keypad or label input.
Wedge mode does not take full advantage of the reader’s power
management capabilities. You will probably notice reduced battery life
when the reader is in this mode compared to either Programmer or Desktop
mode. For more information on power management, see Chapter 5,
“Advanced Programming,” in the PSK Reference Manual.
Programmer Mode Inputs are echoed to the screen. Reader commands are
executed and saved. Use Programmer mode when the reader is executing
IRL commands. In general, when you are running an application that uses
the function libraries or software interrupts, the reader should be in
Programmer mode.