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  <20132014  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  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Use element of waveform as input to ai record
From: "Mooney, Tim M." <[email protected]>
To: Phillip Sorensen <[email protected]>, TechTalk EPICS <[email protected]>
Date: Mon, 9 Sep 2013 21:33:40 +0000
Hi Phil,

I think you can do this with the subarray record, taking advantage of the fact that the scalar value
of an array is the value of its first element.  I haven't tried this, because I would in any case do it
with an acalcout record.  To write element 23 of myArray.VAL to myScalar.VAL, whenever myArray
is posted, I would do this:

acalc.INAA = "myArray.VAL CP"
acalc.CALC = "aa[23,23]"
acalc.OUT = "myScalar.VAL PP"

Tim
________________________________________
From: [email protected] [[email protected]] on behalf of Phillip Sorensen [[email protected]]
Sent: Monday, September 09, 2013 4:16 PM
To: TechTalk EPICS
Subject: Use element of waveform as input to ai record

Hello all,

Sorry if this is obvious thing I have missed, but I am not finding any
obvious way to do what I am trying.

I would like the value of an ai record to be set to the value of an
element in a waveform, and update when the waveform up dates.

Thanks,

Phil Sorensen
CHESS




Replies:
RE: Use element of waveform as input to ai record Emmanuel Mayssat
References:
Use element of waveform as input to ai record Phillip Sorensen

Navigate by Date:
Prev: Re: Use element of waveform as input to ai record Paul Sichta
Next: RE: Use element of waveform as input to ai record Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Use element of waveform as input to ai record Paul Sichta
Next: RE: Use element of waveform as input to ai record Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·