49
The Program Message Unit can be divided into three sections as follows:
a) Program Header
The Program Header represents the operation to be performed, and consists of ASCII character
mnemonics. Two types of Program Headers are used in the MODEL 4047B: Instrument-control
headers and Common Command and Query headers. Common Command and Query Program
Headers consist of a single mnemonic prefixed by an asterisk ('*').
The mnemonics consist of upper - or lower-case alpha characters.
Example: The command to set the frequency to 1KHZ may be written in the following ways:
FREQ 1KHZ
FREQ 1000HZ
FREQ 1000
FREQ 1E3
freq 1khz
freq 1000hz
freq 1000
freq 1e3
b) Program Header Separator
The Program Header Separator is used to separate the program header from the program data. It
consists of one or more white space characters, denoted as <ws>. Typically, it is a space.
c) Program Data
The Program Data represent the values of the parameters being set, for example, the '1KHZ' in the
above examples. Different forms of program data are accepted, depending on the command. The
Program Data types used in the instrument are:
i) Character program data
This form of data is comprised of a mnemonic made up of lower - or upper-case alpha characters. As
with Program Header mnemonics, some Character Data mnemonics have short and long forms. Only
the short or the long form may be used.
ii) Boolean data
Boolean data indicate that the parameter can take one of two states, ON or OFF. The parameter may
be character type
ON or OFF
www.
GlobalTestSupply
.com
Find Quality Products Online at: