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  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: "duty cycle" records
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 22 Nov 2023 11:44:03 +0100
On Wed, 22 Nov 2023 at 11:25, Gerrit Kühn <gerrit.kuehn at aei.mpg.de> wrote:
Am Wed, 22 Nov 2023 10:07:01 +0100
schrieb Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>:

> I would probably go for the database solution, because of the full
> transparency and online modifiable functionality (good when developing).

This sounds indeed like what I would have chosen based on your
description.

So my description was biased. Yep, that happens.

Small database is a good approach for your size of problem. On the same IOC is good, as you don't have to handle disconnects.
The seq record is nice for short delays, but it doesn't handle long delays well (that need things like cancel, retrigger, progress bar).

> In case you eventually have a generic database solution, please consider
> posting it to https://github.com/epics-docs/database-examples, which is a
> good place to share such patterns.

Thanks for the pointers. Looks like a simple counter is already there.
...
How would "posting" something work there? Just open an new issue, come up with a pull request...?

Open a PR, yes. (A separate issue is not really necessary when adding.)

Cheers,
~Ralph


Replies:
Re: "duty cycle" records Gerrit Kühn via Tech-talk
References:
"duty cycle" records Gerrit Kühn via Tech-talk
Re: "duty cycle" records Ralph Lange via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk

Navigate by Date:
Prev: Re: "duty cycle" records Gerrit Kühn via Tech-talk
Next: Re: "duty cycle" records Gerrit Kühn 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  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: "duty cycle" records Gerrit Kühn via Tech-talk
Next: Re: "duty cycle" records Gerrit Kühn 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  2019  2020  2021  2022  <20232024 
ANJ, 22 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·