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: | "Veseli, Sinisa via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Kasemir, Kay" <kasemirk at ornl.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:58:53 +0000 |
Just to add to this, pvapy can now run both CA IOC (with built in record types) together with PVA Server. Here are some examples:
Sinisa
--
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli at anl.gov
(630)252-9182From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Wednesday, November 2, 2022 10:49 AM 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> Subject: Re: NTNDArray with attributes using QSRV group Pas
> 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.
|