EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RS232 Configuration Question on MVME162
From: [email protected] (Carl Lionberger)
To: [email protected], [email protected]
Date: Wed, 13 Nov 96 10:20:44 PST
I modified z8530Serial.c to set odd parity and do some break manipulations, 
using ioctl calls.  It may not do exactly what you need but it might be 
helpful to look at.  

	Carl

//
// Carl Lionberger                              [email protected]
// Computer System Engineer                     Voice   (510) 486-7503
// Berkeley National Laboratory                 Fax     (510) 486-5101
//
	

> > Is there a way to set parity (none, even, odd) on a 162
> > serial port running vxworks 5.2?  I see how you can set 
> > just about everything else using "ioctl" but not parity. 
> > I have a power supply that requires "even parity". 
> > I know that there is an option (OPT_7_BIT) to strip the parity bit
> > on incoming data but no way of transmitting with even parity.
> 
> The source to the tty driver for the mv162 seems to only cover the
> baud rate in its hardware-specific portion.  If you are REALLY stuck, you
> can cheat by accessing the 8530 serial controller directly or adding the
> proper IOCTL code to z8530Serial.c in you vxWorks distribution and
> recompiling it.  Either way, you will want to use the 8530 driver as
> an example of how to use the chip.
> 
> 
> --John Winans
> 


Navigate by Date:
Prev: Re: Help w/PulseTrain and PulseCounter using Mizar 8310 board Marty Kraimer
Next: New extensions available Bakul Banerjee
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: RS232 Configuration Question on MVME162 Graham Waters
Next: seqChanShow switches Sean Prior
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·