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: | 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 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.
|