Instructions for downloading, installing and running
SMI++ on
WINDOWS NT/2000/XP/W7/W10
Warning: DIM
must be installed
SMI++ Latest version Release Notes
1. Download
-
get the file smixx.zip
-
unzip (extract) smixx.zip onto a "smixx" folder
2. Installation
-
Insert .../smixx/bin in the "path" (Control Panel, System,
Environment tab)
3. Running
-
set the environment variable DIM_DNS_NODE to <node name>,
<node name> is the complete name of the node where the
DIM Name Server (Dns) is running, ex. hpplus.cern.ch. This can be done
in Control Panel, System, Environment tab.
-
From then on you can start SMI++ proxies, State Managers
and User Interfaces, an example of a State Manager with two proxies is
available, if you go to directory smixx\src\examples\run_control, you can start them by typing the
following in different Command Prompts:
-
bin\evt_builder <domain_
name>
-
bin\logger <domain_name>
-
smiSM <domain_name> run_con
4. Creating your own Proxies
-
In order to make your own proxies you have to include files
in ...smixx\smixx and link with smirtl.lib in ...smixx\bin\smirtl.lib
(also smirtl.dll is there).
-
You also have to include and link with DIM, for that you should
create an environment variable "DIMDIR" containig the path to the DIM directory
(Control Panel, System, Environment tab)
-
The ...smixx/src/examples/run_control directory contains the
source code of evt_builder and logger (also a C++ version of the same proxies)
and devstudio settings to compile and link them are available in smixx/Visual/examples.dsw.
5. Using the SMI TOOLS (refer to the SMI Tools
SMIRTL and SMIUIRTL
for a complete description of the tools and libraries)
-
smiTrans - Translates the SMI CODE into an intermediate format
(.SOBJ)
-
smiGen - Generate proxy skeletons from SMI CODE
-
smiSM - Run a state manager for a particular domain
-
smiGUI - The SMI++ display tool is not working on NT yet,
please refer to the UNIX version.
-
The libraries: SMIRTL and SMIUIRTL are available in ...smixx\bin\smirtl.lib
and .dll and smiuirtl.lib and .dll