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 17:22:12 -0700
Murali,

Here is the error.  Please debug and fix if you can.

Thanks,

Mike

#1 of 1:
Channel name: "J60"
  Unexpanded (assigned) name: "{pv}"
  Variable name: "VAL"
    address = 2716111720 = 0xa1e49368
    type = int
    count = 1
  Value = 0
  Monitor flag = 1
    Monitored
  Assigned
  Connected
  Get not completed or no get issued
  Put not completed or no put issued
  Status = 0
  Severity = 0
  Message =
  Time stamp = <undefined>
Next? (+/- skip count)

sioc-sys0-ss00>
[detached]
Connection to lcls-dev2 closed.
lcls-zelazny bash:/nfs/slac/g/lcls/epics/ioc/data/sioc-sys0-ss00>caget J60
J60                            17
lcls-zelazny bash:/nfs/slac/g/lcls/epics/ioc/data/sioc-sys0-ss00>     
________________________________________
From: [email protected] [[email protected]] On Behalf Of Zelazny, Michael Stanley [[email protected]]
Sent: Monday, September 26, 2011 3:02 PM
To: [email protected]; Shankar, Murali; Zhou, Jingchen; Williams Jr., Ernest L.
Subject: RE: Sequence monitor not getting callback

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
References:
Sequence monitor not getting callback Zelazny, Michael Stanley
Re: Sequence monitor not getting callback Benjamin Franksen
RE: Sequence monitor not getting callback Zelazny, Michael Stanley

Navigate by Date:
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 
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 ·