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: "Mark Rivers" <[email protected]>
To: "tieman" <[email protected]>, "tech talk" <[email protected]>
Date: Thu, 19 Feb 2009 15:45:53 -0600
Hi Brian,

The asyn driver does not have access to the record.  The driver only
talks to device support, and the device support talks to the record.

I don't think you can do what you want using standard asyn device
support.  But if you wrote your own device support for the mbbo record
(based on the mbbo support in devAsyn/devAsynInt32.c for example) you
could use the asynOctet interface to query the driver for the enum
string values during initRecord, and set those enum string values in the
record.

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of tieman
Sent: Thursday, February 19, 2009 3:40 PM
To: tech talk
Subject: Asyn driver access to PV fields.

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


Replies:
Re: Asyn driver access to PV fields. Andrew Johnson
Re: Asyn driver access to PV fields. Marty Kraimer
References:
Asyn driver access to PV fields. tieman

Navigate by Date:
Prev: Asyn driver access to PV fields. tieman
Next: Re: Asyn driver access to PV fields. Andrew Johnson
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: Asyn driver access to PV fields. tieman
Next: Re: Asyn driver access to PV fields. Andrew Johnson
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 ·