Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: high data rate with Asyn
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "Jiro Fujita" <jiro.fujita@gmail.com>, <tech-talk@aps.anl.gov>
Date: Wed, 28 Jun 2006 12:20:26 -0500
 Hi,
 
If you are getting a seg fault then something is seriously wrong, it is not a problem with incorrect timing.  I have used asyn with serial devices that are sending data very quickly.
 
What type of serial port are you using (TCP/IP terminal server, local serial port on Linux box, etc.)?
 
Have you run gdb to see where the seq fault is happening?  Is it in the driver, the device support, etc.?
 
Mark
 

________________________________

From: Jiro Fujita [mailto:jiro.fujita@gmail.com]
Sent: Wed 6/28/2006 11:19 AM
To: tech-talk@aps.anl.gov
Subject: high data rate with Asyn



We have been working on writing an IOC on a Linux running EPICS
3.14.8.2 and Asyn 4-4 the last few days trying to connect to an RS-422
serial device that sends out signal 4 times a second.  The device is a
home made device, but it sends out ASCII character to its serial port.
While we have no problem reading the ASCII values in the terminal
emulation program, we are having a problem trying to read the stringin
under EPICS.  It reads about a second or two, then, we get
segmentation fault.  We have adjusted the scan rate and time-out
values in the device support, but we can't seem to get this right.
Does any body have an idea how to deal with this??




References:
high data rate with Asyn Jiro Fujita

Navigate by Date:
Prev: high data rate with Asyn Jiro Fujita
Next: Re: high data rate with Asyn Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: high data rate with Asyn Jiro Fujita
Next: Re: high data rate with Asyn Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·