Keysight Truevolt Series Operating And Service Manual page 197

Digital multimeters
Table of Contents

Advertisement

SCPI Programming Reference
Discrete Parameters
Discrete parameters are used to program settings that have a limited number of values (like IMMediate,
EXTernal or BUS). They have a short form and a long form just like command keywords. You can mix
upper- and lower-case letters. Query responses always return the short form in all upper-case letters. The
following example requires a discrete parameters for the temperature units:
UNIT:TEMPerature {C|F|K}
Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. For a false condition,
the instrument accepts "OFF" or "0". For a true condition, the instrument accepts "ON" or "1". When you
query a Boolean setting, the instrument returns "0" or "1". The following example requires a Boolean para-
meter:
DISPlay:STATe {ON|1|OFF|0}
ASCII String Parameters
String parameters can contain virtually any set of ASCII characters. A string must begin and end with
matching quotes; either with a single quote or a double quote. You can include the quote delimiter as part
of the string by typing it twice without any characters in between. The following command uses a string
parameter:
DISPlay:TEXT < quoted string >
For example, The following example displays the message "WAITING..." on the instrument's front panel
(the quotes are not displayed).
DISP:TEXT "WAITING..."
You can also display the same message using The following example with single quotes.
DISP:TEXT 'WAITING...'
198
Keysight True volt Series Operating and Service Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

34461a34465a34470a34460a

Table of Contents