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  2015  2016  2017  <20182019  2020  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  <20182019  2020 
<== Date ==> <== Thread ==>

Subject: Question about timing in Cachannel
From: lzf neu <lzfneu@live.com>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>, "xiaoqiang.wang@psi.ch" <xiaoqiang.wang@psi.ch>
Date: Wed, 19 Sep 2018 00:06:50 +0000
Dear Dr. Wang,

    I want to do some treatment for the monitored PV and dump the value as files at interval of 10s, I tried time.sleep (10) in my function of Cachannel python script. However when running the script, an error occured that says time out. I have to use "for loop" to do the timing in my function, but it is not very accurate.
    Could you please give me some advice and thank you very much.

Zhefu
Navigate by Date:
Prev: RE: asynPortDriver and read/write access to record fields Mark Rivers
Next: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] POZAR, Andraz
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  <20182019  2020 
Navigate by Thread:
Prev: Re: asynPortDriver and read/write access to record fields Loeher, Bastian Dr.
Next: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] POZAR, Andraz
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  <20182019  2020 
ANJ, 20 Sep 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·