Mark:
Your suggestions were helpful. I made the link from FLNK to PROC, but that by
itself was not enough. I also tried adding a link from OUTx to the VAL of the
next Dfanout and that got me closer.
The final solution (for a total of 3 fanouts) was the FLNK to PROC link (1 -->
2, 2 --> 3) AND making the DOL field in all three Dfanouts the same. Note that
for all three Dfanouts, the OMSL field was set to closed loop. Also, since I
didn't need to waste an OUTx on data propagation, I now had eight OUTx on each
fan. For my purposes, this meant I only needed two fanouts.
Mark Rivers wrote:
>
> > 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 begin:vcard
adr;dom:;;P.O. Box 846;Middleton;MA;01949;
n:Page;Russell
x-mozilla-html:FALSE
org:MIT -- Bates Linear Accelerator Center
version:2.1
email;internet:[email protected]
title:SW Engineer / Controls & Instrumentation
tel;fax:(617) 253-9799
tel;home:(978) 682-1964
tel;work:(617) 253-9585
x-mozilla-cpt:;0
fn:Page, Russell
end:vcard
- References:
- RE: Data Fanouts Mark Rivers
- Navigate by Date:
- Prev:
RE: Data Fanouts Mark Rivers
- Next:
Re: Python/CA Noboru Yamamoto
- 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 Mark Rivers
- Next:
Re: Python/CA Noboru Yamamoto
- 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
|