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: | Access Nth element in array with CSS Phoebus. |
From: | Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov> |
To: | Tech Talk <tech-talk at aps.anl.gov> |
Date: | Wed, 26 Jul 2023 21:51:00 +0200 |
Hello everybody.
I've a little question that it seems obvious.
I have a PV define as an array that looks like this:
record(aai, "Array_of_elements") { field(DESC, "Test") field(FTVL, "INT64") field(NELM, "20") } If I want to access one specific element of that array, for example the 7th, I can just do this:
pvmonitor Array_of_elements.VAL[7] However, in Phoebus' PV Table, I'm trying to do the same, with something like pva://Array_of_elements.VAL[7], but I'm always getting the entire array and not the specific element, how can I solve it?
Thanks in advance, Eusebio.
--
Saludos/Best regards University of Granada Eusebio Naif Al-Soliman Fuentes eunaif at correo.ugr.es |