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 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
<== Date ==> <== Thread ==>

Subject: StreamDevice hexa checksum in lowercase characters
From: "Paduan Donadio, Marcio" <marcio@slac.stanford.edu>
To: "Tech-talk@aps.anl.gov" <Tech-talk@aps.anl.gov>
Date: Wed, 6 Sep 2017 18:14:44 +0000

I have a TC-720 temperature controller that needs to receive an hexadecimal checksum:


Protocol file: 

(...)
read_low_alarm1
{
        out STX "590000%01<sum>";
        in STX "%4x%01<sum>";
}

(...)


The output was:

*5900002E\r


The problem is: that final "E" must be "e" lowercase, or the equipment return an error code. How can I make <sum> output a lowercase character?


Thank you,


Márcio Paduan Donadio
Control Systems Engineer
SLAC National Accelerator Laboratory
Advanced Instrumentation for Research Division
2575 Sand Hill Rd
Menlo Park CA 94025
Office (650) 926-5007​



Replies:
Re: StreamDevice hexa checksum in lowercase characters Lang, Keenan C.

Navigate by Date:
Prev: Re: C++ multi threaded application. Michael Davidsaver
Next: Re: StreamDevice hexa checksum in lowercase characters Lang, Keenan C.
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
Navigate by Thread:
Prev: Re: data refresh and add pv Shen, Guobao
Next: Re: StreamDevice hexa checksum in lowercase characters Lang, Keenan C.
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
ANJ, 11 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·