1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== 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