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

Subject: RE: calc VAL field not updating from bi VAL field
From: Mark Rivers <[email protected]>
To: "'Andrew Johnson'" <[email protected]>, "J. Lewis Muir" <[email protected]>, Ronald Sluiter <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 31 May 2012 14:08:05 +0000
Hi Andrew,

Thanks for the information.

I downloaded and install the tar files for the patched cross-compilers from the links you sent.  I rebuilt base and synApps, and indeed it fixes the problem:

corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 0
Old : 13LAB:Unidig1Bi1.VAL           Low
New : 13LAB:Unidig1Bi1.VAL           Low
corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 1
Old : 13LAB:Unidig1Bi1.VAL           Low
New : 13LAB:Unidig1Bi1.VAL           High
corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 0
Old : 13LAB:Unidig1Bi1.VAL           High
New : 13LAB:Unidig1Bi1.VAL           Low
corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 1
Old : 13LAB:Unidig1Bi1.VAL           Low
New : 13LAB:Unidig1Bi1.VAL           High
corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 0
Old : 13LAB:Unidig1Bi1.VAL           High
New : 13LAB:Unidig1Bi1.VAL           Low
corvette:~/devel/CARS/iocBoot>caput 13LAB:Unidig1Bi1.VAL 1
Old : 13LAB:Unidig1Bi1.VAL           Low
New : 13LAB:Unidig1Bi1.VAL           High

corvette:tpmac/pmacApp/tsubSrc>camonitor 13LAB:ClcBacklightBi.VAL 13LAB:ClcBacklightBi.A
13LAB:ClcBacklightBi.VAL       2012-05-31 09:01:26.564453 0 LINK INVALID
13LAB:ClcBacklightBi.A         2012-05-31 09:01:26.564453 0 LINK INVALID
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:12.603933 0  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:12.603933 0  
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:14.770600 1  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:14.770600 1  
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:28.737266 0  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:28.737266 0  
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:29.703933 1  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:29.703933 1  
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:30.903933 0  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:30.903933 0  
13LAB:ClcBacklightBi.VAL       2012-05-31 09:05:31.620599 1  
13LAB:ClcBacklightBi.A         2012-05-31 09:05:31.620599 1 

Thanks,
Mark



-----Original Message-----
From: Andrew Johnson [mailto:[email protected]] 
Sent: Wednesday, May 30, 2012 5:13 PM
To: J. Lewis Muir; Mark Rivers; Ronald Sluiter
Cc: [email protected]
Subject: Re: calc VAL field not updating from bi VAL field

Hi Lewis & Mark,

On 2012-05-30 J. Lewis Muir wrote:
> 
> $ /opt/vxworks-tornado-2.2.2/ppc/host/x86-linux/bin/ccppc -v
> Reading specs from
> /opt/vxworks-tornado-2.2.2/ppc/host/x86-linux/bin/../lib/gcc-lib/powerpc-wr
> s-vxworks/gcc-2.96/specs
> gcc version gcc-2.96 (2.96+) 19990621 AltiVec
> 
> (This is the compiler provided on APSshare at vw/tornado22-ppc.)

On 2012-05-30 Mark Rivers wrote:
> 
> corvette:CARS/CARSApp/src>/usr/local/vw/tornado22-ppc/host/x86-linux/bin/cc
> ppc -v Reading specs from
>  /usr/local/vw/tornado22-ppc/host/x86-linux/lib/gcc-lib/powerpc-wrs-vxworks
> /gcc-2.96/specs gcc version gcc-2.96 (2.96+) 19990621 AltiVec

Ok, you are both using a cross-compiler from Dave Thompson, which is missing a 
whole load of patches that are included in Wind River's official compiler.  I 
published a copy of the official Wind River compiler built for Linux a few 
months ago, which generates this output:

tux% /usr/local/vw/tornado22-ppc/host/x86-linux/bin/ccppc -v
Reading specs from /usr/local/vw/tornado22-ppc/host/x86-linux/bin/../lib/gcc-
lib/powerpc-wrs-vxworks/gcc-2.96/specs
gcc version gcc-2.96 (2.96+ MW/LM) 19990621 AltiVec VxWorks 5.5
30526 65115 79101 80797 83322 83686 84218 85823 85874 85973 86999 87279 87638 
87983 88306 88708 88966 89304 89539 90058 90104 90120 90270 90296 90648 90662 
90779 90928 91237 91632 92024 92072 92555 92917 93065 93471 93709 93891 94164 
94188 94505 94639 95014 96060 96130 96886 97572 98140 98595 98717 99246 99271 
99340 101118 101132 101530 101810 102460 102989 104204 104359 105970 106099 
106462 106968 107675 107935 108030 108510 108992 108993 108995 108997 109801 
109813 110402 110510 110527 110534 110843 112382 113333 114013 114931 115074 
115306 115482 115908 115962 116425 117328 117558 117933 119507 120192 120668 
cq52614 cq59917 cq64767 cq69164 cq70080 cq70266 cq70375 cq71476 cq82172 
cq85289 cq87444 cq96321 cq96656 cq111894 cq116734 cq117781 cq117905 cq120110 
cq120176 cq121702 cq126361 cq127426 cq128717 cq129941 cq131012 cq131270 
cq152786 cq165227 cq192740 cq208150 cq207235 cq226819 cq235846 cq236500 
cq294696

Ron, please update the tornado22-ppc/host/x86-linux compiler in APSshare to my 
new one(s).  See the "Binary Downloads" section on the page
    http://www.aps.anl.gov/epics/base/tornado-linux.php

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte


References:
calc VAL field not updating from bi VAL field J. Lewis Muir
Re: calc VAL field not updating from bi VAL field Andrew Johnson
Re: calc VAL field not updating from bi VAL field J. Lewis Muir
Re: calc VAL field not updating from bi VAL field Andrew Johnson

Navigate by Date:
Prev: RE: [CSS] commas in TextUpdate Chen, Xihui
Next: Re: calc VAL field not updating from bi VAL field J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: calc VAL field not updating from bi VAL field Andrew Johnson
Next: Re: calc VAL field not updating from bi VAL field J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·