Download downloaded
Transcript
InstantHMI User DLL Page 14-1 14 User DLL 14.1 Introduction InstantHMI User DLL is an integral part of the InstantHMI architecture. It is an MS-Windows dynamic link library (DLL) that you may write to extend the functionality of the runtime engine to meet your own special requirements. The InstantHMI architecture allows User DLL to exchange information with the InstantHMI runtime engine. Once written, your User DLL becomes an integral part of the InstantHMI runtime engine and enables access to runtime process information for analysis, or for monitoring and controlling systems external to the runtime process. Figure 14.1: InstantHMI Architecture showing User DLL Functionality 14.2 Writing User DLL The responsibility of writing a properly functioning User DLL is entirely yours. Writing DLL's is somewhat more complicated than conventional C/C++ programming. If you are an inexperienced DLL programmer you should consult references such as compiler documentation or the MS-Windows SDK "Guide To Programming", or books such as Charles Petzold's "Programming Windows". If you are unfamiliar or new to writing DLLs we strongly recommend that you seek competent help. Software Horizons provides engineering services at a reasonable cost; you may choose this option and let us write your User DLL for you. We provide a skeleton User DLL that may be modified by you. To modify the DLL use a MS-Windows compatible language compiler, preferably a C/C++ compiler such as the Microsoft Visual C/C++ version 6.0 or later. Compilers have standard make/project templates that you may use to build a MS-Windows compatible DLL. The make/project file performs the required programming steps of compilation and object module linking of the DLL. It is recommended that you use a standard compiler make file, to ensure that appropriate object modules, and windows libraries are linked to/from your DLL. There are no additional InstantHMI files or libraries required to build User DLL. InstantHMI: Copyright © 2000-2008 Software Horizons Inc. 5.0 - 20Jul2008