Experimental Physics and Industrial Control System
|
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])
Tim Mooney (mooney at anl.gov) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
From: Tech-talk on behalf of Benjamin Franksen via Tech-talk
Sent: Thursday, March 5, 2020 12:42 PM
To: EPICS Techtalk
Subject: write to a single element of an array field
Is there an EPICS version where I can write (via link, DB or CA) a
scalar to one specific element (i.e. index) of an array field? I am not
as up to date on EPICS development as I used to be, so perhaps this has
been added and I missed it, perhaps in 7.x (hope dies last...).
Or has anyone written an "inverse subArray" record type I could use to
do that?
Cheers
Ben
|
- Replies:
- Re: write to a single element of an array field Benjamin Franksen via Tech-talk
- Navigate by Date:
- Prev:
AW: pco Camera USB and IEEE interface Sintschuk, Michael via Tech-talk
- Next:
New ADCompVision release, ADUVC UVC camera driver Wlodek, Jakub 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: write to a single element of an array field Di Wang via Tech-talk
- Next:
Re: write to a single element of an array field Benjamin 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
<2020>
2021
2022
2023
2024
|
ANJ, 13 Mar 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|