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: Getting a time series of some NDPluginStats
From: "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov>
To: Iain Marcuson <iain.marcuson at sydortechnologies.com>, Mark Rivers <rivers at cars.uchicago.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 8 Sep 2022 14:51:20 +0000

Hi Iain,

 

 

On that related note, I also have a separate datum that I want to put into a time series.  At present I write that value out on its own NDArray Address.  Do I then use that address in the NDTimeSeriesConfigure line later?

 

There’s a plugin for that, in fact there’s two plugins which are very similar:

https://areadetector.github.io/master/ADCore/NDPluginAttribute.html

https://areadetector.github.io/master/ADCore/NDPluginAttrPlot.html

 

If you have your own scalar data, you can attach that to an NDArray as an NDAttribute. Then one of these plugins can extract that data and publish it over channel access.

 

Or, you can do what I think you described, which is creating a new a 1-D NDArray with N scaler values in it, then export using the statistics plugin, the standard CA waveform plugin or the PVAccess plugin.  

 

Cheers,

Matt

 

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, September 08, 2022 9:26 AM
To: tech-talk at aps.anl.gov; Iain Marcuson <iain.marcuson at sydortechnologies.com>
Subject: Re: Getting a time series of some NDPluginStats

 

Hi Iain,

 

> I would like to be able to do the time series of the X and Y centroids. 

 

The time series of the X and Y centroids is easy.  This is a screen shot of the NDPluginStats screen.

 

 

In the Centroid section there is a menu labeled "Time series plots".  Simply select "Centroid X" and you will see a plot like this:

 

 

Maybe I am not understanding the question?

 

Mark

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Iain Marcuson via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, September 8, 2022 7:26 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Getting a time series of some NDPluginStats

 

For a project, I successfully have NDPluginStats computing the profile and centroid of an image.  I would like to be able to do the time series of the X and Y centroids.  I have been looking at the synApps QuadEM as a starting point, and it seems that in QuadEM the positions are output on specific NDArray Addresses, while that is not the case with NDPluginStats.  Is there some way to select only the centroids of the NDPluginStats to put into a time series?

 

Iain Marcuson

Software Engineer, Sydor Technologies

585.278.1168 | www.SydorTechnologies.com

Skype: iain.marcuson at sydorinstruments.com

 

 

This message has been scanned for malware by Forcepoint. www.forcepoint.com

 

Click here to report this email as spam.


References:
Getting a time series of some NDPluginStats Iain Marcuson via Tech-talk
Re: Getting a time series of some NDPluginStats Mark Rivers via Tech-talk
RE: Getting a time series of some NDPluginStats Iain Marcuson via Tech-talk

Navigate by Date:
Prev: Re: Understanding EPICS_CA_ADDR_LIST and caget Mark Rivers via Tech-talk
Next: Re: Getting a time series of some NDPluginStats 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  <20222023  2024 
Navigate by Thread:
Prev: RE: Getting a time series of some NDPluginStats Iain Marcuson via Tech-talk
Next: Re: Getting a time series of some NDPluginStats 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·