EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Idea for new Display Manager
From: "Whitney R. Armstrong" <[email protected]>
To: Hugo Slepicka <[email protected]>
Cc: "Gibbs, Matt" <[email protected]>, [email protected]
Date: Tue, 27 Feb 2018 17:16:35 -0600

Hi Hugo, Thanks. I was not aware of this one. I'll take a look. It is worth noting the difference between "immediate mode" and "retain mode". In immediate mode the overhead for doing things low (i.e. it is just a loop). In "retain mode" (like Qt), there is a lot of state management behind the scenes that can be rather cumbersome and difficult.

Cheers,
Whit


On Tue, Feb 27, 2018 at 07:15:48PM +0000, Hugo Slepicka wrote:
Hi Whit,

Here at SLAC we reached the same conclusion (white paper attached) and
based on the result of this study we started to develop PyDM (
https://github.com/slaclab/pydm) which is a PyQt-based framework for
building user interfaces for control systems.

Currently the project is in use at SLAC, at LNLS/Sirius in Campinas, Brazil
and at the Max Planck Institute for Nuclear Physics in Heidelberg, Germany.

The documentation is being improved and also the tool capabilities (
http://slaclab.github.io/pydm/).

Support for structured data (pvAccess) will be available on the next months.

Feel free to give it a try and send back your impressions and
considerations.


Cheers,
Hugo

On Tue, Feb 27, 2018 at 10:16 AM Whitney R. Armstrong <[email protected]>
wrote:

Hello,

My recent experience with display managers left me with the conclusion
that a new DM is desperately needed. Here is a quick recap of my
experiences and thoughts dealing with the different display managers.
Note I am using the latest Ubuntu and Epics base-7 and my comments are
tongue-in-cheek.

1. MEDM : It works! This old gem works (almost) perfectly. It has a very
easy to use interface, but of course, is rather limited.

2. edm : Where do I download it? The webpage is broken. (Last
documentation update was in 2007: is also not a good sign.)

3. caQtDM: A home rolled build system is never a good sign. It compiles
but then crashes when launched. I get a horrible hand cramp trying to
debug things because who types "caQtDM" with ease? Does it work... I
don't know... maybe?

4. CS-studios: First I follow the instructions on the website: fails.
Eclipse cannot install all the needed parts. Next I try running maven to
build from the core directory. After maven downloads the entire internet
the build fails with some horrible java errors. (Why is java still a
thing?)  CSS looks nice from all the pictures but it has some bugs (or
undocumented features).

Anyway, if I missed any DMs please let me know. As you can tell,  IMO
MEDM is still the winner.

The idea for a new display manager is to use an "immediate mode" gui
(imgui) design  which is much easier than "retain mode" like qt, gtk,
etc. I have been playing around with Dear ImGui
(https://github.com/ocornut/imgui) which has become quite popular. A
test using ImGui and looks for PVs from the example ioc app can be found
here https://github.com/whit2333/imgui_DM .

My initial take away: It was easier to develop my own DM than build most
of the existing display mangers. I am not sure if this speaks to the
awesomeness of Dear ImGui, or the sad state of existing DMs (but not you
MEDM, you are my rock).

In summary, I would like to develop a new display manager around Dear
ImGui and any feedback or comments on the idea would be great.

Cheers,
Whit

PS This repo was super useful
(https://github.com/mdavidsaver/cmake4epics) and cmake could make life
easier by replacing many parts of the -- let's say, unique -- "Epics
build system".







References:
Idea for new Display Manager Whitney R. Armstrong
Re: Idea for new Display Manager Hugo Slepicka

Navigate by Date:
Prev: Re: Asyn not automatically reconnecting Mark Rivers
Next: Re: Idea for new Display Manager Whitney R. Armstrong
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Idea for new Display Manager Hugo Slepicka
Next: RE: Idea for new Display Manager Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 27 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·