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: Re: how to change the MEAN without reboot IOC?
From: Gasper Jansa <[email protected]>
To: tech-talk <[email protected]>
Cc: Michael Abbott <[email protected]>
Date: Mon, 16 Mar 2009 09:06:25 +0100
Hi

You can use extended device support to support changes to INP/OUT fields in runtime.
See chapter 12.5 of Application developer's guide.

Regards
Gasper

Michael Abbott wrote:
On Mon, 16 Mar 2009, ÍôÆôʤ wrote:
I am using the hytec8401 and the correponding hy8401ip driver from Diamond. The record can be follows:

record(ai,"AI")
{ field(DTYP,"Hy8401ip")
 field(INP,"#20S0 @ MEAN=10)
}

Sometimes i want to change the samples to average. But i do not know how to change this field without reboot the ioc? AI.INP looks like can not be change in running. By the way i use edm.

I'm afraid you're right. There is no hook from record support to let the driver know that the INP field has changed, so it's only parsed during record initialisation. It's not very clear to me how to fix this.


To the list in general:
Is it possible for driver initialisation code to add callback requests for extra PVs, or is there some other way to discover when a field not directly supported by record support has changed?



Replies:
Re: how to change the MEAN without reboot IOC? Michael Abbott
References:
how to change the MEAN without reboot IOC? 汪启胜
Re: how to change the MEAN without reboot IOC? Michael Abbott

Navigate by Date:
Prev: Re: how to change the MEAN without reboot IOC? Michael Abbott
Next: Re: how to change the MEAN without reboot IOC? Michael Abbott
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: Re: how to change the MEAN without reboot IOC? Michael Abbott
Next: Re: how to change the MEAN without reboot IOC? Michael Abbott
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 ·