Data Logs
Appendix C
SPAN-SE User Manual Rev 1
159
C.1.1
ASCII
ASCII messages are readable by both the user and a computer. The structures of all ASCII messages
follow the general conventions as noted here:
1. The lead code identifier for each record is '#'.
2. Each log or command is of variable length depending on amount of data and formats.
3. All data fields are delimited by a comma ',' wi th two exceptions. The first exception is the last
header field which is followed by a ‘;’ to denote the start of the data message. The other exception
is the last data field, which is followed by a * to indicate end of message data.
4. Each log ends with a hexadecimal number pr eceded by an asterisk and followed by a line
termination using the carriage return and line feed characters, for example, *1234ABCD[CR][LF].
This value is a 32-bit CRC of a ll bytes in the log, excluding the '#' ide ntifier and the asterisk
preceding the four checksum digits.
5. An ASCII string is one field and is surrounded by double quotation marks, for example, “ASCII
string”. If separators are surrounded by quotation marks then the string is still one field and the
separator will be ignored, for example, “xxx,xxx” is one field. Double quotation marks within a
string are not allowed.
6. If the receiver detects an error parsing an input message, it will return an error response message.
Please see
“Chapter Responses” on page 620
for a list of response messages from the receiver.
Message Structure:
The ASCII message header is formatted as follows:
header;
data field...,
data field...,
data field...
*xxxxxxxx
[CR][LF]