EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Initial value readback from hardware into output records
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Fri, 10 Dec 2004 12:49:26 +0100
On Thursday 09 December 2004 20:20, Russell  Redman wrote:
> A really
> thorny problem arises for output records whose values are read back
> from the hardware in groups.  Status words are often of this kind,
> and I have several examples in my IOC of CAN messages that return
> four real values as 12-bit integers for the last-set values of a
> collection of DACs.  This is hard enough to deal with using ai 
> records in ³I/O Intr² mode, where the logic in simulation mode is
> utterly, utterly different from what happens in hardware mode.  It
> will be much worse for ao records during iocInit, which will not be
> configures for SCAN=²I/O Intr²..  I do not have a solution for this,
> except to disable the read-during-initialization for such records.

Some time ago I wrote a hardware record (called "hwLowcal", "lowcal' 
being our CAN bus protocol), and a special device support for the 
'real' records (ai,ao,bi, bo,...) so that their INP/OUT links point to 
the 8 input or output fields of the hardware records (this is called 
"devHwClient"). These INP and OUT links are asynchronous and 
bidirectional and thus support (asynchronous) warm reboot, I/O Intr 
scanning, grouped variables (8 bytes or 4 shorts or ...), etc. (Not 
simulation mode, although this could be added). The implementation is 
somewhat dirty, because it depends on some EPICS (3.13) internals. All 
this stuff is (an optional) part of our MultiCAN package.

Ben


References:
Re: Initial value readback from hardware into output records Russell Redman

Navigate by Date:
Prev: Re: EPICS meeting in ASIA, Dec.8-10,2004 : Web page update Kazuro FURUKAWA
Next: RE: Initial value readback from hardware into output records Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Initial value readback from hardware into output records Steven . Banks
Next: RE: Initial value readback from hardware into output records Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·