EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  2025  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: A general question about convert e.g. in longout record drvh, drvl handling
From: "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov>
To: Heinz Junkes <junkes at fhi-berlin.mpg.de>
Cc: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Thu, 28 Jan 2021 00:00:40 +0000
An option that doesn’t depend on DRVL/DRVH at all is this:

record(longout, zero) {
  field(LOLO, -1)
  field(LLSV, INVALID)
  field(HIHI, 1)
  field(HHSV, INVALID)
  field(IVOA, "Set output to IVOV")
  field(IVOV, 0)
}

If VAL gets set to any value other than 0 by any means, the record will go into Invalid alarm and the IVOA action will reset VAL back to 0 when the record processes. You also get a nice HIHI or LOLO Invalid alarm severity if someone tries to change it, in case that interests you.

You might want to set DISP to 1 to prevent anyone modifying the fields in the first place though.

- Andrew


On Jan 27, 2021, at 5:53 AM, Heinz Junkes via Core-talk <core-talk at aps.anl.gov> wrote:

Yes, the Idea with DOL/OMSL is a good one ;-)

And thanks for the clear answer about drvl = drvh = 0.
Unfortunately I had not thought of that at that moment. Makes total sense.

But maybe it would be worth to exclude the "0" (default) in the convert
or to give a warning when loading the db file with DRVH = DRVL (!0)?

Viele Grüße
Heinz Junkes
--
Experience directly varies with equipment ruined.



On 27. Jan 2021, at 12:08, Ralph Lange via Core-talk <core-talk at aps.anl.gov> wrote:

On Wed, 27 Jan 2021 at 11:56, Heinz Junkes via Core-talk <core-talk at aps.anl.gov> wrote:
I have defined a longout record and wanted to achieve that you can set exactly only one value.

Wouldn't a constant DOL and OMSL set to supervisory achieve that?

Cheers,
~Ralph



-- 
Complexity comes for free, simplicity you have to work for.


References:
A general question about convert e.g. in longout record drvh, drvl handling Heinz Junkes via Core-talk
Re: A general question about convert e.g. in longout record drvh, drvl handling Ralph Lange via Core-talk
Re: A general question about convert e.g. in longout record drvh, drvl handling Heinz Junkes via Core-talk

Navigate by Date:
Prev: Jenkins build is back to normal : EPICS-3.15 #264 Jenkins EPICS PSI via Core-talk
Next: Jenkins build is back to normal : epics-pva2pva-win64 #318 APS Jenkins via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  2025 
Navigate by Thread:
Prev: Re: A general question about convert e.g. in longout record drvh, drvl handling Heinz Junkes via Core-talk
Next: AW: A general question about convert e.g. in longout record drvh, drvl handling Zimoch Dirk (PSI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  2025 
ANJ, 28 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·