Chapter 2 — Programming with SCPI
Commands
2-1
Introduction
This chapter provides an introduction to SCPI programming that includes descriptions of the command types,
hierarchal command structure, data parameters, and notational conventions. Information on MG369xC status
system and trigger system programming is also provided.
2-2
Introduction to SCPI Programming
The Standard Commands for Programmable Instruments (SCPI) defines a set of standard programming
commands for use by all SCPI compatible instruments. SCPI is intended to give the ATE user a consistent
environment for program development. It does so by defining controller messages, instrument responses, and
message formats for all SCPI compatible instruments. The IEEE-488 (GPIB) interface for the MG369xC was
designed to conform to the requirements of SCPI 1993.0. The set of SCPI commands implemented by the
MG369xC GPIB interface provides a comprehensive set of programming functions covering all the major
functions of the MG369xC signal generator.
SCPI Command Types
SCPI commands, which are also referred to as SCPI instructions, are messages to the instrument to perform
specific tasks. The MG369xC command set includes:
• "Common" commands (IEE488.2 mandated commands)
• SCPI required commands
• SCPI optional commands (per SCPI 1993.0)
• SCPI compliant commands that are unique to the MG369xC
The SCPI conformance information for the MG369xC command set is contained in
Appendix B—SCPI Conformance Information.
Common Commands
The required common commands are IEEE-488.2 mandated commands that are defined in IEEE-488.2 and
must be implemented by all SCPI compatible instruments. These commands
asterisk (*) at the beginning of the command keyword. These commands are used to control instrument status
registers, status reporting, synchronization, and other common functions. The common commands and their
syntax are described in detail in
Table 2-1.
Common Commands
*CLS
*ESE
*ESE?
*ESR?
MG369xC SCPI PM
"Common Commands" on page
*IDN?
*OPC
*OPC?
PN: 10370-10375 Rev. E
(Table
3-1.
*RST
*SRE
*SRE?
2-1) are identified by the
*STB?
*TST?
*WAI
2-1
Need help?
Do you have a question about the MG369 C Series and is the answer not in the manual?
Questions and answers