I just finished one of these. I wrote an asynOctet interpose layer that I push on the IP port driver. Then I use StreamDevice %r conversion.
--
Eric Norum
[email protected]
On May 23, 2013, at 4:32 PM, Rod Nussbaumer <[email protected]> wrote:
> 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
- References:
- Communications with serial/LAN devices not using string oriented data Rod Nussbaumer
- Navigate by Date:
- Prev:
Communications with serial/LAN devices not using string oriented data Rod Nussbaumer
- Next:
RE: More on Modbus Mark Rivers
- 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
- Navigate by Thread:
- Prev:
Communications with serial/LAN devices not using string oriented data Rod Nussbaumer
- Next:
Re: Communications with serial/LAN devices not using string oriented data Zenon Szalata
- 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
|