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

Subject: CSS BOY / scripting / XY Graph
From: John Dobbins <john.dobbins@cornell.edu>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
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 
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 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·