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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Testing the new DBE property in EPICS R3-14-11
From: Ralph Lange <[email protected]>
To: Benjamin Franksen <[email protected]>
Cc: [email protected]
Date: Thu, 16 Sep 2010 22:15:03 -0400
Hi Ben,

On 16.09.2010 12:44 Ben Franksen wrote:
Another idea for increasing usability: Forget about DBR_XXX in the user
interface. Instead, let them specify a set of properties and display just those, using whatever DBR type is appropriate (i.e. a superset). If there is none (e.g. the user requests "timestamp+display_limits") we could (a) give up and tell the user why, or (b) set up two monitors, one with DBR_TIME_XXX and one with DBR_GR_XXX, then correlate the events and merge them.

While I perfectly understand the idea behind that approach, I don't like it for the command line tools.


They are meant as a swiss army knife for tracking down Channel Access and IOC issues. One of the major reason for them is that with all the fancy and luxurious high level GUIs and tools, you never really know what kind of CA operations they really do, what DBR types they are asking for, what event flags they use, etc.
The command line tools have to have a simple, one-to-one correlation between the options on the command line and their actions.
A "caget <PV>" does exactly one CA get operation. If you specify the DBR type, it will use that type, and it will print exactly the data that comes back. That's it. No hidden extra calls, no data filtered out.
A "camonitor <PV>" sets up exactly one subscription. If you specify the event mask, it will use that mask. It prints one line for every update that comes in.


If we start doing too many additional "automatic" things behind the curtains (e.g. setting up additional monitors, doing cagets to get metadata the subscription doesn't deliver), the command line tools may become nicer, but a lot less useful. There are enough nice CA clients around where you don't know exactly what they are doing on the wire.

Cheers,
Ralph


Replies:
Re: Testing the new DBE property in EPICS R3-14-11 Benjamin Franksen
References:
Testing the new DBE property in EPICS R3-14-11 Xu, Chengcheng
Re: Testing the new DBE property in EPICS R3-14-11 Ralph Lange
Re: Testing the new DBE property in EPICS R3-14-11 Ben Franksen
Re: Testing the new DBE property in EPICS R3-14-11 Ben Franksen

Navigate by Date:
Prev: RE: Strange gateway error message Jeff Hill
Next: Re: Testing the new DBE property in EPICS R3-14-11 Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Testing the new DBE property in EPICS R3-14-11 Ben Franksen
Next: Re: Testing the new DBE property in EPICS R3-14-11 Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·