56
Chapter 6 Command Reference
This chapter provides descriptions of all TH2816B's available GPIB commands which
correspond to Standard Commands for Programmable Instruments (SCPI) command
sets, listed in functional subsystem order. Use this chapter as a reference.
6.1 Notation Conventions and Definitions
The following characters are used in the command syntax.
: A colon is used to separate the higher level commands and the lower level
commands.
; The semicolon can be used as a separator to execute multiple commands
on a single line.
* Asterisk is used to indicate that the command followed is a common
command.
? A question mark is used to generate a query for the command in front of it.
, Comma is used to separate the muti-parameters in the command.
White space is used to separate the command and the parameter.
āā Double quotation marks indicate that the enclosed test is string data.
The following characters will be used in this chapter to describe GPIB commands.
NR1 Integer numeric data
NR2 fixed point numeric data
NR3 floating point numeric data
NL New Line character (decimal 10) is the end of the input/output string.
^END EOI terminator signal
< > Angular brackets enclose words or characters that are used to symbolize a
program code parameter or a GPIB command.
[ ] Square brackets indicate that the enclosed items are optional. The square
brackets with the asterisk (for example, [,<value>* ]) means the enclosed
item (<value>) repeats until the maximum counted number.
{} When several items are enclosed by braces, one and only one of these
elements may be selected.
6.2 Command Structure
TH2816B commands are divided into two types: GPIB common commands and SCPI
commands. The GPIB common commands are defined in IEEE std. 488.2-1987, and
these commands are common for all devices. The SCPI commands are used to
control all of the TH2816B's functions. The SCPI commands are tree structured three
levels deep. (The highest level commands are called the subsystem commands in
this manual.) So the lower level commands are legal only when the subsystem
commands have been selected. A colon (:) is used to separate the higher level
commands and the lower level commands. See Figure 6-1 for a sample.