EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  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  <19971998  1999  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: Bad CALC record kills IOC
From: [email protected] (Bob Dalesio)
To: [email protected]
Date: Thu, 3 Jul 97 13:47:36 MDT
Ron Chestnut at SLAC reported that the following record caused the
scan task to crash. I assume that the watchdog restarted the task and
left this record locked - but I don't know. The changes he made to fix
it were worrisome - that is - they did not seem significant. I
will take a look at this - unless someone beats me to it.
	Bob
----- Begin Included Message -----

>From [email protected] Wed Jul  2 18:54:38 1997
Date: Wed, 02 Jul 1997 17:54:34 -0700 (PDT)
From: Ron Chestnut <[email protected]>
Subject: Re: Bad CALC record kills IOC
To: [email protected]
X-Envelope-To: [email protected]
X-Vms-To: IN%"[email protected]"
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Length: 527

Ok, I fould the original bad and current good stuff:

BAD:

grecord(calc,"$(Ring):BXBCM:TEMPA") {
        field(SCAN,"10 second")
        field(CALC,"( (A&C) >> 3 ) - B")
        field(INPA,"$(Ring):BXBCM:TEMP.VAL  PP MS")
        field(INPB,"273.")
        field(INPC,"65535")
}

GOOD:

grecord(calc,"$(Ring):BXBCM:TEMPA") {
        field(SCAN,"10 second")
        field(CALC,"((A&C)>>D)-B")
        field(INPA,"$(Ring):BXBCM:TEMP.VAL  PP MS")
        field(INPB,"273.")
        field(INPC,"65535")
        field(INPD,"3")
}



----- End Included Message -----


Replies:
Re: Bad CALC record kills IOC Andrew Johnson

Navigate by Date:
Prev: Building extensions with beta10 Bakul Banerjee
Next: Re: Bad CALC record kills IOC Rozelle Wright
Index: 1994  1995  1996  <19971998  1999  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: Re: Bad CALC record kills IOC Marty Kraimer
Next: Re: Bad CALC record kills IOC Andrew Johnson
Index: 1994  1995  1996  <19971998  1999  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 ·