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 2024 2025 | 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 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Relative time in XY graph |
From: | Bruce Hill <[email protected]> |
To: | Himanshu Tyagi <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Tue, 28 May 2013 14:58:13 -0700 |
Hi Himanshu, Yes, the compress records are saving arrays of data and time values so you can display data vs time in xygraph. The TimeStamp stringin PV is used to convert the internal timestamp of the sin PV, read via "TST:IOC:SinValue1.TIME", into a floating point string that can be read as input by the calc record or other records. In Ralph's version, he uses the stringin record directly as input to the compress record to get absolute timestamps. My version used a calc record to get relative timestamps. Either approach can be used depending on whether you want absolute or relative timestamps. You can also vary the NSAM values to get arrays larger than 20 values, or change the scan rate for the sin PV or use some other PV for your data and timestamp source. Hope this helps! Regards, - Bruce On 05/23/2013 09:48 PM, Himanshu Tyagi
wrote:
-- Bruce Hill Member Technical Staff SLAC National Accelerator Lab 2575 Sand Hill Road M/S 10 Menlo Park, CA 94025 |