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: | Array widget in Display Builder |
From: | Tomasz Brys via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 14 Apr 2021 12:27:14 +0000 |
Hi, I need help to understand an Array widget.
I created an array widget with five TextEntries. I set PV as loc://myarray<VDoubleArray>. When I try to write something to the Array I got an error. When I set PV as loc://myarray<VDoubleArray>(0) the value 0 appears in my Array and I can write whatever I want. Even if I write more elements than five.
But e.g if I write [1,2,3,4,5] it is OK, then I write[11,22,33] I will see [11,22,33,4,5]. It looks like the array widget ignore the size of array which I want to write.
Is it a bug or special feature? If this is a feature how I can remove remaining [4,5]. Can anyone explain? Maybe I am using the widget wrong? Cheers Tomasz Brys |