EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: record linking question
From: John Sinclair <[email protected]>
To: Tech-talk <[email protected]>
Date: Tue, 12 May 2009 18:52:44 -0400
The following is an attempt to control two slave pvs by a master pv via a dfanout record.

The desired behavior is that wiggling masterC should cause both slave1C and slave2C to follow.

record(ao, "masterC") {
  field(DTYP, "SoftChannel")
  field(OUT,  "dfout PP")
  field(SCAN, "Passive")
}

record(dfanout,"dfout") {
  field(SCAN, "Passive")
  field(OUTA, "slave1C PP")
  field(OUTB, "slave2C PP")
}

record(ao,"slave1C") {
  field(SCAN,"Passive")
  field(DTYP,"EtherIP")
  field(OUT, "@cpu epics_outputs[0]")
}

record(ao,"slave2C") {
  field(SCAN,"Passive")
  field(DTYP,"EtherIP")
  field(OUT, "@cpu epics_outputs[1]")
}

---------------------------------

If I create a script as follows:

caput -t masterC 1
caput -t masterC 2

When executed, the result is that sometimes it works (i.e. slave1C and slave2C have the final value 2) and sometimes it does not (slave1C and slave2C have the final value 1).

Is the record linking in the above example flawed? If so, is there a way to make this reliable?

TIA,
John Sinclair

Navigate by Date:
Prev: Re: MEDM 3.1.4 + extensionsTop Bertrand H.J. Biritz
Next: record linking question John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: XAL Workshop Tom Pelaia
Next: record linking question John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·