- •Contents
- •In This Book
- •To Prepare the Multimeter for Use
- •If the Multimeter Does Not Turn On
- •To Adjust the Carrying Handle
- •To Measure Voltage
- •To Measure Resistance
- •To Measure Current
- •To Measure Frequency (or Period)
- •To Check Diodes
- •To Select a Range
- •To Set the Resolution
- •Front-Panel Display Formats
- •To Rack Mount the Multimeter
- •Front-Panel Menu Reference
- •A Front-Panel Menu Tutorial
- •Messages Displayed During Menu Use
- •Menu Example 1
- •Menu Example 2
- •Menu Example 3
- •To Turn Off the Comma Separator
- •To Make Null (Relative) Measurements
- •To Store Minimum and Maximum Readings
- •To Make dB Measurements
- •To Make dBm Measurements
- •To Trigger the Multimeter
- •To Use Reading Hold
- •To Make dcv:dcv Ratio Measurements
- •To Use Reading Memory
- •Measurement Configuration
- •Math Operations
- •Triggering
- •System-Related Operations
- •Remote Interface Configuration
- •Calibration Overview
- •Operator Maintenance
- •Power-On and Reset State
- •Command Summary
- •Simplified Programming Overview
- •Using the MEASure? Command
- •Using the CONFigure Command
- •Using the range and resolution Parameters
- •Using the READ? Command
- •Using the INITiate and FETCh? Commands
- •The MEASure? and CONFigure Commands
- •Measurement Configuration Commands
- •Math Operation Commands
- •Triggering
- •Agilent 34401A Triggering System
- •The Wait-for-Trigger State
- •Triggering Commands
- •System-Related Commands
- •The SCPI Status Model
- •What is an Event Register?
- •What is an Enable Register?
- •SCPI Status System
- •The Status Byte
- •Using *STB? to Read the Status Byte
- •To Interrupt Your Bus Controller Using SRQ
- •To Determine When a Command Sequence is Completed
- •How to Use the Message Available Bit (MAV)
- •Using *OPC to Signal When Data is in the Output Buffer
- •The Standard Event Register
- •The Questionable Data Register
- •Status Reporting Commands
- •Calibration Commands
- •RS-232 Interface Configuration
- •RS-232 Configuration Overview
- •RS-232 Data Frame Format
- •Connection to a Computer or Terminal
- •RS-232 Troubleshooting
- •RS-232 Interface Commands
- •An Introduction to the SCPI Language
- •Command Format Used in This Manual
- •Command Separators
- •Using the MIN and MAX Parameters
- •Querying Parameter Settings
- •SCPI Command Terminators
- •IEEE-488.2 Common Commands
- •SCPI Parameter Types
- •Numeric Parameters
- •Discrete Parameters
- •Boolean Parameters
- •String Parameters
- •Output Data Formats
- •Using Device Clear to Halt Measurements
- •TALK ONLY for Printers
- •To Set the GPIB Address
- •To Select the Remote Interface
- •To Set the Baud Rate
- •To Set the Parity
- •To Select the Programming Language
- •Alternate Programming Language Compatibility
- •Agilent 3478A Language Setting
- •Fluke 8840A/8842A Language Setting
- •SCPI Compliance Information
- •IEEE-488 Compliance Information
- •Execution Errors
- •Self-Test errors
- •Calibration Errors
- •Using MEASure? for a Single Measurement
- •Using CONFigure with a Math Operation
- •Using the Status Registers
- •RS-232 Operation Using QuickBASIC
- •RS-232 Operation Using Turbo C
- •Thermal EMF Errors
- •Loading Errors (dc volts)
- •Leakage Current Errors
- •Rejecting Power-Line Noise Voltages
- •Common Mode Rejection (CMR)
- •Noise Caused by Ground Loops
- •Resistance Measurements
- •4-Wire Ohms Measurements
- •Removing Test Lead Resistance Errors
- •Power Dissipation Effects
- •Settling Time Effects
- •Errors in High Resistance Measurements
- •DC Current Measurement Errors
- •True RMS AC Measurements
- •Crest Factor Errors (non-sinusoidal inputs)
- •Loading Errors (ac volts)
- •Measurements Below Full Scale
- •High-Voltage Self-Heating Errors
- •Temperature Coefficient and Overload Errors
- •Low-Level Measurement Errors
- •Common Mode Errors
- •AC Current Measurement Errors
- •Frequency and Period Measurement Errors
- •Making High-Speed DC and Resistance Measurements
- •Making High-Speed AC Measurements
- •DC Characteristics
- •AC Characteristics
- •Frequency and Period Characteristics
- •General Information
- •Product Dimensions
- •To Calculate Total Measurement Error
- •Total Measurement Error
- •Interpreting Multimeter Specifications
- •Number of Digits and Overrange
- •Sensitivity
- •Resolution
- •Accuracy
- •Transfer Accuracy
- •24-Hour Accuracy
- •90-Day and 1-Year Accuracy
- •Temperature Coefficients
- •Configuring for Highest Accuracy Measurements
- •DC Voltage, DC Current, and Resistance Measurements
- •AC Voltage and AC Current Measurements
- •Frequency and Period Measurements
- •Index
Chapter 4 Remote Interface Reference
SCPI Compliance Information
SCPI Compliance Information
The following commands are device-specific to the Agilent 34401A. They are not included in the 1991.0 version of the SCPI standard. However, these commands are designed with the SCPI format in mind and they follow all of the syntax rules of the standard.
Many of the required SCPI commands are accepted by the multimeter but are not described in this manual for simplicity or clarity. Most of these non-documented commands duplicate the functionality of a command already described in this chapter.
CALCulate |
MEASure |
|
:AVERage:MINimum? |
:CONTinuity? |
|
:AVERage:MAXimum? |
:DIODe? |
|
:AVERage:AVERage? |
SAMPle |
|
:AVERage:COUNt? |
||
:COUNt {<value>|MINimum|MAXimum} |
||
:DB:REFerence {<value>|MINimum|MAXimum} |
||
:COUNt? [MINimum|MAXimum] |
||
:DB:REFerence? [MINimum|MAXimum] |
||
|
||
:DBM:REFerence {<value>|MINimum|MAXimum} |
[SENSe:] |
|
:DBM:REFerence? [MINimum|MAXimum] |
FUNCtion "CONTinuity" |
|
:FUNCtion {NULL|DB|DBM|AVERage|LIMit} |
FUNCtion "DIODe" |
|
:FUNCtion? |
FREQuency:VOLTage:RANGe {<range>|MINimum|MAXimum} |
|
:LIMit:LOWer {<value>|MINimum|MAXimum} |
FREQuency:VOLTage:RANGe? [MINimum|MAXimum] |
|
:LIMit:LOWer? [MINimum|MAXimum] |
FREQuency:VOLTage:RANGe:AUTO {OFF|ON} |
|
:LIMit:UPPer {<value>|MINimum|MAXimum} |
FREQuency:VOLTage:RANGe:AUTO? |
|
:LIMit:UPPer? [MINimum|MAXimum] |
PERiod:VOLTage:RANGe {<range>|MINimum|MAXimum} |
|
:NULL:OFFSet {<value>|MINimum|MAXimum} |
PERiod:VOLTage:RANGe? [MINimum|MAXimum] |
|
:NULL:OFFSet? [MINimum|MAXimum] |
PERiod:VOLTage:RANGe:AUTO {OFF|ON} |
|
CALibration |
PERiod:VOLTage:RANGe:AUTO? |
|
ZERO:AUTO? |
||
:COUNt? |
||
|
||
:SECure:CODE <new code> |
SYSTem |
|
:SECure:STATe {OFF|ON},<code> |
:LOCal |
|
:SECure:STATe? |
:REMote |
|
:STRing <quoted string> |
:RWLock |
|
:STRing? |
|
|
CONFigure |
|
|
:CONTinuity |
|
|
:DIODe |
|
|
INPut |
|
|
:IMPedance:AUTO {OFF|ON} |
|
|
:IMPedance:AUTO? |
|
|
|
|
168
Chapter 4 Remote Interface Reference
IEEE-488 Compliance Information
IEEE-488 Compliance Information
Dedicated Hardware Lines |
Addressed Commands |
|
|
||
ATN |
Attention |
DCL |
Device Clear |
|
|
IFC |
Interface Clear |
EOI |
End or Identify Message Terminator |
|
|
REN |
Remote Enable |
GET |
Group Execute Trigger |
|
|
SRQ |
Service Request Interrupt |
GTL |
Go to Local |
|
|
|
|
LLO |
Local Lock-Out |
|
|
|
|
SDC |
Selected Device Clear |
|
|
|
|
SPD |
Serial Poll Disable |
|
|
|
|
SPE |
Serial Poll Enable |
|
|
IEEE-488.2 Common Commands |
|
|
|
|
|
|
|
|
|
||
*CLS |
|
*RST |
|
|
4 |
*ESE <enable value> |
*SRE <enable value> |
|
|
||
|
|
||||
*ESE? |
|
*SRE? |
|
|
|
*ESR? |
|
*STB? |
|
|
|
*IDN? |
|
*TRG |
|
|
|
*OPC |
|
*TST? |
|
|
|
*OPC? |
|
|
|
|
|
*PSC |
{0|1} |
|
|
|
|
*PSC? |
|
|
|
|
|
|
|
|
|
|
|
169
170
5
5
Error
Messages
Error Messages
•Errors are retrieved in first-in-first-out (FIFO) order. The first error returned is the first error that was stored. When you have read all errors from the queue, theERROR annunciator turns off. The multimeter beeps once each time an error is generated.
•If more than 20 errors have occurred, the last error stored in the queue (the most recent error) is replaced with -350, “Too many errors”. No additional errors are stored until you remove errors from the queue. If no errors have occurred when you read the error queue, the multimeter responds with +0, “No error”.
•The error queue is cleared when power has been off or after a *CLS (clear status) command has been executed. The *RST (reset) command does not clear the error queue.
•Front-Panel Operation:
3: ERROR (SYS MENU)
If the ERROR annunciator is on, press Shift > (Recall Menu) to read the errors stored in the queue. The errors are listed horizontally on the “parameter” level. All errors are cleared when you go to the “parameter” level and then turn off the menu.
|
|
ERR 1: |
-113 |
|
|
||
First error in queue |
|
|
|
|
|
|
Error code |
|
|
|
|
|
|||
|
|
|
|
||||
• Remote Interface Operation:
SYSTem:ERRor? Reads one error from the error queue
Errors have the following format (the error string may contain up to 80 characters):
-113,"Undefined header"
172
