EPICS Controls 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  2018  <20192020  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  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How fast can EPICS communicate with a device?
From: "Sobhani, Bayan via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 15 Feb 2019 14:05:30 +0000

What exactly are the limitations on how fast EPICS can communicate with a device?

 

I have a device I can communicate with around 200Hz if I send it commands with a python program that uses the telnetlib module. I was wondering if it would be possible for the device to communicate with EPICS close to this rate.

 

I tried modify EPICS database definition files to make records process faster. To test this, I made a PV that does no device communication, but counts up when it was processed. When I added a line in the dbd file to add a scan option of .01 second, and set the SCAN field to .01, this record increases by 100 every second when I run the IOC, which is expected behavior.

 

However, when I tried having this record send commands to the device, it was much slower, around once per second. In general, when I process PVs that communicate with a device, it seems to take a while to get a response, whereas when I send commands directly through telnet I get the result back almost instantaneously.  Is there a limit to how fast EPICS can communicate with a device, apart from the SCAN field options?

 

Alex


Replies:
Re: How fast can EPICS communicate with a device? Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: archiverAppliance access to Wang, Lin via Tech-talk
Next: Re: How fast can EPICS communicate with a device? Mark Rivers 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: archiverAppliance access to Shankar, Murali via Tech-talk
Next: Re: How fast can EPICS communicate with a device? Mark Rivers 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  <20192020  2021  2022  2023  2024 
ANJ, 15 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·