Programming Examples - 4

Status Byte Register

This register summarizes the information from all other status groups as defined in the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation. The bit configuration is shown in Table 4-1.

Command Action

*STB? - reads the data in the register but does not clear it (returns MSS in bit 6) serial poll - reads and clears the data in the register (returns RQS in bit 6)

The MSS Bit

This is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the Service Request Enable register. MSS is set whenever the ac source has one or more reasons for requesting service. *STB? reads the MSS in bit position 6 of the response but does not clear any of the bits in the Status Byte register.

The RQS Bit

The RQS bit is a latched version of the MSS bit. Whenever the ac source requests service, it sets the SRQ interrupt line true and latches RQS into bit 6 of the Status Byte register. When the controller does a serial poll, RQS is cleared inside the register and returned in bit position 6 of the response. The remaining bits of the Status Byte register are not disturbed.

The MAV bit and Output Queue

The Output Queue is a first-in, first-out (FIFO) data register that stores ac source-to-controller messages until the controller reads them. Whenever the queue holds one or more bytes, it sets the MAV bit (4) of the Status Byte register.

Examples

Determining the Cause of a Service Interrupt

You can determine the cause for an SRQ by the following actions:

Step 1

Determine which summary bits are active. Use:

*STB? or

serial poll

Step 2

Step 3

Read the corresponding Event register for each summary bit to determine which events caused the summary bit to be set. Use:

STATus:QUEStionable:EVENt?

STATus:OPERation:EVENt?

ESR?

When an Event register is read, it is cleared. This also clears the corresponding summary bit.

Remove the specific condition that caused the event. If this is not possible, the event may be disabled by programming the corresponding bit of the status group Enable register or NTRPTR filter. A faster way to prevent the interrupt is to disable the service request by programming the appropriate bit of the Service Request Enable register.

147

Page 147
Image 147
Agilent Technologies 6813B, 6834B, 6814B, 6843A, 6811B, 6812B manual Status Byte Register, Examples

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.