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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Change input links run-time in a db |
From: | Maren Purves <[email protected]> |
To: | Tim Mooney <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 08 May 2008 09:31:21 -1000 |
my first reaction was: why do you want to do this anyway?
Can't you just feed both channels, and a "switch", into a calc record or some such and switch values? Is there a good reason to actually switch the input _channel_ rather than just the value?
Aloha, Maren
Dear folks, Changing links at runtime has to be done via Channel Access. This is documented in the App Dev Guide (15.5 Runtime Link Modification). The reason isn't documented there (or at least I haven't found it) but anyway it's because lock sets have to be recalculated, and you can't do that while you're running under the protection of a lock set that's going to be recalculated.