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: Automatic refresh of OPI
From: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
Date: Tue, 12 Sep 2017 13:39:59 +0000
> But as for your basic question how to pro grammatically refresh the display,
> the same as using the "Refresh" option from the context menu, you could do
> this from a script:
> 
> from org.csstudio.opibuilder.scriptUtil import ScriptUtil
> ScriptUtil.executeEclipseCommand("org.eclipse.ui.file.refresh")
> 
> -Kay

That solved the problem.  The Text Input widgets update with their new values

> I'm not quite sure what you're trying to do here.
> Does your IOC require you to write several PVs "at the same time"?
> Like a "start", "stepsize" and "end" parameter that all need to be written
> concurrently whenever one of them changes?
> ==> The underlying Channel Access protocol doesn't support such an
> operation. It can only write PVs one by one.
> If you really need to write several parameters "at once", you need to write
> an array value.
> 

The IOC holds the values e.g.  "start", "stepsize" and "end" parameters as separate PVs.  A fourth PV triggers Stream Device to write those three PVs over TCP/IP to the "backend hardware" in one transaction.

Iain.

Replies:
Re: Automatic refresh of OPI Andrew Johnson
References:
Automatic refresh of OPI Iain Marcuson
Re: Automatic refresh of OPI Kasemir, Kay

Navigate by Date:
Prev: Re: Automatic refresh of OPI Kasemir, Kay
Next: Re: Automatic refresh of OPI Andrew Johnson
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: Automatic refresh of OPI Kasemir, Kay
Next: Re: Automatic refresh of OPI Andrew Johnson
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, 12 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·