EPICS at SLS
Phone: +41 56 310 3406
Printer friendly version
caQtDM - a medm replacement based on QT
version 2.8.0 can be downloaded below (only sources)!! (new of 18.3.2013)
Version 2.8 -2.5 :
Version 2.5 :
Version 2.3 :
Version 2.1 :
Version 2.0 :
A camera widget has been introduced. At PSI we can now display are usual cameras bw and color. You can easily modify the code to treat other formats of camera waveforms.caQtDM gives the number of connected and unconnected channels, furthermore a list of unconnected channels with their file location can be shown. caQtDM is now protected against ui description file syntax errors; caQtDM supports the command line parameters -attach -noMsg -display -macro -x -noStyles -dg. -x has no effect but suppresses the error message when keeping the medm command line parameters. caQtDM runs in native mode on linux as well as on microsoft windows.
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 binaries for SL6. 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)
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)
This distribution contains besides all the sources, binaries for SL6. Of course you will have to install QtSdk and Qwt first on your linux platform. The windows distribution contains only binaries and you can immediately start to use it.
Version 2.8.0caQtDM-2-8-0, sources only missing in tar file: all.pro
4. HowTo (under construction)HowTo.html
5. Powerpoint presentation from the epics collaboration meeting at SLAC, spring 2012presentation
Author: A.C.Mezger Phone: +41 56 310 3406 Email: email@example.com Updated: 05.06.2012 Source: /afs/psi.ch/project/epics/www/software/caqtdm/index.php