EPICS Home

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  <20192020  2021  2022  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: pvGet in Sequence does not work with incorrect size
From: Simon Reiter via Tech-talk <[email protected]>
To: Benjamin Franksen <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 02 Sep 2019 16:06:51 +0200
Hi Ben,

Since monitoring work back then, I could live with that.

But I am facing a new/similar problem right now. There seems to be a
problem also for monitored PVs. This time the array size is 262144.

Earlier pvGet() always resulted in a timeout. But now this happens only
for some modules. The sequence is running in parallel for 5 modules
right now. 2 of them are fine, 2 not. Sometime it changes after minor
(logging) changes in the code. So I already assumed some memory
problem, but I am not sure how to handle.

So I have to scenarios:
- pvGet run into timeout
- all entries of monitored PV are zero

What are the reasons, a pvGet runs into a timeout at all? I check in
the previous condition that the PV is connected.

Cheers,
Simon

PS: Currently running with EPICS 3.16.



On Wed, 2019-07-17 at 12:42 +0200, Benjamin Franksen wrote:
> Am 16.07.19 um 16:43 schrieb Simon Reiter via Tech-talk:
> > using the sequencer in v2.2 and EPICS 3.14:
> > 
> > The sequence does get a waveform, does a calculation and pushes an
> > array out to another waveform PV.
> > 
> > pvGet() is not working and runs in a timeout in case the size of
> > the
> > unsigned char array does not exactly fit the size of the waveform.
> > 
> > Instead, assigning and monitoring the PV in the beginning works
> > fine.
> > Is this on purpose? The monitoring of the is not necessary.
> 
> Hi Simon
> 
> This should not happen. I will try to reproduce your problem and add
> a
> test case. Dealing with arrays in EPICS is awfully hard, so I guess
> it's
> quite possible that this is a bug in the Sequencer.
> 
> Cheers
> Ben
> 


Replies:
Re: pvGet in Sequence does not work with incorrect size Simon Reiter via Tech-talk
References:
pvGet in Sequence does not work with incorrect size Simon Reiter via Tech-talk
Re: pvGet in Sequence does not work with incorrect size Benjamin Franksen via Tech-talk

Navigate by Date:
Prev: Re: EPICS 'isegHAL' module Florian Feldbauer via Tech-talk
Next: Re: EPICS 'isegHAL' module Bruno Martins 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: pvGet in Sequence does not work with incorrect size Benjamin Franksen via Tech-talk
Next: Re: pvGet in Sequence does not work with incorrect size Simon Reiter 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  <20192020  2021  2022  2023  2024