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: fanout |
From: | "Daykin, Evan via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "dominik.domagala at s2innovation.com" <dominik.domagala at s2innovation.com> |
Date: | Tue, 29 Mar 2022 17:14:40 +0000 |
Hi Dominik, Is your Idea here that you have one value x, and you want to set all the selected PVs to the same value x? If so, you might have something like this: record(ao, "x") { field(FLNK, "fanout") } #Bit mask #1=LNK1, 2=LNK2, 3=LNK1 and LNK2 ... #7=LNK1-3 record(longout, "selnMask") { field(VAL, "7") } record(fanout, "fanout") { field(SELM, "Mask") field(SELL, "selnMask") field(LNK1, "A") field(LNK2, "B") field(LNK3, "C") field(LNK4, "D") } record(ai, "A") { field(INP, "x NPP") } record(ai, "B") { field(INP, "x NPP") } record(ai, "C") { field(INP, "x NPP") } record(ai, "D") { field(INP, "x NPP") } -Evan |