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: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
To: Žiga Oven <ziga.oven at cosylab.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 23 Nov 2023 11:13:12 +0100
Am Thu, 23 Nov 2023 09:42:49 +0000
schrieb Žiga Oven <ziga.oven at cosylab.com>:

Hello Žiga,

> My suggestion would still be to have a dedicated record that holds the
> duration value (and is appropriately named and thus better documented
> than just a field in the record) and maybe have calcout record read the
> value and push it to the counter record when the reset happens. 

Great idea, I can sinply remove the OUT fields from the AO records and
use one of the RESET records for getting things started (setting PINI
there). This avoid all problems.

> With this you can also limit the user to enter the length of the
> countdown to the allowed range only, by specifying the DRVH and DRVL
> values of the AO record. 

Yes, that is certainly a benefit. I had tried that before, but I couldn't
get changes in the timing values propagated only on reset time. But with
the small change above this works just fine now. Thanks for hinting me
into the right direction!


cu
  Gerrit

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: "duty cycle" records Rolf Keitel 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
Re: "duty cycle" records Ralph Lange via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk
Re: "duty cycle" records Mark Rivers via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk
Re: "duty cycle" records Rolf Keitel via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk
RE: "duty cycle" records Žiga Oven via Tech-talk
Re: "duty cycle" records Gerrit Kühn via Tech-talk
RE: "duty cycle" records Žiga Oven via Tech-talk

Navigate by Date:
Prev: RE: "duty cycle" records Žiga Oven via Tech-talk
Next: Re: "duty cycle" records Rolf Keitel 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 Žiga Oven via Tech-talk
Next: Re: "duty cycle" records Rolf Keitel 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, 23 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·