EPICS Home

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: CSS BOY / scripting / XY Graph
From: John Dobbins <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Tue, 22 Jun 2010 13:02:16 -0400
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




Replies:
RE: CSS BOY / scripting / XY Graph Chen, Xihui
RE: CSS BOY / scripting / XY Graph Chen, Xihui

Navigate by Date:
Prev: RE: Problems configuring 4 IK320 cards emma.shepherd
Next: RE: Problems configuring 4 IK320 cards Krempasky Juraj
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: ellFree vs ellFree2 Andrew Johnson
Next: RE: CSS BOY / scripting / XY Graph Chen, Xihui
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