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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Setting an array to zero length |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Kay Kasemir <kasemirk at ornl.gov> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Wed, 8 Apr 2020 19:29:01 +0000 |
I expected the PVA protocol to be able to handle zero-length arrays, thanks for confirming that. My main question is what happens if QSRV tries to put one into a waveform record or other array field, since it’s calling the IOC to actually write the value and
length. From a brief look at some parts of the IOC code it might work, but I would want someone to try it to be sure. Make sure the record already has at least one element in it before testing that...
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|