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: Asyn driver access to PV fields.
From: Dirk Zimoch <[email protected]>
To: tieman <[email protected]>
Cc: tech talk <[email protected]>
Date: Fri, 20 Feb 2009 09:42:54 +0100
Hi Brian,

StreamDevice can do this. Use a combination of @init handler and "%(ZRST)16c" redirection. See http://epics.web.psi.ch/software/streamdevice/doc/ chapters "Record Processing" -> "Initialization" and "Format Converters" -> "Types & Fields".

It might be possible that not all client applications get the enums correctly. If the client is already connected and you reboot the ioc and it starts up with new enum strings, the client might still use the old enums.

Dirk

tieman wrote:
Hi all!

I have a situation where I have an mbbo field that I would like to set programmatically at run time. Specifically, I would like to set ZSTR, ONST, etc... to specific values that are read back from hardware in a device driver at initialization. How can I do this from within an Asyn driver?

Thanks!

Brian


--
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

References:
Asyn driver access to PV fields. tieman

Navigate by Date:
Prev: Re: Asyn driver access to PV fields. Marty Kraimer
Next: RE: Asyn driver access to PV fields. Mark Rivers
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: Asyn driver access to PV fields. tieman
Next: Mac OS X and environ Stephen Norum
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 ·