Chapter 4 Remote Interface Reference

The SCPI Status Model

Using *STB? to Read the Status Byte

The *STB? (status byte query) command is similar to a serial poll except it is processed like any other instrument command. The *STB? command returns the same result as an IEEE-488serial poll except that the “request service” bit (bit 6) is not cleared if a serial poll has occurred. The *STB? command is not handled automatically by the IEEE-488bus interface hardware and the command will be executed only after previous commands have completed. Polling is not possible using the *STB? command. Using the *STB? command does not clear the status byte summary register.

To Interrupt Your Bus Controller Using SRQ

Send a bus device clear message.

Clear the event registers with the *CLS (clear status) command.

Set the *ESE (standard event register) and *SRE (status byte register) enable masks.

Send the *OPC? (operation complete query) command and enter the result to assure synchronization.

Enable your bus controller’s IEEE-488 SRQ interrupt.

To Determine When a Command Sequence is Completed

Send a device clear message to clear the multimeter’s output buffer.

Clear the event registers with the *CLS (clear status) command.

Enable “operation complete” using the *ESE 1 command (standard event register).

Send the *OPC? (operation complete query) command and enter the result to assure synchronization.

Send your programming command string, and place the *OPC (operation complete) command as the last command.

Use a serial poll to check to see when bit 5 (standard event) is set in the status byte summary register. You could also configure the multimeter for an SRQ interrupt by sending *SRE 32 (status byte enable register, bit 5).

138

Page 144
Image 144
Agilent Technologies 34401A manual Using *STB? to Read the Status Byte, To Interrupt Your Bus Controller Using SRQ

34401A specifications

Agilent Technologies 34401A is a highly reputable digital multimeter (DMM), renowned for its accuracy, versatility, and performance in a wide range of measurement applications. First introduced in the early 1990s, the 34401A has become a staple in laboratories, manufacturing environments, and educational institutions due to its robust build and comprehensive features.

One of the standout characteristics of the 34401A is its impressive accuracy, boasting a basic DC voltage accuracy of 0.0035%, making it ideal for precise measurements in electronic testing. The multimeter offers a wide range of measurement capabilities, including voltage (DC and AC), current (DC and AC), resistance, frequency, and continuity test, making it a highly versatile tool for engineers and technicians.

The 34401A utilizes a 6½-digit resolution, enabling the user to measure small changes in electrical signals with remarkable precision. With a sampling rate of up to 1000 readings per second, it can handle dynamic test requirements, providing timely results without sacrificing measurement integrity.

In terms of connectivity, the Agilent 34401A includes a GPIB (General Purpose Interface Bus) for remote operation, allowing users to automate their testing processes and integrate the multimeter easily into larger measurement systems. This feature is particularly beneficial in automated test environments, where speed and accuracy are paramount.

Additionally, the DMM incorporates advanced measurement functions, such as statistical analysis, including mean, standard deviation, and minimum/maximum readings, which provide users with valuable insights into their data. The instrument's user-friendly interface, complete with a clear digital display and intuitive controls, enhances usability and ensures that users can easily navigate its various functions.

Robust software support further extends the capabilities of the Agilent 34401A. It is compatible with a range of software tools for data logging and analysis, enabling users to efficiently document and analyze their measurements over time.

In summary, Agilent Technologies 34401A stands out in the realm of digital multimeters due to its high accuracy, extensive measurement functionalities, and user-friendly features. Whether for research and development, quality control, or educational purposes, the 34401A remains a preferred choice for professionals demanding reliable and precise measurement solutions. Its enduring legacy in the industry speaks to its performance and reliability, making it an essential tool for anyone involved in electronic testing and measurement.