EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: "Exploding" a waveform into individual values
From: Ron Chestnut <[email protected]>
Date: Wed, 02 Jun 1999 14:47:50 -0700 (PDT)
Hello All,

I think I've seen the answer to this, I may have even asked the question before.

I have a 10 element waveform (type float) from which I wish to extract each 
element into an individual AI.

I could code 10 individual subArray records, each mapped to another element, but 
a subroutine record seems easier. If my 10 element waveform VAL is linked to A 
of the subroutine record, is the code simply:

psub->b=psub->a[0]
psub->c=psub->a[1], etc.?

That seems much too easy, and "a" is not an array, right?

/Ron Chestnut


Navigate by Date:
Prev: generate dm screen from database catimossi
Next: Re: "Exploding" a waveform into individual values Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: generate dm screen from database catimossi
Next: Re: "Exploding" a waveform into individual values Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·