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  2011  2012  <20132014  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  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: FW: Fatal seq_monitor: pvVarMonitorOff
From: "Janez Golob" <[email protected]>
To: "'EPICS Tech Talk'" <[email protected]>
Date: Wed, 9 Oct 2013 14:45:32 +0200

Hi Everyone,

 

When running a sequncer program on the vxWorks IOC I’ve noticed the following errors being reported:

 

sevr=fatal seq_monitor: pvVarMonitorOff(var setpoint_reached[5], pv MAGDIPL5: IS_SETPOINT_REACHED) failure:

sevr=fatal seq_monitor: pvVarMonitorOff(var setpoint_reached[6], pv MAGDIPL6: IS_SETPOINT_REACHED) failure:

 

Firstly I haven’t paid too much attention but later I’ve figured out that the channels do not recover anymore. As far as I can see the errors are reported for all the channels in the array and not only for one or a few of them (this well might be a coincidence).

 

While trying to isolate a problem I found out that the problem disappear if I call sleep function before entering the next state:

 

        state initialize

        {             

               when (pvConnectCount() == pvAssignCount())

               {

            pvGet(mag_count, SYNC);

            for (i = 0; i < mag_count; i++)

            {

               …

               

                epicsSnprintf(recordName, sizeof(recordName), "MAGDIPL%d:IS_SETPOINT_REACHED", i);

                pvAssign(setpoint_reached[i], recordName);

                pvMonitor(setpoint_reached[i]);

 

                …

            }

                   /*epicsThreadSleep(3.0);*/

               } state wait_start

              

               when (delay(10)) { } state initialize

        }

 

        state wait_start

        {             

               when (pvConnectCount() < pvAssignCount()) {} state initialize

 

               when (efTestAndClear(pws_start_flag)) {} state magnets_to_zero_amps

        }

       

I updated the sequncer version to the latest one 2.1.14 and I can reproduce this almost 100% reliably on the vxWorks IOC - in version 2.1.10 it happed less frequently. With sequencer version 2.1.10 I was able to reproduce this also on win-x86 platform but with the newer version not any more.

 

Has anybody else noticed the same problem?

 

Regards,

Janez

 

EPICS and other versions:

   EPICS 3.14.12

   vxWorks 6.8

   sequncer 2.1.14

 


Navigate by Date:
Prev: Re: how to issue a shell command from EPICS record ? Dirk Zimoch
Next: RE: PTP/MTP/libgphoto2 camera triggering + EPICS? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: PTP/MTP/libgphoto2 camera triggering + EPICS? Mark Rivers
Next: Re: FW: Fatal seq_monitor: pvVarMonitorOff Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·