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  <20152016  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  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Question about device support
From: Mark Rivers <[email protected]>
To: Florian Feldbauer <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Fri, 15 May 2015 10:50:41 +0000
Hi Florian,

Both of the things you asked about are implemented in the standard asyn device support.  Updating output records on a callback from the driver was added in asyn R4-26:

http://www.aps.anl.gov/epics/modules/soft/asyn/R4-26/RELEASE_NOTES.html

Support for setting timestamps was added in asyn R4-22:

http://www.aps.anl.gov/epics/modules/soft/asyn/R4-22/RELEASE_NOTES.html

So you might consider writing an asyn port driver to talk to your OPC, rather than device support.  It may be simpler.

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Florian Feldbauer [[email protected]]
Sent: Friday, May 15, 2015 1:51 AM
To: EPICS Tech Talk
Subject: Question about device support

Hey all,

I'm currently working together with the company iseg Spezialelektronik GmbH
to develop EPICS device support for their high voltage power supplies.

Two questions came up so far:
1) It is possible that some Control values change their values,
    e.g. if a trip occures the "channel is on" control word is set to off.
    Can the device support in such a case change the value of a bo record?
    Will the record be processed when changing its value from device
support?
    (I was thinking of some kind of callback here)

2) The device support will not directly communicate with the hardware,
    but with a daemon in between (iseg also wants to support OPC server
and others,
    so one common interface for all).
    This daemon gives me the value and timestamp of its last change.
    Is it possible to give this timestamp through the device support to
the record?
    From the record reference manual I guess not...
    What would be your suggestion to make the timestamp
available/visible to the operator/experts?

Best regards,
Florian


--
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------



Replies:
Re: Question about device support Florian Feldbauer
References:
Question about device support Florian Feldbauer

Navigate by Date:
Prev: Re: Question about device support Ralph Lange
Next: EPICS Base 3.15.2 released Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Question about device support Ralph Lange
Next: Re: Question about device support Florian Feldbauer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·