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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: RE: OPI script and Display Builder
From: "Gregory, Ray" <gregoryrd@ornl.gov>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 8 May 2018 17:01:23 +0000

Thank you, Kay. This will help me better understand what is entailed in adapting scripts to/from Display Builder.

 

--Ray

 

From: Kasemir, Kay
Sent: Tuesday, May 08, 2018 9:04 AM
To: Gregory, Ray <gregoryrd@ornl.gov>; tech-talk@aps.anl.gov
Subject: Re: OPI script and Display Builder

 

Hi:

 

>Suppose I have an OPI script with the following line:

>  from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil

> Does this mean that the script will not run in an environment that has not yet been upgraded from opibuilder to display builder?

Correct.

While displays in general (widgets and their properties) as well as Rules tend to be auto-converted,

scripts are generally not portable, they need to be rewritten.

In the display builder examples, examples/script_util/portable.py shows an example for a script that works in both environments by basically including the code for both environments.

 

-Kay


References:
OPI script and Display Builder Gregory, Ray
Re: OPI script and Display Builder Kasemir, Kay

Navigate by Date:
Prev: Re: OPI script and Display Builder Kasemir, Kay
Next: MCA7-7: Problems to read PV mca Douglas Henrique C . de Araújo
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  <20182019 
Navigate by Thread:
Prev: Re: OPI script and Display Builder Kasemir, Kay
Next: MCA7-7: Problems to read PV mca Douglas Henrique C . de Araújo
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  <20182019 
ANJ, 08 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·