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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: soft-control on the serial line
From: Eric Norum <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Thu, 15 Apr 2010 10:24:34 -0700
Sorry to post to the entire list, but all attempts to reply to Pawel directly have bounced
============================================================
Are you using a local serial port or a network/serial adapter?  On what operating system platform?
We didn't provide access to all termios settings in the set of asyn get/set options.   

ixon/ixoff is a rather non-robust flow control mechanism since if any XON is lost or mangled for some reason the port locks up forever.  Is there no way that you can use hardware (CTS/RTS) flow control?

If your IOC is running on linux/darwin/solaris you could try running a
system("stty ixon </dev/xxxxx")
command from the st.cmd script after opening the serial line.  To enable the system command you will need to add 'system.dbd' to your application's list of dbd files.

On Apr 15, 2010, at 9:18 AM, PaweÅ JaÅocha wrote:

> Hello,
> 
> We have here a device that sends a lot of soft flow control and we want to operate it with streamDevice driver which uses the asynDriver. We tried to activate the "ixon" option in the serial port configuration but it in not recognized. Can you give us a hint what else could we do ? The control characters spoil the pattern recognition by the streamDevice driver unfortunately...
> 
> Pawel.
> 

-- 
Eric Norum
[email protected]






-- 
Eric Norum
[email protected]





Navigate by Date:
Prev: writing to aao crashes ioc Dirk Zimoch
Next: Labview and EPICS on Linux Elliott Wolin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: writing to aao crashes ioc Benjamin Franksen
Next: Labview and EPICS on Linux Elliott Wolin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·