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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event
From: Utzel Nadine <[email protected]>
To: "Allison, Stephanie" <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 4 Jul 2011 09:11:02 +0200
Hi Stephanie,

Many thanks! According to your recommendation, I have added some delay between each state machine run and I cannot reproduce my problem for now. For your information, it was not the same sequence, but many different sequences on the same SoftIOC. And the problem appeared most of the time on the last ones.

I will also test the candidate release as proposed by Ben.

Cheers,
Nadine

-----Original Message-----
From: Allison, Stephanie [mailto:[email protected]] 
Sent: 01 July 2011 23:23
To: Utzel Nadine; [email protected]
Subject: RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event

Hi Nadine,

Do you activate more than a few programs using the same sequence on one soft IOC?  I had a similar problem last year when moving some state programs from an RTEMS IOC to a linux IOC and found that putting a delay between activations helped:

...
seq(&psControl,"ps=GTL-ALPHA,limit=Des")
epicsThreadSleep(1)
seq(&psControl,"ps=GTL-Q1F,limit=Des")
epicsThreadSleep(1)
seq(&psControl,"ps=GTL-Q2D,limit=Des")
...

I never got a chance to debug further.  Probably something specific to my set up but your symptoms are the same.

Stephanie Allison

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Utzel Nadine
> Sent: Thursday, June 30, 2011 5:49 AM
> To: [email protected]
> Subject: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs 
> receive their first monitor event
> 
> Randomly in some of my state programs, I notice that not all the 
> monitored PVs receive a first monitor event:
> 
> 
> 
> numMonitoredChans 10 firstMonitorCount 9 assignCount 16 
> firstConnectCount 16
> 
> numMonitoredChans 20 firstMonitorCount 19 assignCount 26 
> firstConnectCount 26
> 
> 
> 
> As a consequence, with the option +c, the state machine stays in its 
> initial state, or with the option -c, it waits for an event flag that is never sent.
> 
> 
> 
> Thanks for your help,
> 
> Nadine



References:
SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Utzel Nadine
RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Allison, Stephanie

Navigate by Date:
Prev: Re: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Ben Franksen
Next: RE: problem with ip330-2-6 (A/D converter board) scanmode functionality to switch modes at runtime peter.leicester
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Ben Franksen
Next: EPICS Soft IOC hardware switch Miroslav Mihaylov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·