Experimental Physics and
MEDM: Motif Editor and Display Manager
MEDM is a Motif graphical user interface for designing and implementing control screens, called displays, that consist of a collection of graphical objects that display and/or change the values of EPICS process variables. The supported objects include buttons, meters, sliders, text displays/entries, and graphs. It has two modes of operation, EDIT and EXECUTE. Displays are created and edited in EDIT mode, and they are run in EXECUTE mode.
MEDM was developed at the APS, but future maintenance by us is likely to be very limited.
The following documents are available. Textual links are to HTML documents, and other formats are indicated by an icon link. More information about the Flash demos and help, if you have trouble, can be obtained here.
A prebuilt version of MEDM for WIN32 is available in the EPICS Win32 Extensions distribution. A Windows X Server such as Exceed is necessary to run MEDM and other Motif extensions on WIN32. See "MEDM Fonts for Exceed" above for instructions on installing the MEDM fonts in Exceed.
The following tar files contain source code only (no binaries) and were compressed using gnuzip.
MEDM requires that the Motif and X11 header files and libraries be available and that the X11 and MOTIF settings in CONFIG_SITE.<host_arch> be set correctly.
MEDM was originally designed to use the plotting capabilities of the commercial library XRT/graph for its graphing widgets. It can now also be built using SciPlot, included in the MEDM distribution, instead.
On Ubuntu installations you may need to run these commands to install the packages needed to be able to compile and run MEDM:
$ sudo apt-get install build-essential libmotif-dev $ sudo apt-get install x11proto-print-dev $ sudo apt-get install libxp-dev libxmu-dev libxpm-dev $ sudo apt-get install xfonts-100dpi
or equivalent. In addition you will have to download the medmfonts.ali.txt file. What you do with this file to install the MEDM font aliases varies with your Linux distribution. In some cases you would do this:
$ sudo cat medmfonts.ali.txt >> /usr/share/fonts/X11/misc/fonts.alias
On recent Ubuntu versions (14.04) though do this instead:
$ sudo mv medmfonts.ali.txt /etc/X11/fonts/misc/medm.alias $ sudo update-fonts-alias misc
In both cases you will probably have to restart the X11 server (logout and login again should be sufficient). The widgetDM_30 and larger aliases refer to fonts that are not included with Ubuntu, so you may wish to edit the fonts referred to (use xfontsel to find appropriate replacements).
|JBA, 30 Jul 2015||
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·