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  2015  2016  2017  2018  <20192020  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  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Count record that resets by date
From: Diego Omitto via Tech-talk <[email protected]>
To: Maren Purves <[email protected]>
Cc: Daniel Cuneo <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 13 Mar 2019 17:33:44 -0400
Hi Daniel,
you could forward link to a scalcout record that increments a counter and gets the time from a stringout record with DTYP "Soft Timestamp".

On Wed, Mar 13, 2019 at 5:08 PM Maren Purves via Tech-talk <[email protected]> wrote:
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
<[email protected]> 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 Daniel Cuneo via Tech-talk
References:
Count record that resets by date Daniel Cuneo via Tech-talk
Re: Count record that resets by date Maren Purves via Tech-talk

Navigate by Date:
Prev: Count record that resets by date Daniel Cuneo via Tech-talk
Next: Re: 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Count record that resets by date Maren Purves via Tech-talk
Next: Re: 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  2021  2022  2023  2024 
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 ·