2 - Introduction to Programming

The SCPI Command Tree

As previously explained, the basic SCPI communication method involves sending one or more properly formatted commands from the SCPI command tree to the instrument as program messages. The following figure shows a portion of a subsystem command tree, from which you access the commands located along the various paths (you can see the complete tree in appendix A).

ROOT

:OUTPut

 

 

 

 

 

[:STATe]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:COUPling

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:DFI

 

 

[:STATe]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:SOURce

 

 

 

 

 

 

:PROTection

 

 

:CLEar

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:DELay

 

 

 

 

 

 

 

 

 

:STATus

 

 

 

 

:OPERation

 

 

[:EVEN] ?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:CONDition?

 

 

 

 

 

 

 

 

 

 

Figure 2-1. Partial Command Tree

The Root Level

Note the location of the ROOT node at the top of the tree. Commands at the root level are at the top level of the command tree. The SCPI interface is at this location when:

υthe ac source is powered on

υa device clear (DCL) is sent to the ac source

υthe SCPI interface encounters a message terminator

υthe SCPI interface encounters a root specifier

Active Header Path

In order to properly traverse the command tree, you must understand the concept of the active header path. When the ac source is turned on (or under any of the other conditions listed above), the active path is at the root. That means the SCPI interface is ready to accept any command at the root level, such as OUTPut or STATe.

If you enter OUTPut, the active header path moves one colon to the right . The interface is now ready to accept :STATe, :COUPling, :DFI, or :PROTection as the next header. You must include the colon, because it is required between headers.

If you now enter :PROTection, the active path again moves one colon to the right. The interface is now ready to accept either :CLEar or :DELay as the next header.

18

Page 18
Image 18
Agilent Technologies 6834B, 6814B, 6843A, 6813B, 6811B, 6812B manual Scpi Command Tree, Root Level, Active Header Path

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.