![Agilent Technologies E1330B User'S Manual And Scpi Programming Manual Download Page 16](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439016.webp)
14
Getting Started
Chapter 1
SCPI Command
Format Used in This
Manual
SCPI commands can be used in either long or short form. A long form
example is:
DISPlay:MONitor ON
The same command, without the lower case letters, is the short form.
For example:
DISP:MON ON
Either the long form or the short form commands can be used to perform the
same result. The long and short forms can also be mixed within the same
program code. The commands are case insensitive, either upper or lower
case letters are accepted.
In the command examples shown above, the item enclosed in
< >
is a
parameter required to use the command, however, do not include the
brackets when sending the command. In this example, the parameter input
can be replaced with any one of the following:
0
,
1
,
OFF
, or
ON
. The
allowable values of the parameters are given in Chapter 5 — “Agilent
E1330B Digital I/O Module Command Reference”. You must include at
least one space between the keywords and the parameter.
Some commands are shown with items enclosed in square brackets (
[]
).
These are implied or optional items that do not have to be included. For
example, the complete command syntax listing for the first example is:
DISPlay:MONitor[:STATe] <0 |1
or
OFF |ON>
The item enclosed in brackets,
[:STATe]
, does not have to be included for the
command to work. Complete descriptions of the SCPI command language,
syntax, parameter types, and usage are in Chapter 5 of this manual.
Specifying SCPI
Commands
SCPI commands related to the Digital I/O module use three types of
parameters to specify a port number, a bit number, or a multiple port
combining operation. Each type is briefly described here. Descriptions and
examples of usage can be found in Chapter 3 of this manual.
Specifying a Port
The Digital I/O module has four identical ports numbered from 0 to 3. SCPI
commands that relate to a specific port use a special parameter to indicate
the port number. For example:
[SOURce:]DIGital:DATA
n
<
value
>
This command writes the parameter
<
value> to the port specified by the n
portion of the
DATA
keyword. Replace the n with the port number, making
the number the last character of the
DATA
keyword without spaces. For
example, to set all port 2 data lines to logical zero, use the command:
[SOURce:]DIGital:DATA2 0
The value of n may vary for multiple port commands and operations. A
description of multiple port commands is on page 15.
Summary of Contents for E1330B
Page 2: ......
Page 10: ...8 Notes ...
Page 11: ...9 Notes ...
Page 12: ...10 Notes ...
Page 32: ...30 Configuring the Agilent E1330B Digital I O Chapter 2 Notes ...
Page 42: ...40 Using the Agilent E1330B Digital I O Module Chapter 3 Notes ...
Page 58: ...56 Understanding the Agilent E1330B Digital I O Module Chapter 4 Notes ...
Page 104: ...102 Agilent E1330B Digital I O Module Command Reference Chapter 5 Notes ...