Hi
I have a script as follows:
link = display.getWidget("linko")
child = link.getChild("xgraph") # get the xygraph on linko
# here I get the 2 PV's i passed to the script
val= PVUtil.getString(pvs[0]) # this PV is used to switch to the desired opi
dal= PVUtil.getString(pvs[1]) # this is the PV i need
if val=="1.0":
child.setPropertyValue("pv_name", dal) # here the correct PV is displayed
child.setPropertyValue("title",dal)
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