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 sets the sample count to 10 readings:
"SAMP:COUN 10"
You can query the sample count by executing:
"SAMP:COUN?"
You can also query the minimum or maximum count allowed as follows:
"SAMP:COUN? MIN"
"SAMP:COUN? MAX"
Caution If you send two query commands without reading th e resp o nse from the
first, and then attempt to read the second response, yo u m a y receive some
data from the first response followed by the comple te sec ond response.
To avoid this, do not send a query command without reading the
response. When you cannot avoid this situation, send a device c lear
before sending the second query command.
SCPI Command Terminators
A command string sent to the multimeter must terminate with a
<new line> character. The IEEE-488 EOI (end-or-identify) message is
interpreted as a <new line> character and can be used to terminate a
command string in place of a <new line> character. A <carriage return>
followed by a <new line> is also accepted. Command string termination
will always reset the current SCPI command path to the root level.
4
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
157