Experimental Physics and Industrial Control System
|
Hi Jakub,
I would suggest using an ao record in your aggregating IOC. It should be in Closed Loop mode with a DOL field that specifies a CP link to the remote IOC. That record gets processed whenever the remote IOC value changes. That ao record
OUT link writes the value to your aggregating IOC using the asynFloat64 interface. This way you don’t need to worry about Channel Access in your driver.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Wlodek, Jakub via Tech-talk
Sent: Thursday, May 18, 2023 10:10 AM
To: tech-talk at aps.anl.gov
Subject: Optimal way to offer readback of PV from one IOC as a PV within another IOC
Essentially the use case of this is that I have an IOC that aggregates some signals into a custom data structure and transmits the data live over a TCP/IP socket. Most of the signals are calculated
within this IOC itself, but there are two additional ones that I'd like to include that are currently provided by another IOC. For context, the data aggregation IOC is an asynPortDriver, and both signals should be asynFloat64 ao readbacks. What would be the
best way to do this? Camonitor/caget events within the readFloat64 method? Or some other solution?
|
- References:
- Optimal way to offer readback of PV from one IOC as a PV within another IOC Wlodek, Jakub via Tech-talk
- Navigate by Date:
- Prev:
Re: Question about Phoebus Kasemir, Kay via Tech-talk
- Next:
RE: Optimal way to offer readback of PV from one IOC as a PV within another IOC Pearson, Matthew via Tech-talk
- 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:
Optimal way to offer readback of PV from one IOC as a PV within another IOC Wlodek, Jakub via Tech-talk
- Next:
RE: Optimal way to offer readback of PV from one IOC as a PV within another IOC Pearson, Matthew via Tech-talk
- 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
|
ANJ, 18 May 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|