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

Subject: Re: CSS, issue with PVUtil.writePV timeout
From: David Michel <dmichel76@googlemail.com>
To: EPICS mailing list <tech-talk@aps.anl.gov>
Date: Fri, 16 Oct 2015 09:37:29 +0100
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.

David



Hi All,

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.
Reason:
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?

Thanks,
Isabella

Navigate by Date:
Prev: Re: Modbus Binary Output Readbacks Wallace, Alex
Next: multiple pollgroup with s7nodave David Michel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
Navigate by Thread:
Prev: CSS, issue with PVUtil.writePV timeout Isabella Rey
Next: notification of discard of subscription updates Patrick Thomas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·