Section 5
OM6530-C1-00
19 November, 2019
5-6
5.3.1.
RS-232C RESPONSES
The reply to any RS-232C query command will be a sequence of ASCII characters
followed by a Carriage-Return character (0x0D) and then a Line-Feed character (0x0A).
The Line-Feed character may also be expressed as 0A
16
or 10
10
or 12
8
or Ctrl-J.
Throughout this document we will use the "C" programming language notation for
expressing numbers in base 16, specifically 0x0A indicates that 0A is to be interpreted in
base 16 (hex).
5.4.
COMMAND LANGUAGE
The commands for IEEE-488 and RS-232C mainly correspond to the labels assigned to the front
panel menus. Throughout this document when examples are given they apply to commands
through the RS-232C interface or through the IEEE-488 interface. The examples will not show
the termination characters since these differ for each of the interfaces (See Sections 5.2.2 and
5.3.1).
5.4.1.
GENERAL SYNTAX FOR COMMANDS
The 6530 uses a sophisticated command parser which can usually determine which
command was desired, even if the command is entered incorrectly. Some care should be
taken when sending commands such as SYSTem:VERBose and SYSTem:VERSion?
Since the parser may not be able to decide which command was desired in the event of a
gross misspelling (such as using VERBion instead of VERSion).
No command used in the 6530 has an embedded space in its name; spaces (0x20) are
used only to separate command names from their parameters.
The comma "," must delimit all multiple arguments used in a command sequence.
Throughout this manual some of the command names will have an UPPER case portion
and a lower case portion. The command may be shortened such that only the portion of
the command name that was presented in UPPER case characters is present. The
command parser of the 6530 is case insensitive (i.e. the letter case of commands sent to
the 6530 does not matter), both UPPER case letters and lower case letters may be used.