User`s manual

Agilent E1330B Digital I/O Module Command Reference 59
Chapter 5
Parameters Parameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Optional Parameters. Parameters shown within square brackets (
[]) are optional
parameters. (Note that the brackets are not part of the command and are not sent to
the instrument.) If you do not specify a value for an optional parameter, the
instrument chooses a default value. For example, consider the
DISPlay:MONitor:PORT? [<MIN|MAX|DEF>] command. If you send the command
without specifying a parameter, the command returns the state of the port last
addressed. If you send the
MIN parameter or the DEF parameter, the command
returns
0. If you send the MAX parameter, the command returns 3. Be sure to place
a space between the command and the parameter.
Keyword
Substitutions
Some commands indicate a keyword substitution by showing the keyword bold type
with an all lower case keyword. For example, in the SCPI command
MEASure:DIGital:DATAn[:type] the keyword [:type] should be replaced by one
these parameters:
:BYTE
:WORD
:LWORd
Linking
Commands
Linking IEEE 488.2 Common Commands with SCPI Commands.
Use a semicolon between the commands. For example:
*RST;DIG:CONT2 1 or DIG:CONT2:POL POS;*OPC?
Linking Multiple SCPI Commands.
Use both a semicolon and a colon between the commands. For example:
DIG:DATA2:POL NEG;:DIG:DATA2:BIT3 1
Parameter
Type
Explanations and Examples
Numeric Accepts all commonly used decimal representations of numbers
including optional signs, decimal points, and scientific notation.
123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01. Special
cases include MIN, MAX, and DEF. MIN selects minimum value
available, MAX selects maximum value available, and DEF
selects default or reset value.
Boolean Represents a single binary condition that is either true or false.
1 or ON; 0 or OFF.
Discrete Selects from a finite number of values. These parameters use
mnemonics to represent each valid setting.
An example is the DIGital:CONTrol
n:POLarity <polarity>
command where
polarity can be either POS or NEG.