User`s manual
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:DATAn <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.










