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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CSS X-Y Graph
From: Mark Rivers <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: Eric Norum <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 24 Feb 2012 21:04:46 +0000
No, I am not using Eric's technique.  Also, I am just pointing to a Y array, not an X array.

I am not using XRTGraph, rather the other plotting widget that comes with medm.

Mark


________________________________________
From: Andrew Johnson [[email protected]]
Sent: Friday, February 24, 2012 2:22 PM
To: Mark Rivers
Cc: [email protected]; Eric Norum
Subject: Re: CSS X-Y Graph

Hi Mark,

On 2012-02-24 Mark Rivers wrote:
> While Janet is looking at the plot widget, there is a serious performance
> problem that should be fixed if at all possible.  If you create a waveform
> with a large number of elements, so that the plot update is rather slow,
> then you can clearly see the following: when a new array is posted the
> plot widget first replots the existing array, and then plots the new
> array.  This slows things down by a factor of 2, which is very significant
> when the number of elements is large, and the plot is really slow anyway.

Are you using the technique Eric described, i.e. pointing the count to a
separate PV which reads NORD?  I could see that causing the double-plot
behavior if MEDM gets a count monitor event before the new array data arrives.
Since MEDM is single-threaded it may not be possible to interrupt a plot once
it starts, unless you want to be able to insert some kind of settling delay
before it actually starts the plot.

That's another reason to make the widget able to use the new dynamic array
sizing feature, since the array data and its size will arrive in the same
monitor event.

- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

References:
CSS X-Y Graph John Dobbins
Re: CSS X-Y Graph Andrew Johnson
RE: CSS X-Y Graph Mark Rivers
Re: CSS X-Y Graph Andrew Johnson

Navigate by Date:
Prev: CLIMET, CI-1053 device support? Nicholas P. DiMonte
Next: Re: QT-based tools: Expressions of interest requested Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS X-Y Graph Andrew Johnson
Next: Re: CSS X-Y Graph Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·