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 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> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | StreamDevice hexa checksum in lowercase characters |
From: | "Paduan Donadio, Marcio" <[email protected]> |
To: | "[email protected]" <[email protected]> |
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
|