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  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Re: Reset integral pv and store it
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Ralph Lange <Ralph.Lange@gmx.de>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 31 Mar 2017 18:34:11 +0000

On March 31, 2017 4:47:43 PM GMT+02:00, Miguel <miguel.b.fernandes@gmail.com> wrote:
I would like at the end of the day(certain timestamp) ..

On Mar 31, 2017, at 2:21 PM, Ralph Lange <Ralph.Lange@gmx.de> wrote:
Yet another idea:
The stringin record has support for strftime formats. If you use that to create a six digit hhmmss number, you can use a calcout record to e.g. check for <10 and process a seq record on the 1->0 edge to do the integral reset sequence.
That’s a brilliant way to get the local time, without calling out to C code (subroutine rec, SNL), as a number!

Yes, do that. Disregard everything else I wrote.

-Kay

References:
Reset integral pv and store it Miguel
Re: Reset integral pv and store it Ralph Lange

Navigate by Date:
Prev: Re: Reset integral pv and store it Ralph Lange
Next: Re: Reset integral pv and store it Maren Purves
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
Navigate by Thread:
Prev: Re: Reset integral pv and store it Ralph Lange
Next: Re: Reset integral pv and store it Maren Purves
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
ANJ, 31 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·