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  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 
<== Date ==> <== Thread ==>

Subject: Accessing Elements of a Waveform Record
From: Christopher Herrmann via Tech-talk <tech-talk@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Tue, 2 Jul 2019 16:43:58 -0400
Hello,

Currently, I have a waveform record that holds 10 different values.

I was wondering if there was any way to reference an individual element 
in that waveform record. My best solution so far is to use the "aCalcOut" 
record and have it process, then output, a single hard coded value. 
Something like this for the "calc" field:

field(CALC, "AA[0,0]") or field(CALC, "AA[1,1]")

While this is fine for a few elements, I may need to be able to access up 
to 30 different values in a single waveform record individually.

Are there any clever or streamline ways to go about this?

Thank you,

~ Chris


Replies:
Re: Accessing Elements of a Waveform Record Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Fwd: cross-compiling (kind of) with Buildroot Pierrick M Hanlet via Tech-talk
Next: Re: Accessing Elements of a Waveform Record Johnson, Andrew N. 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 
Navigate by Thread:
Prev: EtherIP for P3-550 DiMonte, Nicholas via Tech-talk
Next: Re: Accessing Elements of a Waveform Record Johnson, Andrew N. 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 
ANJ, 02 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·