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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Channel Access Link |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech-Talk <[email protected]> |
Cc: | "''Ana Mellado''" <[email protected]>, [email protected] |
Date: | Wed, 12 Feb 2014 15:13:45 +0100 |
On 12.02.2014 14:28, Mark Rivers wrote:
You can do that with a Channel Access link. The exact syntax depends on the record type, but something like the following: record (ai, "MyLocalRecord") { field(INP, "MyRemoteRecord CP MS") } This will make the value of MyLocalRecord be fetched from MyRemoteRecord every time MyRemoteRecord posts a channel access monitor.
If you do not specify the type of your link, e.g., record (ao, "MyRecord") { field(OUT, "MyOtherRecord") } EPICS will determine the link type at boot time.If the target record is found on the same host, that link will be a database link, otherwise the IOC will try to resolve it remotely (using Channel Access).
Cheers, ~Ralph