Programming the Status Register System

Accessing Status Register Information

The query command *SRE? returns the decimal value of the sum of the bits previously enabled with the *SRE <num> command.

To query the Status Byte Register, send the command *STB?. The response will be the decimal sum of the bits which are set to 1. For example, if bit 7 and bit 3 are set, the decimal sum will be 136 (bit 7 = 128 and bit 3 = 8).

NOTE Multiple Status Byte Register bits can assert an SRQ, however only one bit at a time can set the RQS bit. All bits that are asserting an SRQ will be read as part of the status byte when it is queried or serial polled.

The SRQ process asserts SRQ as true and sets the status byte’s RQS bit to 1. Both actions are necessary to inform the controller that the signal generator requires service. Asserting SRQ informs the controller that some device on the bus requires service. Setting the RQS bit allows the controller to determine which signal generator requires service.

This process is initiated if both of the following conditions are true:

The corresponding bit of the Service Request Enable Register is also set to 1.

The signal generator does not have a service request pending.

A service request is considered to be pending between the time the signal generator’s SRQ process is initiated and the time the controller reads the status byte register.

If a program enables the controller to detect and respond to service requests, it should instruct the controller to perform a serial poll when SRQ is true. Each device on the bus returns the contents of its status byte register in response to this poll. The device whose request service summary (RQS) bit is set to 1 is the device that requested service.

NOTE When you read the signal generator’s Status Byte Register with a serial poll, the RQS bit is reset to 0. Other bits in the register are not affected.

If the status register is configured to SRQ on end- of- sweep or measurement and the mode set to continuous, restarting the measurement (INIT command) can cause the measuring bit to pulse low. This causes an SRQ when you have not actually reached the “end- of- sweep” or measurement condition. To avoid this, do the following:

1.Send the command INITiate:CONTinuous OFF.

2.Set/enable the status registers.

3.Restart the measurement (send INIT).

Status Register SCPI Commands

Most monitoring of signal generator conditions is done at the highest level using the IEEE 488.2 common commands listed below. You can set and query individual status registers using the commands in the STATus subsystem.

*CLS (clear status) clears the Status Byte Register by emptying the error queue and clearing all the event registers.

*ESE, *ESE? (event status enable) sets and queries the bits in the Standard Event Enable Register which is part of the Standard Event Status Group.

Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide

151

Page 161
Image 161
Agilent Technologies N5181A/82A, N5183A MXG, E8663B manual Status Register Scpi Commands

N5183A, N5183A MXG, E8663B, N5181A/82A specifications

Agilent Technologies is renowned for its innovative solutions in electronic test and measurement equipment. Among its offerings are several signal generators including the N5181A, N5182A, E8663B, and N5183A MXG. These models are distinguished not only by their performance but also by their versatility across various applications in communications, aerospace, and electronics.

The Agilent N5181A and N5182A, part of the MXG family, are highly versatile signal generators known for their exceptional frequency performance and flexibility. The N5181A operates from 100 kHz to 6 GHz, while the N5182A extends that range up to 12 GHz. They provide high fidelity signals with low phase noise, making them ideal for the development and testing of RF components and systems. These generators support a wide variety of modulation formats, including AM, FM, PM, and pulse modulation, catering to diverse application needs.

The E8663B, meanwhile, is designed for the range of 250 kHz to 3 GHz and is also recognized for its high-performance features. Its built-in capabilities for modulation make it effective for testing wireless devices, ensuring that signals can be simulated accurately in both laboratory and field environments. It is especially beneficial for users requiring a straightforward and efficient solution with high reliability.

The N5183A MXG signal generator enhances the lineup with frequency coverage up to 6 GHz and advanced capabilities. It integrates various modulation capabilities while ensuring high signal integrity. Its architecture is tailored for both production test environments and research applications, providing users with the flexibility to adapt to changing testing requirements.

Common characteristics across these models include a user-friendly interface that simplifies configuration and operation. They are often equipped with LAN and USB interfaces for easy remote control and integration into automated test systems. The robustness of these generators allows them to perform reliably in challenging environments, making them essential tools in laboratories, manufacturing floors, and field testing scenarios.

In summary, Agilent's signal generators, including the N5181A, N5182A, E8663B, and N5183A MXG, represent a blend of advanced technology, flexibility, and precision. These instruments are vital in facilitating the evolution of cutting-edge communication technologies, ensuring that designers and engineers can confidently meet the demands of modern electronics.