Command Syntax
You can control the power s upply through the USB interface or the GPIB interface
(G-version instruments only) using commands and queries.
This section describes the syntax these commands and queries use and the
conventions the power supply uses to process them. The commands and queries
themselves
are listed by group and alphabetically. (See page 2-7, Command
Groups.)
You tra nsm
it commands to the power supply using the enhanced American
Standard Code for Information Interchange (ASCII) character encoding. Appendix
A contains a chart of the ASCII character set.
The Backus N aur Form (BNF) notation is used in this manual to describe
commands and queries. (See Table 2-1.)
Table 2-1: BNF notation
Symbol Meaning
<>
Defined element
::=
Is defined as
| Exclusive OR
{ } Group; one element is required
[]
Optional; can be omitted
.. .
Previous element(s) may be repeated
( ) Comment
Command and Query Structure
Commands consist of set commands and query commands (usually simply called
commands and queries). Commands change power supply settings or perform a
specific action. Queries cause the power supply to return data and information
about its status.
Most commands have both a set form and a query form. The query form of the
command is the same as the set form except that it ends with a question mark.
For example, the set command STATus:OPERation:ENAble has a query form
STATus:OPERation:ENAble?. Not all commandshavebothasetandaquery
form; some commands are set only and some are query only.
A command message is a command or query name, followed by any information
the power supply needs to execute the command or query. Command messages
consist of five different element types. (See Table 2-3.)
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-1