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: streamdevice case sensitive sum8 checksum?
From: "Brown, Garth via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Brown, Garth" <gwbrown at slac.stanford.edu>
Date: Fri, 20 Nov 2020 03:21:34 +0000
Regex replacement fixed it. I hadn't previously used that for outputs. Here's the change:
%01<sum8> becomes %01<sum8>%#/.*/\L0/

Garth

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Brown, Garth via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, November 17, 2020 4:31 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: streamdevice case sensitive sum8 checksum?
 
Is there a way to make checksums lower case?
I'm working on streamdevice support for the TE Technology TC-48-20 temperature controller. It uses the checksum that is coded as %01<sum8> in streamdevice format converter. If the checksum contains letters, they are upper case A-F. It works fine when the checksum value only contains 0-9, but the controller rejects any checksum with A-F. I tried hard coding a checksum from a command it had rejected, but making the checksum value lower case, *5e00005A -> *5e00005a, and the controller accepted it. That's fine for requesting values, but I can't hard code the checksum for setting values. Any ideas?

Thanks,
Garth

References:
streamdevice case sensitive sum8 checksum? Brown, Garth via Tech-talk

Navigate by Date:
Prev: RE: Building StreamDevice with PCRE failing Manoussakis, Adamandios via Tech-talk
Next: Re: EPICS Device Driver for YOKOGAWA WE500 vs WE400 Shuei YAMADA 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: streamdevice case sensitive sum8 checksum? Brown, Garth via Tech-talk
Next: Heidenhain EIB 741 device Support Sintschuk, Michael 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, 20 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·