2308-900-01 Rev. A / July 2008
Return to
Section Topics
6-9
Model 2308 Portable Device Battery/Charger Simulator User’s Manual
Section 6: GPIB Operation
:SENSe[1]:CURRent:RANGe? DEFault
Queries the *RST default value.
:SENSe[1]:CURRent:RANGe? MINimum
Queries the lowest allowable value.
:SENSe[1]:CURRent:RANGe? MAXimum
Queries the largest allowable value.
Case sensitivity
Common commands and SCPI commands are not case sensitive. You can use upper or lower
case and any case combination.
Examples:
*RST
=
*rst
:DATA?
=
:data?
:STATus:PRESet
= :
status:preset
Long-form and short-form versions
A SCPI command word can be sent in its long-form or short-form version. The command
subsystem tables in
Section 11
provide the long-form version. However, the short-form version is
indicated by upper case characters.
Examples:
:STATus:PRESet
long-form
:STAT:PRES
short-form
:STATus:PRES
long-form and short-form combination
Note that each command word must be in either long-form or short-form. For example,
:STATu:PRESe
is illegal and will generate an error. The command will not be executed.
Short-form rules
Use the following rules to determine the short-form version of any SCPI command or
parameter:
• If the length of the word is four letters or less, no short form version exists. Example:
:auto = :auto
These rules apply to words that exceed four letters:
• If the fourth letter of the word is a vowel, delete it and all the letters after it. Example:
:dvmeter = :dvm
• 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 (?; query) or a non-optional number included in
the command word, you must include it in the short-form version. Example:
:function? = :func?
:SOURce2 = :SOUR2
• Command words or characters that are enclosed in brackets ([ ]) are optional and need not
be included in the program message.
Program messages
A program message is made up of one or more command words sent by the computer to the
instrument. Each common command is a three letter acronym preceded by an asterisk (*). SCPI
commands are categorized in the subsystem. For example,
:STATus
subsystem will be used to
help explain how command words are structured to formulate program messages.
Summary of Contents for 2308
Page 2: ......
Page 12: ...This page left blank intentionally...
Page 32: ...This page left blank intentionally...
Page 106: ...This page left blank intentionally...
Page 140: ...This page left blank intentionally...
Page 208: ...This page left blank intentionally...
Page 220: ...This page left blank intentionally...