Phone: +41 56 310 3406
Printer friendly version
caQtDM - a medm replacement based on QT
Table of Contents
version 3.9.1 can be downloaded below (build of 2.4.2015)
The EPICS display manager MEDM is a very powerful tool with many features and satisfies most of the needs for synoptic displays. However MEDM is based on MOTIF/Xt and X11, systems/libraries that are getting into age. Moreover applications using those systems are difficult to maintain and to extend. At PSI a new Qt based application was written (download below), reproducing the functionality of MEDM. Moreover a parser was written to convert the MEDM files into Qt files, the resulting displays being an exact reproduction of the MEDM displays.
It has to be noticed that the widgets used are not directly epics aware. The idea was to strictly separate the control system from the display part, in order to be able to add other controlsystems if necesssary (which is still the case for our high intensity particle accelerator).
An application is never finished and can always be improved and new things can be added. This is therefore also the case for caQtDM. The widgets could be improved, not everything has been finished and bugs will be found.
We consider this software as an open source software. Try it, use it and improve it. Yust give us your improvements and bug fixes back to us, so that we can integrate them.
The downloadable tar file contains all sources and build procedures. In the parser directory you will find the adl to ui converter.
The application itsself consists of an main programm (caQtDM) using the display class from a shared object library (libcaQtDM_Lib). The control widgets are given by the shared object library libqtcontrols.so or qtcontrols4.dll. The libraries have to be in the LD_LIBRARY_PATH for linux and for Windows you have to define the System path (you can also use scripts). For the designer and caQtDM the 3 plugin libraries have to be copied to the designer plugin directory.
While the display part is handled by the display class, you can build any application using this class with a designer developed ui file. The display class will take care of the controlsystem defined widgets. The other widgets you define like buttons or frames having to contain something you would like to define in your application can be handled (in order to use this feature contact the author)
caQtDM supports also .prc files. These files can be written by a text editor and are used at PSI. for their syntax take a look at some .prc files in directory caQtDM_tests.
Please give feedback if you are using it, found some bugs or made some additions
The application loads a stylesheet and ui files from the path defined by CAQTDM_DISPLAY_PATH or your actual directory. Inside the ui files a stylesheet can also be defined which is the case for the examples (one example proscanprobe.ui uses a different stylesheet given a different look as the other files). However many styles are defined by the widgets themselves and can not be modified
The following screen was created by using the file tests.ui. It contains all available epics related widgets of caQtDM.
Version 3.9.1This distribution contains all the sources. Of course you will have to install Qt and Qwt first on your linux platform.
Installation PackagesThe MS Windows and the Mac OS X distribution contain only binaries and you can immediately start to use it after installation.
3. HowToAn application using caQtDM libraries
How to install and run caQtDM
At APS they recorded a caQtDM Tutorial given by Jim Stevens and uploaded it to YouTube: https://www.youtube.com/watch?v=1vdSy0bsenI
5. List of Documented Modifications
new in 3.9.1
new in 3.8.9
new in 3.8.7
new in 3.8.5
new in 3.8.4
new in 3.8.1
new in 3.7.8
new in 3.7.7
new in 3.7.6
new in 3.7.3
new in 3.7.0
new in 3.6.4
new in 3.6.2
new in 3.6.1 since 3.5.2
new in 3.5.2
new in 3.5.1
new in 3.5.0
new in 3.4.7
new in 3.4.6
new in 3.4.5
new in 3.4.4
new in 3.4.3
new in 3.4.2
new in 3.4.1
new in 3.4.0
new in 3.3.1
new in 3.3.0
new in 3.2.2
new in 3.2.1
new in 3.2.0
new in 3.1.1
new in 2.8 - 2.5
new in 2.5
new in 2.3
new in 2.1
new in 2.0
6. Correspondence list between MEDM, EDM, caQtDM(has to be completed)
by courtesy of Zai Wang from synchrotron.org.au
Author: A.C.Mezger Phone: +41 56 310 3406 Email: email@example.com Updated: 06.01.2015 Source: /afs/psi.ch/project/epics/webhosting/software/caqtdm/index.php