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

Subject: Re: Question about device support
From: Florian Feldbauer <[email protected]>
To: [email protected]
Date: Fri, 26 Jun 2015 16:42:16 +0200
Hey Michael,

thanks for the quick answer.
Looking at your code, I'm doing in principal the same.
Instead of having a special flag I'm setting PACT = true
as Ralph suggested.

But even when I use your method with the sync flag
I have the same problem:
The device supports updates RVAL of the bo,
but VAL is not changed.
Do I have to set VAL explicitly from device support in this case?

Cheers
Florian

On 06/26/2015 04:08 PM, Michael Davidsaver wrote:
> On 06/26/2015 09:46 AM, Florian Feldbauer wrote:
>> Device support routine returns with 0 after changing RVAL.
>> How can I get the device support/record to update also the VAL field?
> There's no "official" way to do this, but it can be accomplished in a
> number of ways.  The one I favor is the use of a flag in a device
> support structure to change the behavior of the process() function.
>
> For example the 'syncNow' flag here:
>
> https://github.com/mdavidsaver/pscdrv/blob/master/coreApp/src/devPSCSingle.cpp#L74


-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------


Replies:
Re: Question about device support Michael Davidsaver
References:
Question about device support Florian Feldbauer
RE: Question about device support Mark Rivers
Re: Question about device support Florian Feldbauer
RE: Question about device support Mark Rivers
Re: Question about device support Florian Feldbauer
Re: Question about device support Ralph Lange
Re: Question about device support Florian Feldbauer
Re: Question about device support Florian Feldbauer
Re: Question about device support Michael Davidsaver

Navigate by Date:
Prev: IOC without iocsh [email protected]
Next: RE: IOC without iocsh Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Question about device support Michael Davidsaver
Next: Re: Question about device support Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·