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: RE: Change input links run-time in a db
From: "Pedersen, UK (Ulrik)" <[email protected]>
To: <[email protected]>
Date: Fri, 9 May 2008 13:43:21 +0100
Mark is right - my application is using waveform records and I have
tried several different methods using calc, calcout, sel, and seq
records until I arrived at the solution to dynamically switch the links.
The problem is that none of the above mentioned records can handle
arrays (waveforms)...

The solution to use CA in the sCalcout OUT link seems to work well and
I'll continue using that method. I don't really want the users to
directly change the links - that's why I'd prefer to let the sCalcout
record do the job. 

Thanks for all your responses!

Cheers,
Ulrik

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mark Rivers
Sent: 08 May 2008 20:54
To: Hauschildt-Purves, M (Maren) (HAWAII,Jac); Tim Mooney
Cc: [email protected]
Subject: RE: Change input links run-time in a db

I believe the application in question was using waveform records, which
cannot be fed into a calc record.  They needed to switch the input link
of the waveform record.
 
Mark
 

________________________________

From: [email protected] on behalf of Maren Purves
Sent: Thu 5/8/2008 2:31 PM
To: Tim Mooney
Cc: [email protected]
Subject: Re: Change input links run-time in a db



Ulrik, Tim,

my first reaction was: why do you want to do this anyway?

Can't you just feed both channels, and a "switch", into a calc record or
some such and switch values?
Is there a good reason to actually switch the input _channel_ rather
than just the value?

Aloha,
Maren

Tim Mooney wrote:
> Dear folks,  Changing links at runtime has to be done via Channel
Access.
> This is documented in the App Dev Guide (15.5 Runtime Link
Modification).
> The reason isn't documented there (or at least I haven't found it) but

> anyway it's because lock sets have to be recalculated, and you can't 
> do that while you're running under the protection of a lock set that's

> going to be recalculated.
>




<DIV><FONT size="1" color="gray">This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
</FONT></DIV> 


References:
Change input links run-time in a db Pedersen, UK (Ulrik)
Re: Change input links run-time in a db Luedeke Andreas
RE: Change input links run-time in a db Pedersen, UK (Ulrik)
Re: Change input links run-time in a db Tim Mooney
Re: Change input links run-time in a db Maren Purves
RE: Change input links run-time in a db Mark Rivers

Navigate by Date:
Prev: Re: Change input links run-time in a db Tim Mooney
Next: IP Card Problems on the Acromag Carrier 9670 Darrell Nineham
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: Change input links run-time in a db Mark Rivers
Next: Re: Change input links run-time in a db Tim Mooney
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 ·