1
1.0
GENERAL DESCRIPTION
The scripting utilities of the EM405-8 M-Module Bridge provide enhanced programming
capabilities allowing the user to easily embed software on the bridge to improve performance
and further integrate a set of M-modules. The scripting utilities are based off of the Lua
programming language and include extensions and customizations designed specifically for the
EM405-8. An architecture diagram of the scripting utilities is shown in Figure 1. Since Lua is
an interpretive language, EM405-8 users can easily develop scripts without the need for an
expensive development environment.
By embedding a script or a set of scripts on the EM405-8, the burden for monitoring, configuring
and controlling the M-modules is taken off the network and placed onto the EM405-8’s embedded
processor. This provides significant performance improvements and allows the EM405-8 and
associated M-modules to be customized and configured. It can also act independently for a long
period of time without the need for a network client to monitor the device(s).
Figure 1 EM405-8 Scripting Utilities Architecture Diagram
PART OF SCRIPTING ENVIRONMENT FURNISHED BY C&H
APPLICATION SPECIFIC CUSTOMER DEVELOPMENT
HARDWARE
STANDARD AVAILABLE SOFTWARE FROM C&H OR THIRD PARTY
M-MODULES
EM405-8 UTILITIES
(TRIGGERS, FANS, ETC.)
EM405-8 LUA EXTENSIONS
M-MODULE ANSI-C DRIVERS
SCRIPTS
LUA STD LIBRARIES
ALIEN LIB
MASS STORAGE
EM405-8 SCRIPT MANAGEMENT
EM405-8 IVI DRIVER
DEVELOP SCRIPTS
MANAGE SCRIPTS
RUN SCRIPTS
VIEW SCRIPT OUTPUT
USER
APPLICATION
CONTROL SCRIPTS
SEND COMMANDS
RETRIEVE DATA
WEB BROWSER
CUSTOM SCRIPT-BASED
WEB PAGES
HOST
EM405-8
RUN-TIME ENVIRONMENT
EMBEDDED ON EM405-8
ARM PROCESSOR
STANDARD TOOLS
TELNET – RAW SOCKET I/F
TERMINAL EMULATOR
TEXT-BASED DEVELOPMENT
ETHERNET
COMMANDS
AND DATA