1
Introduction to Programming
4
U2300A Series USB DAQ Programming Guide
Command Separators
A colon (
:
) is used to separate a command keyword from a lower- level
keyword. You must insert a blank space to separate a parameter from a
command keyword. If a command requires more than one parameter, you
must separate adjacent parameters using a comma as shown below:
CONFigure:VOLTage:DC 10, 0.003
A semicolon (
;
) is used to separate commands within the same
subsystem, and can also minimize typing. For example, sending the
following command string:
TRIGger:SOURce EXTernal; COUNT 10
is the same as sending the following two commands:
TRIGger:SOURce EXTernal
TRIGger:COUNT 10
Use a colon and a semicolon to link commands from different subsystems.
For example, in the following command string, an error is generated if you
do not use both the colon and semicolon:
ROUTe:CHANnel:DELAY 1; :TRIGger:SOURce EXTernal
Using the MIN and MAX Parameters
For many commands, you can substitute
"MIN"
or
"MAX"
in place of a
parameter. For example, consider the following command:
VOLTage:DC:RANGe {<range>|MIN|MAX}[,(@<ch_list>)]
Instead of selecting a specific value for the <range> parameter, you can
substitute
MIN
to set the range to its minimum value or
MAX
to set the
range to its maximum 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 ...