Hi
I have some python code that runs fine except for one issue.
######################################################################
pv_xRange[i] =
PVUtil.getDouble(pvs[4]) # xrange
if (pv_byteStatus[i]==isIN):
wdg[i].setPropertyValue("y",widIN)
wdg[i].setPropertyValue("border_color",
ColorFontUtil.BLACK)
wdp[i].setPropertyValue("background_color",ColorFontUtil.BLACK)
wdg[i].setPropertyValue("border_width",1)
if (hTOP.getPropertyValue("visible")==False): ##
hTOP.setPropertyValue("visible", True)
hTOP.setPropertyValue("tooltip", str(i))
xgT.setPropertyValue("trace_0_y_pv", pv_xtrace[i])
xgT.setPropertyValue("title", pv_xname[i] )
xgT.setPropertyValue("trace_0_x_pv", sp_x[i] )
## set the X-axis spacing i.c.w. Harp
ygT.setPropertyValue("trace_0_y_pv", pv_ytrace[i])
ygT.setPropertyValue("title", pv_yname[i] )
xrT.setPropertyValue("pv_name", pv_xRange[i])
### NB - here I pass the 'pv' to my Wheel-widget via
$(pv_name)
yrT.setPropertyValue("pv_name", pv_yRange[i])
######################################################################
Now the above script code receives some pv_names from another
widget-group and everything works as follows:
xgT and ygT are xy-plot widgets and xrT and yrT are Wheel widgets
As an example, my '$(pv_name)' for widget xrT is displayed
correctly and I can change the pv as normal...but my python script
I wrote on this widget does not fire..
somehow the '$(pv_name)' in my script windows that I pass does
not fire in the script.
So I'm thinking that somehow the macro '$(pv_name)' is not
updated at the time of the script execution although the CSS gui
has the correct pv for '$(pv_name)' when I run CSS.
I'm using CSS-4.5 (64-bit) running on Ubuntu 18.04
Thanks
Amien