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

Subject: Re: Count record that resets by date
From: Maren Purves via Tech-talk <tech-talk@aps.anl.gov>
To: Daniel Cuneo <dpcuneo@lbl.gov>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 13 Mar 2019 11:07:01 -1000
I have something that needs to be reset on a daily basis and use a
cron job that runs cau with an input file.
Not the most elegant solution, but it works.

HTH,
Maren Purves, EAO

On Wed, Mar 13, 2019 at 11:02 AM Daniel Cuneo via Tech-talk
<tech-talk@aps.anl.gov> wrote:
>
> Hi all,
> I'd like to create a database record that counts based on a forward link. This record would need to reset back to zero
> at 12AM every day.
>
> Use case, is where a beam line user hits a reset button repeatably (tied to a bo record) as a work around for something that is broken.
> I'd like to track these resets.
>
> Is there a way to do this with base?
> I'm considering writing a C subroutine for this is it doesn't already exist.
>
> Cheers!
> dpc

Replies:
Re: Count record that resets by date Diego Omitto via Tech-talk
References:
Count record that resets by date Daniel Cuneo via Tech-talk

Navigate by Date:
Prev: Re: I'm looking for a pvacces example to read PVStructure Heinz Junkes via Tech-talk
Next: Count record that resets by date Daniel Cuneo via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Count record that resets by date Daniel Cuneo via Tech-talk
Next: Re: Count record that resets by date Diego Omitto via Tech-talk
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  <20192020 
ANJ, 13 Mar 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·