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  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 Display Builder widgets
From: "Kasemir, Kay" <[email protected]>
To: Amien Crombie <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Wed, 16 Aug 2017 12:56:31 +0000
Hi:

Yes, the script API was never guaranteed to remain stable, and certainly not when moving to a totally different tool.

from org.csstudio.display.builder.runtime.script import ScriptUtil
lz = ScriptUtil.findWidgetByName(widget, "my_label")

See also online help, Display Builder, Scripts, API, ScriptUtil

-Kay


From: [email protected] <[email protected]> on behalf of Amien Crombie <[email protected]>
Sent: Wednesday, August 16, 2017 8:48 AM
To: EPICS Tech-Talk
Subject: CSS Display Builder widgets
  
Hi
This simple jython code use to work in OPI:
    >>> lz=display.getWidget("my_label")
but not in my new Builder version of CSS.. (CSS 4.5 running Mint 18.2)

I get
    >>> NameError: name 'display' is not defined


thanks
Amien

    

References:
CSS Display Builder widgets Amien Crombie

Navigate by Date:
Prev: CSS Display Builder widgets Amien Crombie
Next: Re: Archive Dump on Change Only J. Lewis Muir
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: CSS Display Builder widgets Amien Crombie
Next: RE: Help with issue compiling areaDetector Driver Mark Rivers
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 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·