Symmetricom 58503B GPS Receiver User Manual


 
Appendix B Command Syntax and Style
Command Types, Format, and Elements
B-4 Operating and Programming Guide
Elements of SCPI Commands
A program command or query is composed of functional elements that
include a header (keywords with colon separators), program data, and
terminators. These elements are sent to the Receiver over the serial
interface as a sequence of ASCII characters. Examples of a typical
Common Command and Subsystem Command are:
*CLS
:SYST:ERR?
Common Command Syntax
Figure B-1 shows the simplified syntax of a Common Command.
You must use a space (SP) between the command mnemonic and the
parameter in a Common Command.
NOTE: sp = space. ASCII character decimal 32
Figure B-1. Simplified Common Command Syntax Diagram
Subsystem Command Syntax
Figure B-2 shows the simplified syntax of a Subsystem Command.
You must use a space (SP) between the last command mnemonic and
the first parameter in a Subsystem Command. Note that if you send
more than one parameter with a single command, you must separate
adjacent parameters with a comma.
NOTE: sp = space. ASCII character decimal 32
Figure B-2. Simplified Program Command Syntax Diagram
?
sp
*
parameter
mnemonic
?
sp
:
,
:
parameter
mnemonic
suffix