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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Waveform record missing fields
From: Andrew Johnson <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 10 Feb 2012 16:31:40 -0600
Hi Mark,

On 2012-02-10 Mark Rivers wrote:
> 
> Here is what is currently working:
>   RARM=1 Erase (set array to 0 and NORD=0) and start acquisition.  Register
>  for callbacks. RARM=2 Stop acquisition.  Cancel callback registration.
>   RARM=3 Start acquisition without erasing (don't clear array or modify
>  NORD).  Register for callbacks.
> 
>   BUSY=1 when acquiring, 0 when done.
> 
>   When acquisition completes because NORD=NELM issue callback request to
>  process record. That way even if the record it not periodically scanned it
>  will process when acquisition completes.
> 
> Here is what I would be able to do if we had the RATE and NINP fields:
>   Stop acquisition when NORD=NINP rather than NELM, so user can request
>  fewer time points when acquisition will automatically stop RATE would
>  control averaging of callback values, so if callbacks are coming at 1kHz
>  one could get a smoothed waveform with 0.1 second per point, etc.

It sounds to me like you should create a new "enhanced waveform" record type, 
which could be included with asyn and thus work with older versions of Base 
(no conditional build worries, etc.).  It would then be simple to add whatever 
fields you want.  I would also recommend converting the RARM functionality you 
describe above into a DBF_MENU field so users don't have to remember magic 
numbers.

HTH,

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham

References:
Waveform record missing fields Mark Rivers
Re: Waveform record missing fields Andrew Johnson
RE: Waveform record missing fields Mark Rivers

Navigate by Date:
Prev: RE: Waveform record missing fields Mark Rivers
Next: cothread time stamp problem Shen, Guobao
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Waveform record missing fields Mark Rivers
Next: cothread time stamp problem Shen, Guobao
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·