User`s manual
Agilent E1330B Digital I/O Module Command Reference 57
Chapter 5
Chapter 5
Agilent E1330B Digital I/O Module
Command Reference
Using This Chapter
This chapter describes Standard Commands for Programmable Instrumentation
(SCPI) and summarizes IEEE 488.2 Common (*) Commands applicable to the
Digital I/O Module.
• Command Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 57
• SCPI Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 60
• IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 98
• Command Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 99
Command Types
Commands are separated into two types: IEEE 488.2 Common Commands and SCPI
Commands.
Common
Command
Format
The IEEE 488.2 standard defines the Common Commands that perform functions
like reset, self-test, status byte query, etc. Common Commands are four or five
characters in length, always begin with the asterisk character (*), and may include
one or more parameters. The command keyword is separated from the first
parameter by a space character. Some examples of Common Commands are shown
below:
*RST *ESR 32 *STB?
SCPI
Command
Format
SCPI commands perform functions like closing switches, making measurements,
querying instrument states, or retrieving data. A subsystem command structure is a
hierarchical structure that usually consists of a top level (or root) command, one or
more lower level commands, and their parameters. The following example shows
part of a typical subsystem:
[SOURce:]
DIGital
:DATA
n
[:VALue]?
:BIT
m?
[SOURce:]
is the root command, DIGital is a second level command, :DATAn is a
third level command (where n is the port number 0–3), and [
:VALue] and :BITm are
fourth level commands (where m is the queried bit location).