![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||
|
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
| ||||||||||||||
ANJ, 02 Sep 2010 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |