Hi Andrew,
I could spend a small portion of my life to help this. However, you
and community should be OK with my bad English first :) If it is OK,
please guide me how to do this.
Hi Eric,
While I am reading your email, I remembered my old question again,
and I actually am writing similar DB file recently.
I would like to sync a PV value of Set with a PV value of RB in the
case when an IOC should be restarted with the assumption that the device
is ON. I asked Michael (MD), his codes help to figure out how to do this
long ago.
It only covers 50% of your case. I hope it may help you more to make
your ioc robustly. Here is db snip codes
``` ----- snip -----
record(bo, "$(P)Update-Cmd")
{
....
field(PINI, "YES")
field(ZNAM, "Revert")
field(ONAM, "revert")
field(FLNK, "$(P)Update:Fout_")
}
record(fanout, "$(P)Update:Fout_")
{
.....
field(LNK1, "$(P)PLL-RB")
.....
}
record(bo, "$(P)PLL-Sel")
{
....
field( OUT, "@a.proto setVal(LO,i) $(PORT)")
field(ZNAM, "Open")
field(ONAM, "Closed")
field(FLNK, "$(P)PLL-RB")
}
record(bi, "$(P)PLL-RB")
{
....
field( INP, "@a.proto getVal(LO,i) $(PORT)")
field(ZNAM, "Open")
field(ONAM, "Closed")
field(FLNK, "$(P)PLL-RB_")
}
record(longout, "$(P)PLL-RB_")
{
field( DOL, "$(P)PLL-RB NPP")
field(OMSL, "closed_loop")
field( OUT, "$(P)PLL-Sel NPP")
}
``` --- snip snip -----
Thank you.
Best,
Han
On 03/23/2018 08:57 PM, Andrew Johnson wrote:
On 03/23/2018 02:28 PM, Eric Norum wrote:
Is there a 3.15 version of the record reference manual somewhere? The
one I’ve been using
https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14
is clearly old.
No, using a wiki didn't work well with multiple parallel releases, and
updating all those tables is almost impossible, so we started converting
those pages into Perl POD format inside the record.dbd file.
We strip off the POD before installing the DBD files, and generate HTML
from the POD and DBD info as part of the Build process (so the tables
get updated automatically). Unfortunately as you'll see if you look in
your base-3.15/html directory though we haven't got terribly far with
the conversion process. Help with this is always welcome, email me!
My quick attempt at trying the above with the 4 changed to a 5 didn’t
result in much useful….
Check the release notes for a description of the record-type changes:
https://epics.anl.gov/base/R3-15/5-docs/RELEASE_NOTES.html
- Andrew
- References:
- Pushing values to device on (re)connection to IOC Eric Norum
- Re: Pushing values to device on (re)connection to IOC Andrew Johnson
- Re: Pushing values to device on (re)connection to IOC Eric Norum
- Re: Pushing values to device on (re)connection to IOC Andrew Johnson
- Navigate by Date:
- Prev:
CSDataQuick 1.0 Release Wang Xiaoqiang (PSI)
- Next:
EPICS Collaboration Meeting, June 11-15 Andrew Johnson
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Pushing values to device on (re)connection to IOC Andrew Johnson
- Next:
CSDataQuick 1.0 Release Wang Xiaoqiang (PSI)
- 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
<2018>
2019
2020
2021
2022
2023
2024
|