Syntax Conventions
The format used to show commands is illustrated below:
VOLTage:DC:RANGe {<range>|MIN|MAX}[,(@<ch_list>)]
The command syntax shows most commands (and some parameters) as a
mixture of upper- and lower- case letters. The upper- case letters indicate
the abbreviated spelling for the command. For shorter program lines, you
can send the abbreviated form. For better program readability, you can
send the long form.
For example, in the above syntax statement, VOLTage and VOLT are both
acceptable forms. You can use upper- or lower- case letters. Therefore,
VOLTAGE, volt, and Volt are all acceptable. Other forms, such as VOL
and VOLTAG, are not valid and will generate an error.
Braces ( { } ) enclose the parameter choices for a given command string.
The braces are not sent with the command string.
A vertical bar ( | ) separates multiple parameter choices for a given
command string.
Triangle brackets ( < > ) indicate that you must specify a value for the
enclosed parameter. For example, the above syntax statement shows the
<range> parameter enclosed in triangle brackets. The brackets are not sent
with the command string. You must specify a value for the parameter (e.g.,
"VOLTage:DC:RANGe 10").
Some parameters are enclosed in square brackets ( [ ] ). This indicates
that the parameter is optional and can be omitted. The brackets are not
sent with the command string. If you do not specify a value for an
optional parameter, the instrument chooses a default value.
U2300A Series USB DAQ Programming Guide
Introduction to Programming
1
3