EPICS Home

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  <20172018  2019  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: C++ multi threaded application.
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Wed, 6 Sep 2017 10:26:58 +0200
Ciao Giacomo,

On Wed, Sep 6, 2017 at 10:02 AM, Giacomo S. <[email protected]> wrote:
A typical graphical interface wants to put in evidence warning or alarm
values (for example, in a gauge you want yellow or red bands or you may
want coloured stripes on the background of a plot in the alarm or
warning sections), so, in this case I may be interested in two kind of
subscriptions:

- the DBE_PROPERTY to get alarms. LO/HI thresholds, display and so on...
- the DBE_VALUE to get value changes.

Well, almost. Typically, you would subscribe
  • to the full structure (DBR_CTRL_...) using the DBE_PROPERTY flag to get updates on the limits and thresholds,
  • to a small value/status(/timestamp) structure (DBR_STS_... or DBR_TIME_...) using DBE_VALUE | DBE_ALARM to get value and status updates (with timestamps).

It would be very useful to me a kind of documentation where this is
described.
I'll have a look at your link now.

Other than the Channel Access Reference Manual (available on the EPICS web site, e.g. http://www.aps.anl.gov/epics/base/R3-15/5.php), the CA client example (makeBaseApp template), the CA command line tools (that you already found) and the training slides that Andrew pointed out, I don't know of any CA client usage documentation. Sorry!

Cheers,
~Ralph


Replies:
RE: C++ multi threaded application. Mark Rivers
Re: C++ multi threaded application. Michael Davidsaver
References:
C++ multi threaded application. Giacomo S.
Re: C++ multi threaded application. Andrew Johnson
Re: C++ multi threaded application. Giacomo S.
Re: C++ multi threaded application. Giacomo S.
Re: C++ multi threaded application. Andrew Johnson
Re: C++ multi threaded application. Giacomo S.

Navigate by Date:
Prev: Re: C++ multi threaded application. Giacomo S.
Next: Re: Archiver: Problems with disconnected PVs Gabriel de Souza Fedel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: C++ multi threaded application. Giacomo S.
Next: RE: C++ multi threaded application. 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  <20172018  2019  2020  2021  2022  2023  2024