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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: fanout is not working |
From: | "Goetze, Kurt via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Tran, Phi Dung" <ptran1 at bnl.gov> |
Cc: | Tech-talk <tech-talk at aps.anl.gov> |
Date: | Tue, 31 Oct 2023 17:47:44 +0000 |
Hi Phi, You’re close, but I don’t think you can poke the motor record’s value into the dfanout that way. One way you could do it is by processing the motor record, FLNK the motor record to the dfanout, and have the dfanout’s .DOL field set to the motor record’s .VAL field (NPP). That may not be the exact solution but that’s the direction
I would head. Kurt From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Tran, Phi Dung via Tech-talk Hi, I have created a virtual motor and can successfully use the `caput` and `caget` commands to set and read its value, respectively. However, my `dfanout` record is not moving the
motors with relative motions as expected. I have confirmed that the motors respond correctly when I use `caput` to directly interact with the fields in `dfanout`. record(motor, "$(P)"){
field(DTYP, "Soft Channel") field(DESC, "Move Y,ib,ob,ds mtrs") # Where to write the setpoint to # Output to upstream, inboard and outboard motors field(OUT, "$(P)-F PP MS") field(PREC,"7") ....} #Move Y motors ib,ob,ds in same direction
record(dfanout, "$(P)-F") { field(DESC, "move ib,ob,ds MTR") field(OUTA, "$(OUTBOARDMTR).TWF PP MS") field(OUTB, "$(INBOARDMTR).TWF PP MS") field(OUTC, "$(DOWNSTREAMMTR).TWF PP MS") field(PREC, "7") Please advice. Thank you, Phi |