How does the device terminate a message? Do you know in advance how many characters it will send?
I think streamDevice can probably be used.
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Westfall, Michael D [[email protected]]
Sent: Thursday, March 07, 2013 11:40 AM
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
- References:
- Record support for binary serial communications? Westfall, Michael D
- Navigate by Date:
- Prev:
Record support for binary serial communications? Westfall, Michael D
- Next:
RE: Record support for binary serial communications? 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:
Record support for binary serial communications? Westfall, Michael D
- Next:
RE: Record support for binary serial communications? 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
|