Stream device can handle binary I/O streams including null bytes using the %r or %R format converters.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Westfall, Michael D
Sent: 07 March 2013 17:40
To: [email protected]
Subject: Record support for binary serial communications?
Does anybody have any tips as how to communicate via a serial interface to a device that takes commands and gives responses in binary bytes rather than ASCII? We are using EPICS R3.13.4, and it appears that streamDevice is not available, or would require some extensive hacking to get it to work. devAscii is available, but since it relies heavily on string scanning functions, it will likely choke on any data that contain null bytes.
--
Mike Westfall
Los Alamos
--
Scanned by iCritical.
- References:
- Record support for binary serial communications? Westfall, Michael D
- Navigate by Date:
- Prev:
Re: Automatic IOC configuration loading Martin Konrad
- Next:
RE: Labview as Server and Probe as client, connection problem. kathryn.baker
- 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:
Re: Record support for binary serial communications? Andrew Johnson
- Next:
CSS at SLAC, anyone? Emmanuel Mayssat
- 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
|