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  2019  <20202021  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  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Asyn4-38 SetOption Parity "Even" fails - "Invalid argument"
From: Eric Norum via Tech-talk <tech-talk at aps.anl.gov>
To: Jan Hoppius <hoppius at lat.rub.de>
Cc: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 2 Jun 2020 11:26:16 -0700
Did you reduce the number of bits to 7, too?

On Jun 2, 2020, at 11:23 AM, Jan Hoppius via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hey everyone,

I have some trouble running an Raspberry Pi IOC with serial communication in parity-mode "even".

I adapted an online example and got it running without problems as long as the asynsetOption parity in st.cmd is "none"
asynSetOption("SERIALPORT",-1,"parity","none"). I checked the communication with an oszilloscope and it is fine.
As soon as I change the parity to "even" (thats what I read from the ASYN4.38 manual) it fails.

Base is R7.0.3.1
I tried ASYN 4-36 and 4-38
I tried "even" "EVEN" and "Even"


References:
Asyn4-38 SetOption Parity "Even" fails - "Invalid argument" Jan Hoppius via Tech-talk

Navigate by Date:
Prev: Asyn4-38 SetOption Parity "Even" fails - "Invalid argument" Jan Hoppius via Tech-talk
Next: Re: Asyn4-38 SetOption Parity "Even" fails - "Invalid argument" Florian Feldbauer 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Asyn4-38 SetOption Parity "Even" fails - "Invalid argument" Jan Hoppius via Tech-talk
Next: Re: Asyn4-38 SetOption Parity "Even" fails - "Invalid argument" Florian Feldbauer 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  2019  <20202021  2022  2023  2024 
ANJ, 02 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·