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  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: NTNDArray with attributes using QSRV group Pas
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Veseli, Sinisa" <sveseli at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Joao Paulo Martins <JoaoPaulo.Martins at ess.eu>
Date: Wed, 2 Nov 2022 15:49:26 +0000
> Although this does not help with your problem, perhaps it is worth looking into as possible alternative approach for serving images:

>>> import time
>>> import pvaccess as pva
>>> attr = pva.NtAttribute('x', pva.PvInt(3))
>>> attr['timeStamp'] = pva.PvTimeStamp(time.time())
>>> nda = pva.NtNdArray()
...



Combine this with the PyDevice, https://github.com/klemenv/PyDevice (for more see also recent EPICS meeting), you can have an IOC where some record calls python code, and in there you then assemble & publish the PVA data.

The result could either be a very elegant solution that offers the best of IOC record processing and python for assembling the complex data, or a Franken-IOC. It's certainly worth exploring as an alternative to growing the "info(group..." syntax.




Replies:
Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa via Tech-talk
References:
NTNDArray with attributes using QSRV group Pas Joao Paulo Martins via Tech-talk
Re: NTNDArray with attributes using QSRV group Pas Kasemir, Kay via Tech-talk
Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa via Tech-talk

Navigate by Date:
Prev: Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa via Tech-talk
Next: Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa 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  <20222023  2024 
Navigate by Thread:
Prev: Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa via Tech-talk
Next: Re: NTNDArray with attributes using QSRV group Pas Veseli, Sinisa 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  <20222023  2024 
ANJ, 02 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·