EPICS Home

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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Question about timing in Cachannel
From: lzf neu <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
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  2021  2022  2023  2024 
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  2021  2022  2023  2024