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: | Communications with serial/LAN devices not using string oriented data |
From: | Rod Nussbaumer <[email protected]> |
To: | epics Techtalk <[email protected]> |
Date: | Thu, 23 May 2013 16:32:29 -0700 |
Hi All.We have been asked to provide support for a device that communicates serially using packets of binary data. Ordinarily for such tasks I would use streamDevice, but the command protocol for this device (a CPI RF amplifier) is all binary, not strings, and even includes the requirement to byte stuff when framing characters are in the packet payload, as well as compute checksums on the packets. Any recommendations about how to approach this kind of problem? There are a LOT of different commands required to operate this device.
Thanks Rod Nussbaumer ISAC Controls, TRIUMF Vancouver, Canada