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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CSS BOY / scripting / XY Graph
From: "Chen, Xihui" <[email protected]>
To: John Dobbins <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Tue, 22 Jun 2010 17:20:47 -0400
OK. This feature has been added. You will be able to change PV Name property from script in next version. A new version of BOY will be released in this Friday.

By the way, to property id of the X PV or Y PV of XY Graph is trace_{number}_x_pv or trace_{number}_y_pv. For example: trace_0_x_pv, trace_0_y_pv.

Thanks,
Xihui

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Dobbins
Sent: Tuesday, June 22, 2010 1:02 PM
To: EPICS Tech-Talk
Subject: CSS BOY / scripting / XY Graph

Can one change the XY Graph->Trace 0-> X PV dynamically through a script?  

If so,  what is the associated property name?


This works:

importPackage(Packages.org.csstudio.opibuilder.scriptUtil);

var profileType = PVUtil.getString(pvArray[0]);

var pvToPlot = 'LGTVID01_Stats1:Profile' + profileType + 'Y_RBV'

widgetController.setPropertyValue("title", pvToPlot);



But if I change  "title" to say "x_pv"  the OPI builder console reports a script error.


Regards,

John Dobbins

Lab for Elementary  Aprtcile Physics
Cornell University





References:
CSS BOY / scripting / XY Graph John Dobbins

Navigate by Date:
Prev: Re: MEDM installation instructions Ralph Lange
Next: Re: MEDM installation instructions Andrew Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CSS BOY / scripting / XY Graph Chen, Xihui
Next: strange ioc hangup Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·