Experimental Physics and
Actually I wouldn't be too surprised if the timeout is in ms.... Since CSS is in Java and methods Thread.sleep are typically in ms, so the Jython wrapper probably does the same.
I'm using CSS 3.2.16 with BOY.
I have a script to write to some PV using writePV:
timeout = 9
PVUtil.writePV("MyCam:cam1:Acquire" , 1, timeout)
From the documentation, even if not super-explicit, I would assume the timeout is in s.
The writing to PV usually works, but sometimes after a very long time I get a pop-up in CSS saying:
"Failed to write PV:MyCam:cam1:Acquire
Failed to connect to the PV in 9000 seconds.
Failed to connect to the PV in 9000 seconds."
This sounds like a bug.
I will try changing the timeout from 9 to 0.009 in the script, but has anybody encountered this problem before?
|ANJ, 16 Dec 2015||
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·