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  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: RE: CSS Text entry values not updating on PV change
From: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>
To: Mark Rivers <rivers@cars.uchicago.edu>, "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
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:rivers@cars.uchicago.edu]
> Sent: Wednesday, July 05, 2017 9:47 AM
> To: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>; tech-
> talk@aps.anl.gov >> EPICS Tech Talk <tech-talk@aps.anl.gov>
> 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: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on
> behalf of Iain Marcuson [Iain.Marcuson@sydorinstruments.com]
> Sent: Wednesday, July 05, 2017 8:40 AM
> To: tech-talk@aps.anl.gov >> 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  <2017
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  <2017
ANJ, 05 Jul 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·