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  2020  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Questions about arrays [SEC=UNOFFICIAL]
From: "STARRITT, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
To: "EPICS Tech Talk (tech-talk at aps.anl.gov)" <tech-talk at aps.anl.gov>, "Wang, Andrew" <wang126 at llnl.gov>
Date: Mon, 12 Apr 2021 02:27:52 +0000

 Hi Andrew,

 

For question 2, concatenation, one option is the concat record. The source code and some documentation are available here:


https://github.com/AustralianSynchrotron/concat-record

 

Regards

Andrew


PS Sorry about the late reply - some out-going email issue here.




From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Wang, Andrew via Tech-talk
Sent: Tuesday, 30 March 2021 2:56 PM
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Questions about arrays

 

CAUTION, EXTERNAL EMAIL: This message has come from a source outside of ANSTO. Do not take action, click links or open attachments unless you recognise and trust the source of this email and know the content is safe. Please report suspicious emails to servicedesk at ansto.gov.au as an attachment.


 

All,

 

I have two questions pertaining to the array records in EPICS 3.15. 

 

  1. Suppose I have an analog input array or waveform record of size 5 that contains the values 1, 2, 3, 4, 5. Suppose I want to replace with the fourth element. Based upon what I've read, it doesn't seem like subArray is a viable choice. I've also tried to use caput but to no avail. Any recommendations other than using aSub?
  2. Suppose I have eight individual analog input records and I want to "concatenate their values" and store the result into an analog input array record. I'm thinking about using either aCalcout or an aub routine. Are those valid options and if not, what are alternative options I should explore?

 

Thank you!

 

Andy


References:
Questions about arrays Wang, Andrew via Tech-talk

Navigate by Date:
Prev: Re: streamdevice error messages Hu, Yong via Tech-talk
Next: Re: streamdevice error messages Michael Davidsaver 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Questions about arrays Ben Franksen via Tech-talk
Next: Asyn Stopping Transfer Short Iain Marcuson 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  <20212022  2023  2024 
ANJ, 12 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·