![background image](http://html1.mh-extra.com/html/california-instruments/801p-series/801p-series_user-and-programming-manual_3434434063.webp)
User and Programming Manual - Rev H
California Instruments
P Series
May 2000
55
12. Introduction to SCPI
SCPI (Standard Commands for Programmable Instruments) is a programming language for
controlling instrument functions over the RS232. The same SCPI commands and parameters
control the same functions in different classes of instruments. For example, you would use the
same MEAS:VOLT? command to measure the AC source output voltage or the output voltage
of a SCPI-compatible multimeter.
12.1 Conventions Used in This Manual
Angle brackets<>
Items within angle brackets are parameter abbreviations. For
example, <NR1> indicates a specific form of numerical data.
Vertical bar
Vertical bars separate alternative parameters. For example, 0 | 1
indicates that either "0" or "1" can be used as a parameter.
Square Brackets[]
Items within square brackets are optional. The representation
[SOURce:]VOLT means that SOURce: may be omitted.
Boldface font
Boldface font is used to emphasize syntax in command definitions.
CURR <NRf> shows a command definition.
Upper case font
Upper case font is used to show program lines in text. OUTP 1 shows
a program line.
12.2 The SCPI Commands and Messages
This paragraph explains the syntax difference between SCPI Commands and SCPI messages.
12.2.1 Types of SCPI Commands
SCPI has two types of commands, common and subsystem.
•
Common commands are generally not related to specific operations but to controlling
overall AC source functions such as reset, status and synchronization. All common
commands consist of a three-letter mnemonic preceded by an asterisk:
*RST
*IDN? *SRE 255
•
Subsystem commands perform specific AC source functions. They are organized into an
inverted tree structure with the "root" at the top. Some are single commands while others
are grouped within specific subsystems.
You must include the root header in all
commands send to the AC source.
Refer to appendix A for the AC source SCPI tree structure.
12.2.2 Types of SCPI Messages
There are two types of SCPI messages, program and response.
•
A program message consists of one or more properly formatted SCPI commands sent
from the controller to the AC source. The message, which may be sent at any time,
requests the AC source to perform some action.
Содержание 801P Series
Страница 2: ......
Страница 10: ...User and Programming Manual Rev H California Instruments May 2000 P Series 2 page intentionally left blank...
Страница 15: ...User and Programming Manual Rev H California Instruments P Series May 2000 7...
Страница 17: ...User and Programming Manual Rev H California Instruments P Series May 2000 9 page intentionally left blank...
Страница 33: ...User and Programming Manual Rev H California Instruments P Series May 2000 25 Page intentionally left blank...
Страница 39: ...User and Programming Manual Rev H California Instruments P Series May 2000 31 page intentionally left blank...
Страница 45: ...User and Programming Manual Rev H California Instruments P Series May 2000 37 page intentionally left blank...
Страница 56: ...User and Programming Manual Rev H California Instruments May 2000 P Series 48...
Страница 58: ...User and Programming Manual Rev H California Instruments May 2000 P Series 50 page left intentionally blank...
Страница 60: ...User and Programming Manual Rev H California Instruments May 2000 P Series 52 page left intentionally blank...
Страница 62: ...User and Programming Manual Rev H California Instruments May 2000 P Series 54 page left intentionally blank...
Страница 70: ...User and Programming Manual Rev H California Instruments May 2000 P Series 62 page left intentionally blank...
Страница 93: ...User and Programming Manual Rev H California Instruments P Series May 2000 85 page left intentionally blank...