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  2018  2019  2020  <20212022  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  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to capture messages generated by PyEpics?
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Li, Ji" <liji at bnl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 19 Feb 2021 03:17:49 +0000
I don’t think the Wireshark version will matter. Have you put a filter on what Wireshark captures, or on what is selected to display?

Mark


Sent from my iPhone

On Feb 18, 2021, at 8:26 PM, Li, Ji <liji at bnl.gov> wrote:


Thanks Mark. I expect Wireshark to be install & play. The one I used is an old installation on an old server. Will find another one and try it out.

Best,

-Ji Li

________________________________
发件人: Mark Rivers <rivers at cars.uchicago.edu>
发送时间: 2021年2月18日 20:11
收件人: Li, Ji <liji at bnl.gov>
抄送: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
主题: RE: How to capture messages generated by PyEpics?


Ø   When I get/set from PyEpics (tried both PV module and CA module), the program was able to successfully get the up-to-date value of the PV and set new value to it,

Ø  > but no messages showed up. Doesn't PyEpics communicate using CA protocol messages? Are there specific filter/configuration to be done in Wireshark to show these messages?



There is no difference in the CA network messages using caget and PyEpics.    They both use the same libca.so library from EPICS base.



You must have something configured wrong in Wireshark or something.



Mark





From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Li, Ji via Tech-talk
Sent: Thursday, February 18, 2021 4:52 PM
To: tech-talk at aps.anl.gov
Subject: How to capture messages generated by PyEpics?



Hi,



I'm trying to capture CA messages targeting a specific PV on the IOC server with Wireshark (v1.12.1) and Michael Davidsaver's cashark plugin (ca.pv or ip.addr as the filter). Wireshark was able to capture messages generated by caget/caput commands ran from bash. When I get/set from PyEpics (tried both PV module and CA module), the program was able to successfully get the up-to-date value of the PV and set new value to it, but no messages showed up. Doesn't PyEpics communicate using CA protocol messages? Are there specific filter/configuration to be done in Wireshark to show these messages? Thanks.





-Ji Li



Replies:
回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk
References:
How to capture messages generated by PyEpics? Li, Ji via Tech-talk
RE: How to capture messages generated by PyEpics? Mark Rivers via Tech-talk
回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk

Navigate by Date:
Prev: 回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk
Next: 回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk
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  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: 回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk
Next: 回复: How to capture messages generated by PyEpics? Li, Ji via Tech-talk
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  2018  2019  2020  <20212022  2023  2024