EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PVD/PVA: Examples for multi-dimensional arrays?
From: Ralph Lange via Core-talk <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Thu, 22 Nov 2018 09:52:28 +0100
Thanks for all your explanations!

This is about a C++ application that wants to atomically write the complete configuration for a system consisting of many devices with many controllers, each of which take a vector of integers as configuration. I.e. the whole thing is a 3D-array of integers.
2D arrays of double (NTMatrix) don't help much, images (NTNDArray) are also a bit off. Python is not involved.

My colleagues were very happily playing with the configuration vectors (for one controller) sent as a PVA/PVD array in an RPC type call.
Now they were asking how to do the 3D array, and all I can say is: figure it out yourself.

I know the history of the decision to only support 1D arrays at the lower level, and I understand how this minimizes complexity. I have to realize, though, that we don't win usability prizes with keeping that approach at the API level.

Looking at an industrial scada spec that is similar in scope (OPC UA), I see high-level structured array data types (roughly equivalent to our NT containers) for 1D (YArray), 2D (Image), 3D (Cube) and multi-D (NDimensionArray), always consisting of the values (data type being one of Byte, Int16, Int32, Int64, Float, Double, ComplexNumber or DoubleComplexNumber) and the appropriate number of axis definitions. To me that set sounds pretty reasonable.

Cheers,
~Ralph


Replies:
Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
References:
PVD/PVA: Examples for multi-dimensional arrays? Ralph Lange via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Michael Davidsaver via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Ralph Lange via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Ralph Lange via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Marty Kraimer via Core-talk
Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk

Navigate by Date:
Prev: Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
Next: Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
Next: Re: PVD/PVA: Examples for multi-dimensional arrays? Mark Rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 22 Nov 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·