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  <20152016  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  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: related to array
From: "Southern, Tim" <[email protected]>
To: priya tiwari <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 10 Mar 2015 05:56:04 -0400
Hi,
The compress record type will perform the desired task.
https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Compression

You will want to set the ALG field to "Circular Buffer".

Example record:

record(compress, "currentArray"){
  field(INP, "currentPV CP")
  field(NSAM, "20")
  field(ALG, "Circular Buffer")
}


Cheers,
Tim



On 3/10/15 1:05 AM, priya tiwari wrote:
Hello sir,
       I am plotting a graph between current and voltage.Here User set the current and read a corresponding voltage from device upto 20 times.Here we are reading one value of current and its corresponding voltage and transfer this value into waveform record.Here I am taking two waveform records one for current and another for voltage.The value is stored on 0th index of waveform.In the next iteration change the value of current and again send to waveform then again value is putting on 0th index but I want to put on 1st index then in next iteration ,put on 2nd index of waveform.How to previous values stored in array?
2. Now the problem is occurring ,in case of plot always I get one point and previous did not store. I want to store all values and draw the graph from point 1 to 20.
           
      How to solve this problem?please provide me solution of this problem...
                                 Thanks in advance...


References:
related to array priya tiwari

Navigate by Date:
Prev: related to array priya tiwari
Next: RE: related to array Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: related to array priya tiwari
Next: RE: related to array Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·