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  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 
<== Date ==> <== Thread ==>

Subject: Re: waveform display
From: John Dobbins <john.dobbins@cornell.edu>
To: "Chen, Xihui" <chenx1@ornl.gov>
Cc: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Thu, 26 Jul 2012 14:55:25 -0400
Xihui,

N = 100 and I set Buffer Size to 1000.

The first ten times the waveform record processes the behavior is as desired. On the 11th update the first 100 samples disappear from the plot and are not replaced. On the 12th update the second hundred samples disappear ... until I am left with a blank plot.

CSS 3.1.0.20120201 on win32.

John

On 7/26/2012 1:06 PM, Chen, Xihui wrote:
Hi John,

In BOY XY Graph widget, you just need to set trace property "Buffer Size" to m*N and "Concatenate Data" to yes. Please let me know if it works for you.

Best regards,
Xihui



-----Original Message-----
From: John Dobbins [mailto:john.dobbins@cornell.edu]
Sent: Thursday, July 26, 2012 12:14 PM
To: EPICS Tech-Talk
Subject: waveform display

All,

I have a waveform record which holds the latest N samples of a
transient. It is periodically updated. I would like to display the last
m readings of this waveform as a single plot, i.e. m*N points, to
recreate a longer time record. With each update the display would
discard the oldest N values and add the newest N values.

I stumbled around in EDM and CSS/BOY and failed to get the behavior I
wanted but may well have missed something. I could accomplish this in
the IOC (creating a long waveform and displaying that) but then I would
be retransmitting data unnecessarily, so I was wondering if this is
easily done in a display tool.

In CSS I could write a javascript which creates a local PV that
implements this behavior?

Other suggestions?

Thanks and regards,

John Dobbins
Cornell Laboratory for Accelerator-based Sciences and Education Cornell
University Ithaca, NY




References:
waveform display John Dobbins
RE: waveform display Chen, Xihui

Navigate by Date:
Prev: RE: waveform display Chen, Xihui
Next: Re: waveform display John Dobbins
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 
Navigate by Thread:
Prev: RE: waveform display Chen, Xihui
Next: Re: waveform display John Dobbins
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 
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 ·