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: Sequencer handling of waveforms with dynamic size |
From: | Ralph Lange via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Fri, 29 Sep 2023 14:51:33 +0200 |
On Fri, 29 Sept 2023 at 13:53, Jure Varlec via Tech-talk <tech-talk at aps.anl.gov> wrote:
Encountering this issue, I'm having a feeling of deja vu, so this might have been discussed before. But I can't find anything.
I found that a sequencer variable assigned to a waveform doesn't seem to know its current size. The pvCount() function always returns the value of NELM (or the array size of the sequencer variable, if smaller), not NORD. Is there some way to obtain the current size of the waveform that I missed? I'm not too keen on creating a separate variable assigned to the NORD field because there's no guarantee that the two variables will be in sync.Isn't https://epics-sequencer.sourceforge.io/sequencer-2-2/Tutorial.html#process-variable-element-count what you're asking for?