Introduction to Programming
1
U2300A Series USB DAQ Programming Guide
3
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.
Summary of Contents for U2300A Series
Page 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Page 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Page 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Page 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Page 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Page 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Page 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Page 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Page 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Page 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Page 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...