EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== 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
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es


Replies:
Re: Access Nth element in array with CSS Phoebus. Eusebio Naif Al-Soliman Fuentes via Tech-talk

Navigate by Date:
Prev: Phoebus Array widget with Action Button as elements Sandeep Kumar Malu - STFC UKRI via Tech-talk
Next: Open position in controls for MPI CEC at BESSYII Nilson Pereira via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Phoebus Array widget with Action Button as elements Sandeep Kumar Malu - STFC UKRI via Tech-talk
Next: Re: Access Nth element in array with CSS Phoebus. Eusebio Naif Al-Soliman Fuentes via Tech-talk
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  <20232024 
ANJ, 28 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·