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

Subject: Problem accessing TextUpdate text property in Display Builder script.
From: "Gregory, Ray" <gregoryrd@ornl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 22 May 2018 21:19:05 +0000

I am converting a BOY OPI to a Display Builder .bob file. One of the scripts attached to the OPI retrieves the text of another (Text Update) widget as follows:

 

raw_curve_file_list_widget = display.getWidget("PredefinedCurveListOutput")      

raw_string = raw_curve_file_list_widget.getPropertyValue("text")

 

 

When I convert to using Display builder I have:

 

raw_curve_file_list_widget = ScriptUtil.findWidgetByName(widget, "PredefinedCurveListOutput")      

raw_string = raw_curve_file_list_widget.getPropertyValue("text")

 

 

However, when I try to run this in Display Builder, I get the error:

 

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Widget 'SelectedPredefinedCurveFileInput' (textentry) has no 'text' property

 

How can I access the text property of this widget in Display Builder?

 

--Ray


Replies:
RE: [UNTRUSTED] Problem accessing TextUpdate text property in Display Builder script. Gregory, Ray
Re: [UNTRUSTED] Problem accessing TextUpdate text property in Display Builder script. Kasemir, Kay

Navigate by Date:
Prev: 'Reverse' trace processing Daykin, Evan
Next: Is it possible to make an IOC for an HTTP device? Sobhani, Bayan
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  2020 
Navigate by Thread:
Prev: 'Reverse' trace processing Daykin, Evan
Next: RE: [UNTRUSTED] Problem accessing TextUpdate text property in Display Builder script. Gregory, Ray
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  2020 
ANJ, 23 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·