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: Sequence monitor not getting callback
From: "Zelazny, Michael Stanley" <[email protected]>
To: "[email protected]" <[email protected]>, "Shankar, Murali" <[email protected]>, "Zhou, Jingchen" <[email protected]>, "Williams Jr., Ernest L." <[email protected]>
Date: Mon, 26 Sep 2011 15:02:59 -0700
Ben, Murali,

Any idea what the "numMonitoredChans 1 firstMonitorCount 0 assignCount 1 firstConnectCount 1" message is trying to tell me?

[snip]
# Set ioc console prompt
epicsEnvSet("IOCSH_PS1","sioc-sys0-ss00>")
# Post Startup Complete, the IRMIS crawler appreciates your cooperation.
sioc-sys0-ss00>numMonitoredChans 1 firstMonitorCount 0 assignCount 1 firstConnectCount 1

sioc-sys0-ss00>seqcar
Total programs=2600, channels=2600, connected=2600, disconnected=0
sioc-sys0-ss00>numMonitoredChans 1 firstMonitorCount 0 assignCount 1 firstConnectCount 1
numMonitoredChans 1 firstMonitorCount 0 assignCount 1 firstConnectCount 1

sioc-sys0-ss00>
sioc-sys0-ss00>
sioc-sys0-ss00>
sioc-sys0-ss00>   
[snip]

Background:

I'm trying to reproduce the "sequence not getting its monitor callback" problem.  

I have 2600 sequences running:

lcls-zelazny bash:~/epics/ioc/SeqSupport/SeqSupportApp/src>cat SeqChecker.st
program SeqChecker

%%#include <string.h>      /* sprintf prototype */
%%#include <errlog.h>      /* errlogPrintf */

option +c;  /* All connections must be made before execution begins */
option +d;  /* Turn on runtime debug messages */
option +r;  /* All declarations private to this sequence */
option -a;  /* All pvGets must be synchronous */

int VAL;
assign VAL to "{pv}";
monitor VAL;

ss SeqCheckerss {

  state checking {

    when (0 == VAL) {

      errlogPrintf("%s failed to get its monitor.\n");
      epicsThreadSleep(60);

      } state checking

    }

}
lcls-zelazny bash:~/epics/ioc/SeqSupport/SeqSupportApp/src>   

The pv's are:

lcls-zelazny bash:~/epics/ioc/SeqSupport/SeqSupportApp/Db>cat SeqSupport.vdb
#! Generated by VisualDCT v2.6
#! DBDSTART
#! DBD("../../dbd/SeqSupport.dbd")
#! DBDEND



record(calc, "${pv}") {
  field(SCAN, "10 second")
  field(PINI, "YES")
  field(VAL, "1")
  field(CALC, "A + 1")
  field(INPA, "${pv}")
}

#! Further lines contain data used by VisualDCT
#! View(2000,2115,1.0)
#! Record("${pv}",2300,2254,0,1,"${pv}")
#! Field("${pv}.VAL",16777215,0,"${pv}.VAL")
#! Field("${pv}.INPA",16777215,0,"${pv}.INPA")
#! Link("${pv}.INPA","${pv}.VAL")
lcls-zelazny bash:~/epics/ioc/SeqSupport/SeqSupportApp/Db>      



Replies:
RE: Sequence monitor not getting callback Zelazny, Michael Stanley
Re: Sequence monitor not getting callback Benjamin Franksen
References:
Sequence monitor not getting callback Zelazny, Michael Stanley
Re: Sequence monitor not getting callback Benjamin Franksen

Navigate by Date:
Prev: Re: Combing Two State Sets into One J. Lewis Muir
Next: RE: Sequence monitor not getting callback Zelazny, Michael Stanley
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: Sequence monitor not getting callback Zelazny, Michael Stanley
Next: RE: Sequence monitor not getting callback Zelazny, Michael Stanley
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 ·