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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: write to a single element of an array field
From: Benjamin Franksen via Tech-talk <tech-talk at aps.anl.gov>
To: "Mooney, Tim M." <mooney at anl.gov>, EPICS Techtalk <tech-talk at aps.anl.gov>
Date: Fri, 13 Mar 2020 21:29:11 +0100
Am 06.03.20 um 19:58 schrieb Mooney, Tim M.:
> Well, since no solution has been proposed, I'll give you my awkward
> and inefficient solution that will, nevertheless, work in a pinch.
> The following calc expression will make an acalcout record replace
> the element of array AA, whose index is in the A field, with the
> value in the B field:
> 
> cat(cat(aa[0,a-1],b),aa[a+1,-1])

Fascinating!

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


References:
Re: write to a single element of an array field Mooney, Tim M. via Tech-talk

Navigate by Date:
Prev: Re: Real-time IOC and systemd Benjamin Franksen via Tech-talk
Next: Re: write to a single element of an array field Ben Franksen 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: write to a single element of an array field Mooney, Tim M. via Tech-talk
Next: unable to parse json response when starting Eiger IOC Jong Woo Kim 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  <20202021  2022  2023  2024 
ANJ, 13 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·