EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: help ? SNL hangs, EDD/DM 'byte' widget bugs
From: [email protected] (Ned Arnold)
To: [email protected]
Cc: [email protected]
Date: Wed, 1 Apr 1998 09:25:55 -0600
> Bonjour,
> 
> I'm starting using EPICS and I've written a simple SNL code to get 
> a 32 DOUT board (XVME220) flashing in sequence its different channels
> (great stuff!)
> 
> I understand using a periodic scan might be more appropriate,
> but I'm still a bit puzzled with what might go wrong here:
> basically the whole IOC - after a seemingly random number of loop,
> hangs and there's no other way but a nice clean reboot.
> Before that all seems to work fine.
> Your input would be greatly appreciated.
 

matthieu,

  I didn't see anything wrong with your sequence program. What version of
  EPICS ?, on what CPU ?  on what vxWorks ?  Just how does the ioc "hang" ?
  Can you still interact with the vxWorks shell ? Is there a particular
  task consuming all the CPU  (use spy) ? 
  
  
  By the way, here is a three record database that does the same thing.
  
  
  	Ned
  


record(calcout,"counter") {
        field(SCAN,".1 second")
        field(CALC,"A<31?A+1:0")
        field(INPA,"counter.VAL NPP NMS")
}
record(calcout,"low_out_set") {
        field(CALC,"A<=16")
        field(INPA,"counter.VAL CP NMS")
        field(OUT,"small:low_out.VAL PP MS")
        field(OOPT,"When Non-zero")
        field(DOPT,"Use OCAL")
        field(OCAL,"A%16")
}
record(calcout,"hi_out_set") {
        field(SCAN,".1 second")
        field(CALC,"(A>=16)||(A=0)")
        field(INPA,"counter.VAL CP NMS")
        field(OUT,"small:hi_out.VAL PP MS")
        field(OOPT,"When Non-zero")
        field(DOPT,"Use OCAL")
        field(OCAL,"A%16")
}

Navigate by Date:
Prev: May 98 genda Bob Dalesio
Next: Re: CA Server and EPICS Bill Lavender
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: help ? SNL hangs, EDD/DM 'byte' widget bugs Matthieu Bec
Next: May 98 genda Bob Dalesio
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·