Experimental Physics and Industrial Control System
|
Unfortunately in version 2.2.9 at least, the current element count value that gets provided by the CA event handler arg's
isn't actually saved anywhere by the sequencer code. Looking at the related code I suspect this wouldn't be trivial to fix because when it was written the CA protocol didn't tell
clients what the active length of the array was.
- Andrew
Complexity comes for free, Simplicity you have to work for.
From:
Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Date: Friday, September 29, 2023 at 7:52 AM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Sequencer handling of waveforms with dynamic size
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.
So the pvCount() is just returning the number of elements from the CA metadata? I see.
|
- References:
- Sequencer handling of waveforms with dynamic size Jure Varlec via Tech-talk
- Re: Sequencer handling of waveforms with dynamic size Ralph Lange via Tech-talk
- Re: Sequencer handling of waveforms with dynamic size Ralph Lange via Tech-talk
- Navigate by Date:
- Prev:
Re: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget Kasemir, Kay via Tech-talk
- Next:
Re: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget Lucas Russo 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: Sequencer handling of waveforms with dynamic size Ralph Lange via Tech-talk
- Next:
EPICS Support for Microfocus X-ray tubes from X-RAY WorX Sintschuk, Michael 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, 29 Sep 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|