beautypg.com

BNC 1201 - 6 1/2 Digit Digital Multimeter User Manual

Page 138

background image

139

Instead of selecting a specific voltage range, you can substitute MIN to

set the range to its minimum value or MAX to set the range to its

maximum value.

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"

※ Note: If you send two query commands without reading the response

from the first, and then attempt to read the second response, you may

receive some data from the first response followed by the complete

second response. To avoid this, do not send a query command without

reading the response. When you cannot avoid this situation, send a

device clear before sending the second query command.

SCPI Command Terminators

A command string sent to the multimeter must terminate with a

line> character. The IEEE-488 EOI (end-or-identify) message is

interpreted as a character and can be used to terminate a

command string in place of a character. A

followed by a is also accepted. Command string termination

will always reset the current SCPI command path to the root level.