> 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
<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: Data Fanouts Maren Purves
- Next:
Re: Data Fanouts Russell Page
- Index:
1994
1995
1996
1997
1998
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
|