EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Design Question
From: Mathias Steiner <[email protected]>
To: [email protected]
Date: Tue, 27 Dec 2005 15:44:37 -0500
Learned Friends,

I have a question regarding software design: How does everyone solve the problem of sequence in EPICS?

I ran afoul of this some years ago, when I wrote code to set a group of power supplies along a beamline; FIRST, the EPICS channel representing magnetic rigidity would be set, THEN the magnets were told to go set themselves to that rigidity.

Needless to say, half the magnets started setting themselves to the previous rigidity, because in the world of ethernet, there is no such thing as "do-this-then-do-that".

I found a workaround that is effective but inelegant, and I was wondering if there was an accepted way of handling this issue.

Thanks in advance,
  Mathias

Mathias Steiner
NSCL/Cyclotron Lab
Michigan State University


Replies:
Re: Design Question Tim Mooney

Navigate by Date:
Prev: Re: building EPICSR3.14.8.1 on MacOSX 10.3/10.4 Noboru Yamamoto
Next: Re: Design Question Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: building EPICSR3.14.8.1 on MacOSX 10.3/10.4 Noboru Yamamoto
Next: Re: Design Question Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024