Aloha,
Under EPICS R3.12 (specifically Version R3.12.0Beta13) I find the
following behavior:
Given two records A and B in the same lockset with A.OUT = "B .PP .NMS".
If record B is separately processed by hand and later record A is
processed B is (surprise!) no longer processed as a result of A's
OUTLINK even though B is still in the same lockset as A.
As an example:
cp:if:mcs:dir.OUT = "DB_LINK pp=1 ms=0 mcs:cmd:move.DIR"
# enable trace messages
-> dbpf "cp:if:mcs:dir.TPRO", "1"
-> dbpf "mcs:cmd:move.TPRO", "1"
# get locksets
-> dbgf "cp:if:mcs:dir.LSET"
DBR_SHORT: 1 0x1
-> dbgf "mcs:cmd:move.LSET"
DBR_SHORT: 1 0x1
# force A to process
-> dbpf "cp:if:mcs:dir.PROC", "1"
process: cp:if:mcs:dir
process: mcs:cmd:move
# force B to process
-> dbpf "mcs:cmd:move.PROC", "1"
process: mcs:cmd:move
# check B's lockset
-> dbgf "mcs:cmd:move.LSET"
DBR_SHORT: 1 0x1
# force A to process again
-> dbpf "cp:if:mcs:dir.PROC", "1"
process: cp:if:mcs:dir
->
Even though the two records are still in the same lockset and A's
OUTLINK still points to B, the link no longer operates!
This construct is being used to switch subsystems in and out of
Standalone modes. A possible workaround is to add two new records C
and D such that:
A.OUT = "C .PP .NMS"
C.FLNK = "D"
D.DOL = "C"
D.OMSL = "supervisory" in standalone mode, "closed_loop" otherwise.
D.OUT = "B .PP .NMS"
I can't use an FLNK from A since A and B may be on separate IOCs.
Peregrine
-------------------------------------------------------------------------------
Peregrine M. McGehee http://www.cfht.hawaii.edu/~mcgehee
Telescope Control Systems Group Canada-France-Hawaii Telescope
(808) 885-3178 P.O. Box 1597, Kamuela, Hawaii 96743
- Replies:
- Re: Vanishing OUTLINKS Marty Kraimer
- Navigate by Date:
- Prev:
Re: EPICS_IOC_LOG_FILE_COMMAND William Lupton
- Next:
Re: Vanishing OUTLINKS Marty Kraimer
- 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:
CVS Bakul Banerjee
- Next:
Re: Vanishing OUTLINKS Marty Kraimer
- 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
|