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  <20082009  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  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: subroutine, chaning links
From: Mathias Steiner <[email protected]>
To: [email protected]
Date: Fri, 30 May 2008 09:55:19 -0400
Learned Friends:

I am looking for ways to dynamically create and destroy beamlines by stringing together individual magnets. That's how we do it from inside a C program currently, and it works for what we do. Now I'd like to do it using EPICS records.

All would be well if it were possible to change links -- either .FLNK or .OUT -- from within a subroutine. I've tried a couple of things without success. Just pasting the channel name into the "value" field of the union does not, and probably should not, work.

Assigning a different value to a link by copying an input link doesn't work either:
psub->flnk = psub->inpb;


This isn't so clear to me, since they are both of type DBLINK. After all, I can "just" type the value into the .FLNK field of any channel using edm, and it'll work...

Does anyone have a suggestion? Or a comment?

Thanks in advance
-Mathias


Replies:
Re: subroutine, chaning links Ben Franksen

Navigate by Date:
Prev: Re: Fwd: question about ca arrays Matthieu Bec
Next: Re: subroutine, chaning links Ben Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Fwd: question about ca arrays Matthieu Bec
Next: Re: subroutine, chaning links Ben Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·