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  <20182019  2020  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Parsing problem with stream
From: "Lucock, Richard M" <[email protected]>
To: [email protected]
Date: Tue, 05 Jun 2018 08:11:53 +0100
Hi,

You can limit the scope of a checksum like this: %1<xor8ff>

A checksum like %A.B<...> ignores A bytes at the beginning and B bytes
at the end.

  and this works perfectly, thanks (and thanks to Florian as well).

For fixed-length input you can use maxInput=number_of_byes; instead of a
terminator.

  I tried bracketing my read of 'ACK' with 'MaxInput=1' and 'MaxInput=0',
but it didn't help - still nothing in my PV.

Many thanks,
     Richard

Replies:
Re: Parsing problem with stream Dirk Zimoch
References:
Parsing problem with stream Lucock, Richard M
Re: Parsing problem with stream Dirk Zimoch

Navigate by Date:
Prev: Re: Linkam T96 System Controller Kevin Peterson
Next: Re: Parsing problem with stream Dirk Zimoch
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Parsing problem with stream Dirk Zimoch
Next: Re: Parsing problem with stream Dirk Zimoch
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 05 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·