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

Subject: Re: generating fake broadcasts
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Tue, 8 Mar 2011 11:27:20 -0600
Hi John,

On Tuesday 08 March 2011 10:45:55 John Dobbins wrote:
>
> A vendor of hardware would like to test the robustness of their network
> stack in an EPICS environment. Does anyone know of an easy way to
> generate fake EPICS channel search broadcasts for this purpose? (So they
> can test their hardware without an actual EPICS system).

It would probably be easiest to write a simple CA client that does searches of 
a set of random channel names, and maybe send the vendor a statically-compiled 
binary of that program.  Note that the search rate decays over time so you may 
want to cancel the oldest searches and re-submit them if you want a sustained 
packet rate.

I wrote a simple CAS tool that can monitor and report the current search rate, 
or you can try the caSnooper extension program, which is a bit more complex.

> Alternatively, where would I find a description of the contents of the
> channel search request packet?

The CA protocol was documented by CosyLab and is available at
  http://epics.cosylab.com/cosyjava/JCA-Common/Documentation/CAproto.html

You might also find the Channel Access Dissector for Wireshark useful, see
  http://www-linac.kek.jp/cont/epics/wireshark/

HTH,

- Andrew
-- 
An error is only a mistake if you don't learn from it.
When you learn something from it, it becomes a lesson.


References:
generating fake broadcasts John Dobbins

Navigate by Date:
Prev: Re: generating fake broadcasts Guy Jennings
Next: PyEpics segmentation faults Vigder, Mark
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: generating fake broadcasts Guy Jennings
Next: PyEpics segmentation faults Vigder, Mark
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·