
LS 6000 Scintillation System User’s Manual
PN 247971-F
c-4
RS232
RS232 Data Output
Header message includes a data item giving the type of file. There are 4 possible file types
which are listed in Figure c.5 at the end of this section.
Start and End of Sample Data (910/91 1)—If an RS232 message includes the transmission of
sample count data, then the first data item in the first data message for each sample is the
Data ID value 910.
After all data for a sample have been transmitted, then the last data item in the last data
message for a sample is the Data ID value 911.
Consequently, the IDs 910 and 911 signal the start and end of data transmission for each
sample. The END ID of 911 is literal. This means that all sample repeats, repeat averages,
everything for a given sample has been transmitted before the 911 code is sent.
XON is Control-Q or 11, Hex. XOFF is Control-S or 13, Hex.
Datum IDs
Each datum transmitted in an RS232 message is identified by its own 3 digit code, so all data
items can be recognized and processed without prior knowledge of which messages contain
which data items. In addition, it isn’t necessary to know the position of data items in the
message. The Data Codes, together with their meaning and value type, are listed in Figure c.5
and Figure c.6 (if Alpha-Beta Discrimination is installed).
The datum codes are transmitted as ASCII characters, not as decimal digits. The original three
digit code may be computed from the ASCII characters according to:
(Decimal value of the first ASCII character~32)*64
+ (Decimal value of the second ASCII
character-32).
For example, !D is the ASCII character representation for 100, the three digit code for the
User Number. ASCII decimal for! is 33 and for D, 68. Therefore, (33~32)*64
+ (68-32) = 100.
Figure c.3 Data Type Description and Codes.
Data Type Type of Data Description
B Boolean 3 ASCII Characters YES(True), NO(Space), FALSE
H Hex 1 or more Hex Digits: 0-9, A-F
I Integer
1 or more decimal digits (0-9), with an
optional preceding minus sign. May not
include spaces.
R Real 1 or more decimal digits (0-9), plus ‘.’, ‘-’, ‘+’,l and ‘E’.
May be in scientific notation. The decimal point may
be omitted. May not include spaces.
T Text 1 or more printable ASCII characters (20-7E Hex). Is
not of fixed length, unless explicitly indicated
otherwise.
N None No data values in this item.
Comentarios a estos manuales