Introduction to Programming - 2

Introduction to SCPI

SCPI (Standard Commands for Programmable Instruments) is a programming language for controlling instrument functions over the GPIB. SCPI is layered on top of the hardware-portion of IEEE 488.2. The same SCPI commands and parameters control the same functions in different classes of instruments. For example, you would use the same DISPlay command to control the ac source display and the display of a SCPI-compatible multimeter.

Conventions Used in This Guide

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, NORM TEXT

 

 

 

 

indicates that either "TEXT" or "NORM" can be used as a parameter.

Square Brackets

[

]

Items within square brackets are optional. The representation

 

 

 

 

[SOURce:]LIST means that SOURce: may be omitted.

Braces {

}

 

 

Braces indicate parameters that may be repeated zero or more times. It is

 

 

 

 

used especially for showing arrays. The notation <A>{<,B>} shows that

 

 

 

 

parameter "A" must be entered, while parameter "B" may be omitted or

 

 

 

 

may be entered one or more times.

Computer font

 

 

Computer font is used to show program lines in text. TRIGger:DELay .5

 

 

 

 

shows a program line.

Types of SCPI Commands

SCPI has two types of commands, common and subsystem.

υCommon commands generally are not related to specific operation 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 8

υ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.

Refer to appendix A for the ac source SCPI tree structure.

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.

υA response message consists of data in a specific SCPI format sent from the ac source to the controller. The ac source sends the message only when commanded by a program message called a "query."

17

Page 17
Image 17
Agilent Technologies 6812B Introduction to Scpi, Conventions Used in This Guide, Types of Scpi Commands, Computer font

6812B, 6811B, 6813B, 6834B, 6843A specifications

Agilent Technologies, a leader in electronic test and measurement equipment, offers a range of powerful signal sources including the 6843A, 6834B, 6814B, 6813B, and 6811B models. These instruments are designed to support various applications in research, development, and manufacturing, providing precise signal generation capabilities.

The Agilent 6843A is a versatile signal generator known for its exceptional frequency range and modulation capabilities. It supports an extensive bandwidth, making it ideal for applications that require high-frequency signal generation. With its superior phase noise performance, the 6843A is an excellent choice for radar, wireless communications, and electronic warfare applications. The instrument features an intuitive user interface, allowing engineers to set parameters quickly and efficiently.

Next, the Agilent 6834B offers exceptional performance characteristics, including high output power and low distortion. This signal generator is particularly noted for its ability to produce complex modulation formats, making it suitable for testing advanced wireless communication systems. With a reliable and stable output, the 6834B ensures accurate and repeatable measurements, which is vital for thorough testing processes.

The 6814B model stands out for its dual-channel capabilities, allowing users to generate simultaneous signals for testing multiple components or systems. This feature significantly enhances testing efficiency and flexibility for engineers. With built-in arbitrary waveform functionality, users can create custom waveforms, making the 6814B suitable for a wide range of applications including device characterization and signal processing research.

For those seeking a more compact solution, the Agilent 6813B provides essential signal generation features without compromising on performance. It is designed for a variety of applications across telecommunications and consumer electronics, featuring a straightforward interface and robust performance metrics.

Lastly, the 6811B is an entry-level yet capable model that supports a broad spectrum of testing needs. Perfect for educational and laboratory environments, it provides essential functionalities required for effective signal generation and analysis.

Overall, Agilent Technologies' 6843A, 6834B, 6814B, 6813B, and 6811B signal generators offer an array of features and technologies that cater to various application needs. Their precision, reliability, and user-oriented designs position them as invaluable assets in any testing environment, ensuring engineers can carry out their work with confidence and accuracy.