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  <20162017  2018  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Request for help on CSS
From: Anindya Roy <[email protected]>
To: "Kasemir, Kay" <[email protected]>
Cc: "<[email protected]>" <[email protected]>
Date: Mon, 7 Mar 2016 17:12:44 +0530
Dear Kay

I am using SNS CSS-4.1.0.

I am trying to read and set the properties of XY graph widget using one action button.

My script attached to an action button (mouse click) is al follows.
***********************************
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);

var color = display.getWidget("alphaProfileGraph").getPropertyValue(" trace_0_trace_color");

**************************************************************

Error shown in console at runtime is as follows.
*************************************************************
Wrapped org.csstudio.opibuilder.model.NonExistPropertyException: alphaProfileGraph does not have property:  trace_0_trace_color (script#3)


Pls let e know where I am wrong.

Regards
**********************************************************************
अनिंद्य रॉय / Anindya Roy
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती उर्जा साइक्लोट्रॉन केंद्र / Variable Energy Cyclotron Centre
परमाणु उर्जा विभाग / Department of Atomic Energy
भारत सरकार / Government of India
1/ए एफ विधान नगर / 1/AF Bidhan Nagar
कोलकाता - 700064 , भारत / Kolkata - 700064, India
फोन / Ph (O): +91-033-23184736
फैक्स / Fax (O): +91-033-23346871

**********************************************************************

Replies:
Re: Request for help on CSS Hartman, Steven M.

Navigate by Date:
Prev: RE: EpicsQt compile problems Andrew Rhyder
Next: Problem in running simple tutorial problems Jan Cedric Hönig
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: mrfioc2 error at uTCA platform Konrad, Martin
Next: Re: Request for help on CSS Hartman, Steven M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·