Program Message Syntax; Case; Program Message Terminator; Subsystem Command Syntax - Agilent Technologies 4349B Manual

4-channel high resistance meter
Hide thumbs Also See for 4349B:
Table of Contents

Advertisement

4349B

Program Message Syntax

This section provides an example of constructing of a SCPI program message. A program
message is the message sent from a computer to an instrument. Program messages consist of
commands combined with appropriate punctuation and program message terminators.

Case

Letter case (upper and lower) is ignored.

Program Message Terminator

A program message must end with one of the three program message terminators,
,
, or
interface at the same time the preceding data byte is sent. For example, HP BASIC
statement automatically sends an message terminator after the last data byte is sent. If you are
using a PC, you can usually con gure your system to send whatever terminator you specify.

Subsystem Command Syntax

Subsystem command consists of the level mnemonics which are separated with colons. For
example, command form of
Abbreviated mnemonics are also available for command headers. In the above example,
is available.

Common Command Syntax

Common commands do not have a hierarchical structure. They are just sent as follows:

Parameters

There must be a
subsystem command.
t
parameter
t
means a space (ASCII character (decimal 32)) is inserted here.
If you send more than one parameter with a single command, each parameter must be
separated by a comma. For example,
parameters as follows.
t
parameter parameter
.
under [
between the last command mnemonic and the rst parameter in a
means that EOI is asserted on the GPIB
]
subsystem becomes as follows:
command of
subsystem is followed by two
GPIB Reference
5-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents