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: "Kasemir, Kay" <[email protected]>
To: "Whitney R. Armstrong" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 28 Feb 2018 00:20:49 +0000
Hi:

Mark, thank you for the kind words.

On 02/27/2018 05:23 PM, Whitney R. Armstrong wrote:
> Do you happen to have link to these builds/instructions for CSS?

I would be the first one to agree that the maven/tycho based build setup to which Eclipse made us move is at best very unfortunate. All I can offer for build instructions is the scripts used to build the SNS products, see https://github.com/ControlSystemStudio/org.csstudio.sns

Some of the CSS developers started to transfer key CSS components off the Eclipse platform.
That project has a much simpler build setup, see https://github.com/shroffk/phoebus.
Compared to CSS, which takes about 45 minutes (!!) to build, Phoebus compiles in less than 1 minute, which at this time includes the PV Tree, PV Table, Display Builder, Data Browser, fully compatible with the corresponding CSS files.
A snapshot of the binary as well as the dependencies in case you want to build the sources with ant instead of maven are at https://ics-web.sns.ornl.gov/css/phoebus/ . The current plan for a first release is end of this year.

If you prefer to create a new display manager, the most requested features are:
* Compatible with every existing display manager
* Uses no CPU, needs to memory
* Runs on Linux, Windows, OS X, Raspberry Pi, Android, iPhone, iPad, iWatch 

Thanks,
-Kay

> On Tue, Feb 27, 2018 at 07:16:52PM +0000, Mark Rivers wrote:
>> I understand your point.  I am an medm user.  But as a complete CSS
>> novice I downloaded the CSS nightly build, ran a single unzip command,
>> and had a nicely working CSS system.  Building CSS from scratch is a
>> challenge, but installing and using a pre-built version is not.
>>
>> The conversion tools from medm to CSS and caQtDM are working quite
>> nicely, particularly when the medm displays themselves are
>> well-designed (i.e. text actually fits in the text widget, menu
>> widgets have the correct datatype (decimal vs string), etc.
>>
>> Mark
>>
>>
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf
>>> Of Whitney R. Armstrong
>>> Sent: Tuesday, February 27, 2018 11:53 AM
>>> To: [email protected]
>>> Subject: Idea for new Display Manager
>>>
>>> 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".
>>>
>>>
>>

--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

References:
Idea for new Display Manager Whitney R. Armstrong
RE: Idea for new Display Manager Mark Rivers
Re: Idea for new Display Manager Whitney R. Armstrong
Re: Idea for new Display Manager Andrew Johnson

Navigate by Date:
Prev: Re: Idea for new Display Manager Andrew Johnson
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 
Navigate by Thread:
Prev: Re: Idea for new Display Manager Andrew Johnson
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 ·