Sorry I did not notice the R3.13.4 version.
________________________________________
From: [email protected] [[email protected]]
Sent: Thursday, March 07, 2013 12:06 PM
To: Mark Rivers
Subject: RE: Record support for binary serial communications?
Not in 3.13.4 it can't ;-)
Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713
-----Original Message-----
From: [email protected] [mailto:tech-talk-
[email protected]] On Behalf Of Mark Rivers
Sent: 07 March 2013 18:05
To: Westfall, Michael D; [email protected]
Subject: RE: Record support for binary serial communications?
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