EPICS Home

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  2022  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: RE: Graph displays and callbacks in QuadEM
From: Iain Marcuson via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov>
Date: Tue, 1 Oct 2024 20:11:55 +0000

As it turns out, part of my problem was the CSS graphs seeming to be sent to display only one point.  The displays seem to work fine now.

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Tuesday, October 01, 2024 4:08 PM
To: Iain Marcuson <iain.marcuson at sydortechnologies.com>; tech-talk at aps.anl.gov
Subject: RE: Graph displays and callbacks in QuadEM

 

Hi Iain,

 

I have attached 2 screenshots showing what the time series should look like.

 

NDPluginTimeSeries.png shows the time series control screen.

 

  • This plugin gets called each time one averaging period has elapsed.  It passes an array of dimensions 11xN.  11 is the number of different data items (current1, current2, position1, position2, etc.)  N is the number of points being averaged in the main driver.
  • The UniqueID and Time stamp in this window should be updating as new data arrives.
  • The Time link tells the plugin where to get the time between points.  This link should have the CP attribute so it updates when the driver sampling time changes.
  • The Averaging time controls the number of points that are averaged before plotting them.  It is basically the same as time/point, and so # Average is 1 in this example.
  • AcquireMode controls whether the plot is circular buffer (continuous) or fixed length (stop after #Time points points.

 

NDTimeSeriesPlot is the plot.  In this case it is Current1 in Circular buffer mode.

 

Let me know if you still have questions/problems.

 

Mark

 

 

From: Iain Marcuson <iain.marcuson at sydortechnologies.com>
Sent: Tuesday, October 1, 2024 9:28 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: RE: Graph displays and callbacks in QuadEM

 

Thank you.  You pointed me in the right direction for the updates of “Current” et al.  The IOC never set # To Average; I fixed that in the IOC, and now the values update according to the Averaging Time.

 

What is the behavior of the time series plots supposed to be?  I try acquiring, and I get the number of samples I say to acquire when I click the Erase/Start button, but I do not see anything on the graphs.

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, September 30, 2024 6:12 PM
To: Iain Marcuson <iain.marcuson at sydortechnologies.com>; tech-talk at aps.anl.gov
Subject: RE: Graph displays and callbacks in QuadEM

 

On quadEM screen you have AcquireMode=Single.  That will only collect one averaging cycle.  What happens if you change that to Continuous?

 

On that same screen # To average is 0.  I would expect that to be 0.5/2.4e-4 = 2000.

 

Mark

 

 

From: Iain Marcuson <iain.marcuson at sydortechnologies.com>
Sent: Monday, September 30, 2024 2:31 PM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: RE: Graph displays and callbacks in QuadEM

 

I have attached the screenshots.  As a warning, the IOC code is bespoke, so I may have missed something there.

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, September 30, 2024 3:09 PM
To: Iain Marcuson <iain.marcuson at sydortechnologies.com>; tech-talk at aps.anl.gov
Subject: RE: Graph displays and callbacks in QuadEM

 

Hi Iain,

 

  • The numbers for e.g. “Current”, “Current (Sigma)”, and X Sum only update when I click the “Read” button next to the “Read data” label.  Is this the intended behavior?  I suspect it is, based on a comment in drvQuadEM, but I would like to verify this.

 

No, that is not how it should work.  Those numbers should update at the AveragingTime. In the attached screenshot AveragingTime is 0.5 seconds, and that is the rate at which those non-Fast values are updating.

 

Please send a screenshot of the main quadEM screen.

 

Please send a screenshot of time series plugin control if those value are not updating.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Iain Marcuson via Tech-talk
Sent: Monday, September 30, 2024 1:34 PM
To: tech-talk at aps.anl.gov
Subject: Graph displays and callbacks in QuadEM

 

I am working on debugging a QuadEM, albeit one using an internal IOC.  I also want to make sure that I know how the IOC and OP are intended to function.

 

When using the standard quadEM.opi from the quadEM repo, the “(Fast)” numbers update according to the “Fast Averaging Time” parameter.  The numbers for e.g. “Current”, “Current (Sigma)”, and X Sum only update when I click the “Read” button next to the “Read data” label.  Is this the intended behavior?  I suspect it is, based on a comment in drvQuadEM, but I would like to verify this.

 

Finally, I do not see updating graphs when I look at the plots under “Time series”.  I am wondering if there is a callback I need to enable that I am overlooking.  I sometimes seem to get a single point on the graph, but nothing otherwise.

 

Thank you,

 

Iain.

 

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

 

Click here to report this email as spam.


References:
Graph displays and callbacks in QuadEM Iain Marcuson via Tech-talk
RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk
RE: Graph displays and callbacks in QuadEM Iain Marcuson via Tech-talk
RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk
RE: Graph displays and callbacks in QuadEM Iain Marcuson via Tech-talk
RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk
Next: PVXS release 1.3.2 and P4P 4.2.0 Michael Davidsaver 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  2022  2023  <20242025 
Navigate by Thread:
Prev: RE: Graph displays and callbacks in QuadEM Mark Rivers via Tech-talk
Next: Resizing Phoebus GUI elements Steve Kinder - STFC UKRI 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  2022  2023  <20242025