Symmetricom 58503B GPS Receiver User Manual


 
Appendix B Command Syntax and Style
Command Types, Format, and Elements
Operating and Programming Guide B-9
If the “:”(which is following the “;” and is in front of GPS) is omitted,
the Receiver assumes that the second command is
:SYNC:HOLD:GPS:SAT:VIS:PRED?
and generates a syntax error.
Elements of Response Messages
Response Messages
Response messages are data sent from the Receiver to the DTE in
response to a query. (A query is a command followed by a question
mark. Queries are used to find out how the Receiver is currently
configured and to transfer data from the Receiver to the DTE.)
After receiving a query, the Receiver interrogates the requested
configuration and issues its response message as soon as possible.
The message is transmitted across the serial interface to the DTE.
Response Message Syntax
Figure B-4 shows the simplified syntax of a Response Message.
Response messages may contain both commas and semicolon
separators. When a single query command returns multiple values,
a comma is used to separate each item. When multiple queries are sent
in the same program message, the groups of data corresponding to
each query are separated by a semicolon.
NOTE:
<new line> = ASCII character decimal 10
<carriage return> = ASCII character decimal 13
; = multiple response separator (ASCII character decimal 59)
, = data separator within a response (ASCII character decimal 44)
Figure B-4. Simplified Response Message Syntax Diagram
,
response data
;
<carriage return> <new line>