User`s manual

Table Of Contents
A
A
Appendix A Operating Programmable Function
Keys and LCM
Notice: Only UC-7420 and UC-7410 support LCM and Keypad functions
In this appendix, we show you an internal service that is built around function keys. This
mechanism is designed to aid your applications to access these I/Os without being aware of the
complexity of I/O controls. Though this service gains controls on these programmable I/Os, it does
not prevent you from developing on them. Instead, we provide this mechanism for you to easily
satisfy your development needs.
This mechanism consists of a function key agent and a configuration utility. The agent operates
based on five lists of pre-defined action items. Each list corresponding to a function key links a
cyclic series of action items (10 at most) to be executed. The header item of this list maps directly
to the first hit of the function key and then the next items follow. At the end of the list, the next hit
circles the action back to the first item. A list without items comes with no action to be executed.
Each action item can be in plain text or an application that you develop. The former is normally
used for reminder message such as a manual for operating the function keys. The latter can be an
LCM application. Nevertheless, this application is required to use the LCM APIs in our library
mxdev.lib to transmit the variable text to the LCM.
We have used this mechanism to implement an application on function key F1. When the key is
pressed, the agent triggers this application to gather information and then displays the information
on the LCM. The information includes the firmware version, network address settings, and current
memory usage of the computer. These are particularly useful when you forget network
information and have difficulties connecting to the computer. In addition, it provides an alarm
system indicating the availability of your memory resource in the computer by preventing you
from overusing your memory or losing data.
Firmware:V1.0
192.168.3.127
192.168.4.127
RAM:15254/15544
F1 F2 F3 F4 F5