EPICS Home

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  2015  2016  <20172018  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  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CSS Text entry values not updating on PV change
From: Iain Marcuson <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected] >> EPICS Tech Talk" <[email protected]>
Date: Wed, 5 Jul 2017 14:10:01 +0000
The driver is based on Stream Device, but I was able to update the records using OUT fields.  My problem turned out to be that I was setting a PV with name "GET", when I should have been setting a PV named "SET".  Once I did that, the values updated when I refreshed the OPI.

Thank you,

Iain.

> -----Original Message-----
> From: Mark Rivers [mailto:[email protected]]
> Sent: Wednesday, July 05, 2017 9:47 AM
> To: Iain Marcuson <[email protected]>; tech-
> [email protected] >> EPICS Tech Talk <[email protected]>
> Subject: RE: CSS Text entry values not updating on PV change
> 
> Hi Iain,
> 
> Is your driver based on asyn?
> 
> If so, your setter records you can add the info tag asyn:READBACK.  This will
> force the setter (output) records to update their values based on a callback
> from the driver.  It is documented here:
> 
> http://www.aps.anl.gov/epics/modules/soft/asyn/R4-
> 31/asynDriver.html#genericEpicsSupport
> 
> Mark
> 
> ________________________________________
> From: [email protected] [[email protected]] on
> behalf of Iain Marcuson [[email protected]]
> Sent: Wednesday, July 05, 2017 8:40 AM
> To: [email protected] >> EPICS Tech Talk
> Subject: CSS Text entry values not updating on PV change
> 
> I am trying to update some text entry boxes with values from the IOC.  The
> controller ultimately sends and receives many parameters as a single block.  I
> have set up the IOC to have separate getters and setters that batch the
> values and transmit them.  I have text entry widgets for the setters and text
> update widgets for the getters.  What I would like to do on a Get operation is
> populate the setter widgets with the getter values.  I have tested this with
> caget and can see that the PV values are populated when I do a get, but the
> values in the CSS BOY GUI do not update.  Is there some way to populate the
> text entry widgets from the PV?
> 
> Thank you,
> 
> Iain.

References:
CSS Text entry values not updating on PV change Iain Marcuson
RE: CSS Text entry values not updating on PV change Mark Rivers

Navigate by Date:
Prev: RE: CSS Text entry values not updating on PV change Mark Rivers
Next: help - writing a table column from OPI BOY to PV Tomasz Brys
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CSS Text entry values not updating on PV change Mark Rivers
Next: help - writing a table column from OPI BOY to PV Tomasz Brys
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024