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

Subject: Re: Question about the speed of synchronization of CaChannel (python file in the attachment) ?
From: "Wang Xiaoqiang (PSI)" <[email protected]>
To: lzf neu <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 13 Oct 2017 09:00:29 +0000
Hi,


At the end of myDriver.value_callback, could you add “self.updaePVs()”?
Until that method is called, the change events are not seen to clients.

Best
Xiaoqiang

> On 13 Oct 2017, at 10:41, lzf neu <[email protected]> wrote:
> 
> Hi,
> 
> I use CaChannel python package to monitor a PV 'caLab:okok' and do some simple treatments of the PV value, then synchronise the treated PV value to 'MTEST:d00' and 'MTEST:d01' , and it works.
> 
> However, the problem is that when monitoring the PVs ('MTEST:d00' and 'MTEST:d01'), the  speed ofsynchronization of "camonitor MTEST:d00", "camonitor MTEST:d01" are quite slower than "camonitor caLab:okok", and  MTEST:d00 and MTEST:d01 lost many data from caLab:okok.
> 
> I have no idea how to solve the problem, I try to modify the command "server.process(0.1)" to "server.process(0)" of the main function, but  I failed, the speed of synchronizaiton is still very very slow, and it seems the more PVs synchronization the slower the speed is.
> 
> I have attatched the python file in the attachment.
> 
> Any help will be appreicated and thanks in advance !
> 
> Zhefu
> 
> 
> 
> 
> 
> 
> <1.py>


Replies:
答复: Problem still exist - Question about the speed of synchronization of CaChannel (python file in the attachment) ? lzf neu
References:
Question about the speed of synchronization of CaChannel ? lzf neu
答复: Question about the speed of synchronization of CaChannel (python file in the attachment) ? lzf neu

Navigate by Date:
Prev: 答复: Question about the speed of synchronization of CaChannel (python file in the attachment) ? lzf neu
Next: Re: EPICS training information Arnold, Ned D.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: 答复: Question about the speed of synchronization of CaChannel (python file in the attachment) ? lzf neu
Next: 答复: Problem still exist - Question about the speed of synchronization of CaChannel (python file in the attachment) ? lzf neu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024