124
Controlling the Instrument and Acquiring Data with Commands
Separators
(1) Command unit separator
Multiple commands can be written in a line by connecting them with a semicolon ;
.
Example:
:VOLTage 1000;:RANGe AUTO;*IDN?
Multiple query commands can also be in a line.
Response is returned in a line with each responding data separated by a
semicolon ; . Writing multiple commands without inserting semicolons results in
text error failing to complete command execution.
(2) Separator between command and parameter
Use space “ “ in command with both command and parameter to separate
command and parameter.
Example:
:VOLTage 1000
(3) Parameter separator
Command with multiple parameters must be separated with comma , between
parameters.
Example:
:COMParator 25,123.4E+06,FAILstop