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: Re: 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 at aps.anl.gov
Date: Fri, 28 Jul 2023 19:02:05 +0200
Hello again, everybody.
 
I've encountered another additional problem. When I try to retrieve a subarray using pva://Array_of_elements.VAL[3:7], the value in the PV Table is 'PV Error'.
 
I've also tried without 'VAL' and with other punctuation marks like parenthesis without success.
 
In addition to that, I came across an answer to a similar question (https://epics.anl.gov/tech-talk/2022/msg00529.php) where it suggested trying with the array filters of EPICS 3, but I think that's what I'm doing, so maybe is it a problem with my Phoebus build?
 
Any help is welcome.
 
Thanks, Eusebio.

---

Saludos/Best regards

University of Granada  

Eusebio Naif Al-Soliman Fuentes
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es



El 2023-07-26 21:51, Eusebio Naif Al-Soliman Fuentes via Tech-talk escribió:
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

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

Navigate by Date:
Prev: Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Next: measComp R4-2 available Mark Rivers 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: Access Nth element in array with CSS Phoebus. Eusebio Naif Al-Soliman Fuentes 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 
ANJ, 29 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·