EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  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  1998  1999  <20002001  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: Data Fanouts
From: Mark Rivers <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Date: Fri, 21 Jan 2000 13:34:17 -0600
> The Data Fanout record is "similar" to the Fanout. Where as the Fanout record
> only supports control links (i.e. no data is passed), the Data Fanout propagates
> control AND data. A Data Fanout record supports eight output links. Can the Data
> Fanout record also be chained, like the Fanout? If so, could someone explain
> how? I have tried every permutation I can thank of, linking various types of
> records with the Data Fanout, to no avail.

I simply connect the forward link of the first Data Fanout to the .PROC field
of the second Data Fanout:

grecord(ddfanout,"$(P)ReadAll") {
        field(SCAN,"5 second")
        field(DISV,"0")
        field(SDIS,"$(P)Acquiring NPP NMS")
        field(VAL, "1")
        field(OUTA,"$(P)mca1.READ  PP MS")
        field(OUTB,"$(P)mca2.READ  PP MS")
        field(OUTC,"$(P)mca3.READ  PP MS")
        field(OUTD,"$(P)mca4.READ  PP MS")
        field(OUTE,"$(P)mca5.READ  PP MS")
        field(OUTF,"$(P)mca6.READ  PP MS")
        field(OUTG,"$(P)mca7.READ  PP MS")
        field(OUTH,"$(P)mca8.READ  PP MS")
        field(FLNK,"$(P)ReadAll1.PROC")
}
grecord(ddfanout,"$(P)ReadAll1") {
        field(VAL, "1")
        field(OUTA,"$(P)mca9.READ  PP MS")
        field(OUTB,"$(P)mca10.READ  PP MS")
        field(OUTC,"$(P)mca11.READ  PP MS")
        field(OUTD,"$(P)mca12.READ  PP MS")
        field(OUTE,"$(P)mca13.READ  PP MS")
}

Note that I am using the "ddfanout" record rather than the "dfanout".  The
"dfanout" documentation in the Record Reference Manual claims that its data
output is a double.  However, this is not true, it is actually a long.  I
needed to fan out a double, so I wrote a new record, ddfanout, which simply
has a double datatype rather than a long.

Mark Rivers



Replies:
Re: Data Fanouts Russell Page

Navigate by Date:
Prev: Re: Data Fanouts Maren Purves
Next: Re: Data Fanouts Russell Page
Index: 1994  1995  1996  1997  1998  1999  <20002001  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: Data Fanouts Maren Purves
Next: Re: Data Fanouts Russell Page
Index: 1994  1995  1996  1997  1998  1999  <20002001  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 ·