2 short-form rules, 3 basic rules of command structure – B&K Precision 5491B - Manual User Manual
Page 45

45
Numeric value: A numeric value parameter can consist of a NRf number or one of the
following name parameters: DEFault, MINimum, MAXimum. When DEFault
parameter is used, the instrument is programmed to the *RST default value. When
the MINimum parameter is used, the instrument is programmed to the lowest
allowable value. When the MAXimum parameter is used, the instrument is
programmed to the largest allowable value. Examples:
:CURRent[:DC]:NPLCycles 1
:CURRent[:DC]:NPLCycles DEFault
:CURRent[:DC]:NPLCycles MINimum
:CURRent[:DC]:NPLCycles MAXimum
6.2.2 Short-form Rules
Use the following rules to determine the short-form version of any SCPI command:
If the length of the command word is four letters or less, no short form version exists. Example:
:AUTO =:AUTO
These rules apply to command words that exceed four letters:
If the fourth letter of the command word is a vowel, delete it and all the letters after it. Example:
:immediate =:imm
Rule exception
– The short form version of the following command uses only the first two letters of
the word.
:TCouple = :tc
If the fourth letter of the command word is a consonant, retain it but drop all the letters after it.
Example:
:format = :form
If the command contains a question mark (? for query) or a non-optional number included in the
command word, you must include it in the short-form version. Example:
:delay? = :del?
Command words or characters that are enclosed in brackets ([ ]) are optional and need not be
included in the program message.
6.2.3 Basic Rules of Command Structure
Letter case (upper and low) is ignored.
For example:
FUNC VOLT:DC = func volt:dc = Func Volt:Dc
Spaces (
“_” is used to indicate a space) must not be placed before and/or after the colon (:).
For example:
(wrong) FUNC VOLT_:_DC
(right) FUNC VOLT:DC
The command can be completely spelled out or in abbreviated type. (In the following description,
short form will be printed in upper case.)
For example:
FUNCTION VOLTAGE:DC = FUNC VOLT:DC