Technical data
Table Of Contents
Introduction to Programming 1
U2751A Programmer’s Reference Guide 5
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.
ROUT:CLOS (@101)
A semicolon ( ; ) is used to separate commands within the same
subsystem and also minimize typing. For example, sending the following
command string.
ROUT:OPEN (@101); CLOS (@102)
... is the same as sending the following two commands.
ROUT:OPEN (@101)
ROUT:CLOS (@102)
Use a colon and 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.
ROUT:CLOS (@101);: DIAG:REL:CYCL:CLE (@101)
Querying Parameter Settings
You can query the current value of most parameters by adding a question
mark ( ? ) to the command. For example, the following command closes
channel 101.
ROUT:CLOS (@101)
You can then query the current range settings by sending:
ROUT:CLOS? (@101)