11.3 Custom Broadcast String Reference
107
separated by a “/:” (OR), and (in this case) at last is a “/;” (ELSE). For ASCII + Qual, there are four OR
conditions (specific time quality ranges) followed by one ELSE (worst quality range). The initial ordinal is
a space, meaning maximum time quality followed by a “.”, a “*”, a “#” and finally by the ELSE condition
of a “?”. A carriage return line feed “r” ends the string.
ASCII + Year
Desired Output:
<
SOH
>
yyyy ddd:hh:mm:ssQ
<
CR
><
LF
>
Input String Code: /T01/Y d:/h:/m:/s/
{
01? /:./:
∗
/:#/;?/
}
/r
Input String Constructions Notes: Note that the ordinary method of starting the ASCII + Year broadcast is
using the B8 or O8 command as described on page 91. The ASCII + Year is identical to the ASCII + Qual
described above but includes the four-digit year followed by a space that precedes the Julian day. Notice
that there are two characters for year: y (0 to 99) and Y (2000 to 2xxx).
Common ASCII Characters
Listed below are a few common ASCII control characters used with the clock. For a more complete listing of
ASCII characters, you will need to consult a additional sources
. Other printable characters may be typed
in as seen on a keyboard.
Decimal
Hex
Abbreviation
Description
0
00
NUL
Null Character
1
01
SOH
Start of Header
7
07
BEL
Bell (sound)
10
0A
LF
Line Feed
13
0D
CR
Carriage Return
Table 11.9: Short Table of ASCII Characters
2
See Wikipedia, at http://en.wikipedia.org/wiki/ASCII