1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 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 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: XYgraph pv_name |
From: | "Kasemir, Kay" <[email protected]> |
To: | Amien Crombie <[email protected]>, EPICS Tech-Talk <[email protected]> |
Date: | Wed, 2 Aug 2017 16:05:19 +0000 |
Hi:
That "pv_name" that you're setting on the BOY XYGraph is basically a macro. Later, in the Trace 0 Y PV you can then add "$(pv_name)".
When you later, at runtime, update that macro, it's not changing the Y PV used by the trace.
What you'd actually want to change is the "trace_0_y_pv" property. But I'm not sure the BOY XYGraph supports changing the PVs of a trace at runtime.
-Kay
From: [email protected] <[email protected]> on behalf of Amien Crombie <[email protected]> Sent: Wednesday, August 02, 2017 7:21 AM
To: EPICS Tech-Talk Subject: XYgraph pv_name Hi
I have a script as follows: link = display.getWidget("linko") val= PVUtil.getString(pvs[0]) # this PV is used to switch to the desired opi else: # do nothing
So when I call the script, everything works except the xygraph displays
no trace. If I do a "PV info" when CSS is running on the graph, it actually shows the graph values. It looks like the xygraph is not updating the trace at all. Amien
|