EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Transform Record
From: Kurt Goetze <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: Tim Mooney <[email protected]>, TECHTALK <[email protected]>
Date: Fri, 08 Dec 2006 09:33:16 -0600
Hi Dirk,

Looks like an infinite loop. DZ:WIDTH processes DZ:TRANS, which then
process DZ:WIDTH again via the OUTC field. This is the case for the other
ao's, too. There is a slits database in the synApps package that should do what
you need, or you could use it as a starting point and modify it as needed.


Kurt Goetze
APS Beamline Controls

Dirk Zimoch wrote:
Hi Tim,

I tried to use the transform record, but somehow it does not work as I expect. When I change one record, the others don't update. Where is my mistake?

Dirk

record (ao, "DZ:WIDTH")
{
    field (FLNK, "DZ:TRANS")
}

record (ao, "DZ:CENTER")
{
    field (FLNK, "DZ:TRANS")
}

record (ao, "DZ:LEFT")
{
    field (FLNK, "DZ:TRANS")
}

record (ao, "DZ:RIGHT")
{
    field (FLNK, "DZ:TRANS")
}

record (transform, "DZ:TRANS")
{
    field (INPA, "DZ:LEFT")
    field (CLCA, "C-D/2")
    field (OUTA, "DZ:LEFT PP")
    field (INPB, "DZ:RIGHT")
    field (CLCB, "C+D/2")
    field (OUTB, "DZ:RIGHT PP")
    field (INPC, "DZ:WIDTH")
    field (CLCC, "(A+B)/2")
    field (OUTC, "DZ:WIDTH PP")
    field (INPD, "DZ:CENTER")
    field (CLCD, "B-A")
    field (OUTD, "DZ:CENTER PP")
}



References:
Transform Record Dirk Zimoch

Navigate by Date:
Prev: Transform Record Dirk Zimoch
Next: Re: Transform Record Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Transform Record Dirk Zimoch
Next: Re: Transform Record Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024