|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Phone: +41 56 310 3406 Updated: 06.01.2015 Printer friendly version |
caQtDM - a medm replacement based on QTTable of Contents
1. Introduction
version 4.4.0 can be downloaded below 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.
Some more examples of caQtDM displays (click to enlarge):
2. Downloads and TrackerVersion 4.4.0 (for higher versions goto github and clone the development path)This distribution contains all the sources. Of course you will have to install/compile Qt,Qwt,SSL and ZMQ first on your 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. HowToDid you know that the core class of caQtDM can be used to write C++ applications in a quite easy way? You may design an user interface that can be used by the core class and you can introduce in your application then more data acquisition and intelligence. See the two examples given below: probe scan: An application using caQtDM libraries rf display: An application using caQtDM libraries How to install and run caQtDM 4. Presentations
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 Modifications4.2.0
new in 4.1.0 new in 4.0.3 new in 4.0.2 new in 4.0 new in 3.9.5 new in 3.9.4 new in 3.9.3 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: anton.mezger@psi.ch Updated: 06.01.2015 Source: /afs/psi.ch/project/epics/webhosting/software/caqtdm/index.php |