
Publication Number 34970-90003 (order as 34970-90101 manual set) Edition 3, March 2003
© Copyright Agilent Technologies, Inc. 1997-2003
For Safety information, Warranties, and Regulatory information, see the pages following the Index.



The Agilent Technologies 34970A combines precision measurement capability with flexible signal connections for your production and development test systems. Three module slots are built into the rear of the instrument to accept any combination of data acquisition or switching modules. The combination of data logging and data acquisition features makes this instrument a versatile solution for your testing requirements now and in the future.
Convenient Data Logging Features
Flexible Data Acquisition / Switching Features


Denotes a menu key. See the next page for details on menu operation.
1 State Storage / Remote Interface Menus 2 Scan Start / Stop Key 3 Measurement Configuration Menu 4 Scaling Configuration Menu 5 Alarm / Alarm Output Configuration Menu 6 Scan-to-Scan Interval Menu 7 Scan List Single Step / Read Key
8 Advanced Measurement / Utility Menus 9 Low-Level Module Control Keys 10 Single-Channel Monitor On / Off Key 11 View Scanned Data, Alarms, Errors Menu 12 Shift / Local Key 13 Knob 14 Navigation Arrow Keys

Several of the front-panel keys guide you through menus to configure various parameters of the instrument (see previous page). The following steps demonstrate the menu structure using the key.
1 Press the menu key. You are automatically guided to the first level of the menu. Rotate the knob to view the other choices on the first level of the menu. The menu will automatically timeout after about 20 seconds of inactivity. You will be returned to the operation in progress prior to entering the menu.
2 Press the same menu key again to move to the next item of the menu. Typically, this is where you choose parameter values for the selected operation.
3 Rotate the knob to view the choices on this level of the menu. When you reach the end of the list, rotate the knob in the opposite direction to view all of the other choices.
The current selection is highlighted for emphasis. All other choices are dimmed.
4 Press the same menu key again to accept the change and exit the menu. A brief confirmation message is displayed.

SCAN MON VIEW CONFIG ADRS RMT ERROR EXT ONCE MEM LAST MIN MAX SHIFT 4W OC
Scan is in progress or enabled. Press and hold again to turn off. Monitor mode is enabled. Press again to turn off. Scanned readings, alarms, errors, or relay cycles are being viewed. Channel configuration is in progress on displayed channel. Measurement is in progress. Instrument is addressed to listen or talk over the remote interface. Instrument is in remote mode (remote interface). Hardware or remote interface errors are detected. Press to read errors. Instrument is configured for an external scan interval. Scan Once mode is enabled. Press to initiate and hold key to disable. Reading memory overflow; new readings will overwrite the oldest readings. Viewed data is the last reading stored during most recent scan. Viewed data is the minimum reading stored during most recent scan. Viewed data is the maximum reading stored during most recent scan.
has been pressed. Press again to turn off. 4-wire function is in use on displayed channel. Offset compensation is enabled on displayed channel. Alarms are enabled on displayed channel. Mx+B scaling is enabled on displayed channel. HI or LO alarm condition has occurred on indicated alarms.
To review the display annunciators, hold down the key as you turn on the instrument.


1 Slot Identifier (100, 200, 300) 2 Ext Trig Input / Alarm Outputs / Channel Advance Input / Channel Closed Output (for pinouts, see pages 83 and 128) 3 RS-232 Interface Connector
4 Power-Line Fuse-Holder Assembly 5 Power-Line Voltage Setting 6 Chassis Ground Screw 7 GP-IB (IEEE-488) Interface Connector

Agilent BenchLink Data Logger is a Windows-based application designed to make it easy to use the 34970A with your PC for gathering and analyzing measurements. Use the software to set up your test, acquire and archive measurement data, and perform real-time display and analysis of your incoming measurements.
BenchLink Data Logger’s key functions include the following:
To install the software, refer to “Installing BenchLink Data Logger Software” on page 18.
To learn more about the software and its capabilities, refer to the On-Line Help System for BenchLink Data Logger.

For complete specifications on each plug-in module, refer to the module sections in chapter 9.
Each of the 20 channels switches both HI and LO inputs, thus providing fully isolated inputs to the internal multimeter. The module is divided into two banks of 10 two-wire channels each. When making four-wire resistance measurements, channels from Bank A are automatically paired with channels from Bank B. Two additional fused channels are included on the module (22 channels total) for making calibrated DC or AC current measurements with the internal multimeter (external shunt resistors are not required). You can close multiple channels on this module only if you have not configured any channels to be part of the scan list. Otherwise, all channels on the module are break-before-make.
Use this module for high-speed scanning and high-throughput automated test applications. Each of the 16 channels switches both HI and LO inputs, thus providing fully isolated inputs to the internal multimeter. The module is divided into two banks of eight two-wire channels each. When making four-wire resistance measurements, channels from Bank A are automatically paired with channels from Bank B. You can close multiple channels on this module only if you have not configured any channels to be part of the scan list. Otherwise, all channels on the module are break-before-make.

Use this module for those applications that require high-integrity contacts or quality connections of non-multiplexed signals. This module can switch 300 V, 1 A (50 W maximum switch power) to your device under test or to actuate external devices. Screw terminals on the module provide access to the Normally-Open, Normally-Closed, and Common contacts for each of the 20 switches. A breadboard area is provided near the screw terminals to implement custom circuitry, such as simple filters, snubbers, or voltage dividers.
Use this module to connect multiple instruments to multiple points on your device under test at the same time. You can connect rows and columns between multiple modules to build larger matrices such as 8x8 and 4x16, with up to 96 crosspoints in a single mainframe.
These modules offer wideband switching capabilities for high frequency and pulsed signals. Each module is organized in two independent banks of 4-to-1 multiplexers. Both modules offer low crosstalk and excellent insertion loss performance. To create larger RF multiplexers, you can cascade multiple banks together. Only one channel in each bank may be closed at a time.

Use this module to sense status and control external devices such as solenoids, power relays, and microwave switches. For greater flexibility, you can read digital inputs and the count on the totalizer during a scan.
Use this module for high-density switching applications which require single-wire inputs with a common LO. All relays are break-before-make to ensure that only one relay is connected at any time.

Quick Start Chapter 1 helps you get familiar with a few of the instrument’s front-panel features. This chapter also shows how to install the BenchLink Data Logger software.
Front-Panel Overview Chapter 2 introduces you to the front-panel menus and describes some of the instrument’s menu features.
System Overview Chapter 3 gives an overview of a data acquisition system and describes how parts of a system work together.
Features and Functions Chapter 4 gives a detailed description of the instrument’s capabilities and operation. You will find this chapter useful whether you are operating the instrument from the front panel or over the remote interface.
Remote Interface Reference Chapter 5 contains reference information to help you program the instrument over the remote interface using the SCPI language.
Error Messages Chapter 6 lists the error messages that may appear as you are working with the instrument. Each listing contains enough information to help you diagnose and solve the problem.
Application Programs Chapter 7 contains several remote interface program examples to help you develop programs for your application.
Tutorial Chapter 8 discusses measurement considerations and techniques to help you obtain the best accuracies and reduce sources of measurement noise.
Specifications Chapter 9 lists the technical specifications for the mainframe and plug-in modules.
If you have questions relating to the operation of the 34970A, call 1-800-452-4844 in the United States, or contact your nearest Agilent Technologies Sales Office.
If your 34970A fails within three years of original purchase, Agilent will either repair or replace it free of charge. Call 1-877-447-7278 and ask for “Express Exchange” or contact your local Agilent office.










One of the first things you will want to do with your instrument is to become acquainted with the front panel. We have written the exercises in this chapter to prepare the instrument for use and help you get familiar with some of its front-panel operations.
The front panel has several groups of keys to select various functions and operations. A few keys have a shifted function printed in blue below the key. To perform a shifted function, press (the SHIFT annunciator will turn on). Then, press the key that has the desired label below it. For example, to select the Utility Menu, press .
If you accidentally press , just press it again to turn off the SHIFT annunciator.
This chapter is divided into the following sections:

Chapter 1 Quick Start To Prepare the Instrument for Use
1 Check the list of supplied items.
Verify that you have received the following items with your instrument. If anything is missing, contact your nearest Agilent Technologies Sales Office.
One power cord.
This User’s Guide.
One Service Guide.
One Quick Reference Guide.
Certificate of Calibration (if you ordered the internal DMM).
Any plug-in modules that you ordered are delivered in a separate shipping container.
2 Connect the power cord and turn on the instrument.
The front-panel display will light up briefly while the instrument performs its power-on self-test. The GPIB address is also displayed. The instrument initially powers up with all measurement channels turned off. To review the power-on display with all annunciators turned on, hold down as you turn on the instrument. If the instrument does not turn on properly, see page 27.
3 Perform a complete self-test.
The complete self-test performs a more extensive set of tests than those performed at power-on. Hold down as you turn on the instrument and hold down the key until you hear a long beep. The self-test will begin when you release the key following the beep.
If the self-test fails, see the 34970A Service Guide for instructions on returning the instrument to Agilent for service.
On/Standby Switch

Chapter 1 Quick Start Installing BenchLink Data Logger Software
If you ordered the 34970A with the internal DMM, then the BenchLink Data Logger software is included. The software is shipped on one CD-ROM, but includes a utility to build installation floppy disks. To install the software on your PC, you will need a minimum of 12 MB of free disk space.
For system requirements and additional details on the features of the software, refer to the specifications in chapter 9.
If you are running Windows 95 or Windows NT 4.0 ®
If you are running Windows ® 3.1

Chapter 1 Quick Start Installing BenchLink Data Logger Software
You have the option to create an installation on floppy disks from the CD-ROM installation utility. This utility is provided so that you can install BenchLink Data Logger on a computer that does not have a CD-ROM drive.
The software is shipped with an extensive on-line Help system to help you learn the features of the software as well as troubleshoot any problems that might arise as you are using the software. As you are installing the software, you will notice that the on-line Help system is available in several languages.

Chapter 1 Quick Start To Connect Wiring to a Module

1 Remove the module cover. 2 Connect wiring to the screw terminals.

Chapter 1 Quick Start To Connect Wiring to a Module

Thermocouple Types: B, E, J, K, N, R, S, T See page 351 for thermocouple color codes.
4-Wire Ohms / RTD 2-Wire Ohms / RTD / Thermistor
Ranges: 100, 1 k, 10 k, 100 k, 1 M, 10 M, 100 MΩ RTD Types: 0.00385, 0.00391 Thermistor Types: 2.2 k, 5 k, 10 k
Channel n (source) is automatically paired with Channel n+10 (sense) on the 34901A or Channel n+8 (sense) on the 34902A.
Valid only on channels 21 and 22 on the 34901A. Ranges: 10 mA, 100 mA, 1A
Ranges: 100, 1 k, 10 k, 100 k, 1 M, 10 M, 100 MΩ RTD Types: 0.00385, 0.00391

Chapter 1 Quick Start To Set the Time and Date
All readings during a scan are automatically time stamped and stored in non-volatile memory. In addition, alarm data is time stamped and stored in a separate non-volatile memory queue.

Use and to select the field to modify and turn the knob to change the value. You can also edit the AM/PM field.
Use and to select the field to modify and turn the knob to change the value.

Chapter 1 Quick Start To Configure a Channel for Scanning
Any channel that can be “read” by the instrument can also be included in a scan. This includes readings on multiplexer channels, a read of a digital port, or a read of the count on a totalizer channel. Automated scanning is not allowed with the RF multiplexer, matrix, actuator, digital output, or voltage output (DAC) modules.
1 Select the channel to be added to the scan list.
Turn the knob until the desired channel is shown on the right side of front-panel display. The channel number is a three-digit number; the left-most digit represents the slot number (100, 200, or 300) and the two digits on the right indicate the channel number (102, 110, etc.).
For this example, assume that you have the 34901A multiplexer installed in slot 100 and select channel 103.
2 Select the measurement parameters for the selected channel.
Use the knob to scroll through the measurement choices on each level of the menu. When you press to make your selection, the menu automatically guides you through all relevant choices to configure a measurement on the selected function. When you have finished configuring the parameters, you are automatically exited from the menu.
The current selection (or default) is displayed in full bright for easy identification. When you make a different selection, the new choice is shown in full bright and it becomes the default selection. The order of the choices always remains the same; however, you always enter the menu at the current (full bright) setting for each parameter.
For this example, configure channel 103 to measure a J-type thermocouple with 0.1 °C of display resolution.

Chapter 1 Quick Start To Configure a Channel for Scanning
3 Run the scan and store the readings in non-volatile memory.
The instrument automatically scans the configured channels in consecutive order from slot 100 through slot 300 (the SCAN annunciator turns on). Channels that are not configured are skipped during the scan. In the default configuration, the instrument continuously scans the configured channels at a 10-second interval.
Press and hold to stop the scan.
4 View the data from the scan.
All readings taken during a scan are automatically time stamped and stored in non-volatile memory. During the scan, the instrument calculates and stores the minimum, maximum, and average on all channels in the scan list. You can read the contents of memory at any time, even during a scan.
From the front panel, data is available for the last 100 readings on each channel readings taken during a scan (all of the data is available from the remote interface). From the View menu, select READINGS and press
again. Then press and to choose the data you want to view for the selected channel as shown in the table below.
Select Channel Last Reading on Channel Time of Last Reading Minimum Reading on Channel Time of Minimum Reading Maximum Reading on Channel Time of Maximum Reading Average of Readings on Channel Second Most Recent Reading on Channel Third Most Recent Reading on Channel
99th Most Recent Reading on Channel
and

Chapter 1 Quick Start To Copy a Channel Configuration
After configuring a channel to be included in the scan list, you can copy that same configuration to other channels in the instrument (including digital channels on the multifunction module). This feature makes it easy to configure several channels for the same measurement. When you copy the configuration from one channel to another, the following parameters are automatically copied to the new channel:
1 Select the channel to copy the configuration from.

Turn the knob until the desired channel is shown on the right side of front-panel display. For this example, let’s copy the configuration from channel 103.
Use the knob to scroll through the measurement choices until you see COPY CONFIG. When you press to make your selection, the menu automatically guides you to the next step.
3 Select the channel to copy the configuration to.
Turn the knob until the desired channel is shown on the right side of front-panel display. For this example, let’s copy the configuration to channel 105.
4 Copy the channel configuration to the selected channel.

Chapter 1 Quick Start To Close a Channel
On the multiplexer and switch modules, you can close and open individual relays on the module. However, note that if you have already configured any multiplexer channels for scanning, you cannot independently close and open individual relays on that module.
1 Select the channel.
Turn the knob until the desired channel is shown on the right side of front-panel display. For this example, select channel 213.
2 Close the selected channel.
3 Open the selected channel.
The table below shows the low-level control operations available for each of the plug-in modules.
[1] Only one channel can be closed at a time on this module. [2] Only one channel in each bank can be closed at a time on this module.

Chapter 1 Quick Start If the Instrument Does Not Turn On
Use the following steps to help solve problems you might encounter when turning on the instrument. If you need more help, refer to the 34970A Service Guide for instructions on returning the instrument to Agilent for service.
1 Verify that there is ac power to the instrument.
First, verify that the power cord is firmly plugged into the power receptacle on the rear panel of the instrument. You should also make sure that the power source you plugged the instrument into is energized. Then, verify that the instrument is turned on.
The On/Standby switch is located on the lower left side of the front panel.
2 Verify the power-line voltage setting.
The line voltage is set to the proper value for your country when the instrument is shipped from the factory. Change the voltage setting if it is not correct. The settings are: 100, 120, 220, or 240 Vac.
See the next page if you need to change the line voltage setting.
3 Verify that the power-line fuse is good.
The instrument is shipped from the factory with a 500 mA fuse installed. This is the correct fuse for all line voltages.
See the next page if you need to replace the power-line fuse.
To replace the 500 mAT, 250 V fuse, order Agilent part number 2110-0458.

Chapter 1 Quick Start If the Instrument Does Not Turn On

1 Remove the power cord. Remove the fuse-holder assembly from the rear panel.
3 Rotate the line-voltage selector until the correct voltage appears in the window.
4 Replace the fuse-holder assembly in the rear panel.
Verify that the correct line voltage is selected and the power-line fuse is good.

Chapter 1 Quick Start To Adjust the Carrying Handle
To adjust the position, grasp the handle by the sides and pull outward. Then, rotate the handle to the desired position.
Bench-top viewing positions Carrying position

Chapter 1 Quick Start To Rack Mount the Instrument
You can mount the instrument in a standard 19-inch rack cabinet using one of three optional kits available. Instructions and mounting hardware are included with each rack-mounting kit. Any Agilent System II instrument of the same size can be rack-mounted beside the 34970A.
To remove the handle, rotate it to the vertical position and pull the ends outward.
Front Rear (bottom view)
To remove the rubber bumper, stretch a corner and then slide it off.

Chapter 1 Quick Start To Rack Mount the Instrument
To rack mount a single instrument, order adapter kit 5063-9240.
To rack mount two instruments side-by-side, order lock-link kit 5061-9694 and flange kit 5063-9212. Be sure to use the support rails inside the rack cabinet.
To install one or two instruments in a sliding support shelf, order shelf 5063-9255, and slide kit 1494-0015 (for a single instrument, also order filler panel 5002-3999).






Chapter 2 Front-Panel Overview Front-Panel Menu Reference
This section gives an overview of the front-panel menus. The menus are designed to automatically guide you through all parameters required to configure a particular function or operation. The remainder of this chapter shows examples of using the front-panel menus.
Configure the measurement parameters on the displayed channel.
Configure the scaling parameters for the displayed channel.
Configure alarms on the displayed channel.
Configure the four Alarm Output hardware lines.
Configure the event or action that controls the scan interval.

Chapter 2 Front-Panel Overview Front-Panel Menu Reference
Configure the advanced measurement features on displayed channel.
Configure system-related instrument parameters.
View readings, alarms, and errors.
Store and recall instrument states.
Configure the remote interface.

Chapter 2 Front-Panel Overview To Monitor a Single Channel
You can use the Monitor function to continuously take readings on a single channel, even during a scan. This feature is useful for troubleshooting your system before a test or for watching an important signal.
1 Select the channel to be monitored.
Only one channel can be monitored at a time but you can change the channel being monitored at any time by turning the knob.
2 Enable monitoring on the selected channel.
Any channel that can be “read” by the instrument can be monitored (the MON annunciator turns on). This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. You can also monitor a digital input port or the totalizer count on the multifunction module.
To disable monitoring, press again.

Chapter 2 Front-Panel Overview To Set a Scan Interval
You can set the instrument’s internal timer to automatically scan at a specific interval (e.g., start a new scan sweep every 10 seconds) or when an external TTL trigger pulse is received. You can configure the instrument to scan continuously or to stop after sweeping through the scan list a specified number of times.
1 Select the interval scan mode.
For this example, select the Interval Scan mode which allows you to set the time from the start of one scan sweep to the start of the next scan sweep. Set the interval to any value between 0 and 99 hours.
2 Select the scan count.
You can specify the number of times that the instrument will sweep through the scan list (the default is continuous). When the specified number of sweeps have occurred, the scan stops. Set the scan count to any number between 1 and 50,000 scans (or continuous).
3 Run the scan and store the readings in memory.
·

Chapter 2 Front-Panel Overview To Apply Mx+B Scaling to Measurements
The scaling function allows you to apply a gain and offset to all readings on a specified multiplexer channel during a scan. In addition to setting the gain (“M”) and offset (“B”) values, you can also specify a custom measurement label for your scaled readings (RPM, PSI, etc.).
1 Configure the channel.
You must configure the channel (function, transducer type, etc.) before applying any scaling values. If you change the measurement configuration, scaling is turned off on that channel and the gain and offset values are reset (M=1 and B=0).
2 Set the gain and offset values.
The scaling values are stored in non-volatile memory for the specified channels. A Factory Reset turns off scaling and clears the scaling values on all channels. An Instrument Preset or Card Reset does not clear the scaling values and does not turn off scaling.
,
3 Select the custom label.
You can specify an optional three-character label for your scaled readings (RPM, PSI, etc.). The default label is the standard engineering unit for the selected function (VDC, OHM, etc.).
4 Run the scan and store the scaled readings in memory.

Chapter 2 Front-Panel Overview To Configure Alarm Limits
The instrument has four alarms which you can configure to alert you when a reading exceeds specified limits on a channel during a scan. You can assign a high limit, a low limit, or both to any configured channel in the scan list. You can assign multiple channels to any of the four available alarms (numbered 1 through 4).
1 Configure the channel.
You must configure the channel (function, transducer type, etc.) before setting any alarm limits. If you change the measurement configuration, alarms are turned off and the limit values are cleared. If you plan to use Mx+B scaling on a channel which will also use alarms, be sure to configure the scaling values first.
2 Select which of the four alarms you want to use.
3 Select the alarm mode on the selected channel.
You can configure the instrument to generate an alarm when a measurement exceeds the specified HI or LO limits (or both) on a measurement channel.

Chapter 2 Front-Panel Overview To Configure Alarm Limits
4 Set the limit value.
The alarm limit values are stored in non-volatile memory for the specified channels. The default values for the high and low limits are “0”. The low limit must always be less than or equal to the high limit, even if you are using only one of the limits. A Factory Reset clears all alarm limits and turns off all alarms. An Instrument Preset or Card Reset does not clear the alarm limits and does not turn off alarms.
, °
5 Run the scan and store the readings in memory.
If an alarm occurs on a channel as it is being scanned, then that channel’s alarm status is stored in reading memory as the readings are taken. Each time you start a new scan, the instrument clears all readings (including alarm data) stored in reading memory from the previous scan. As alarms are generated, they are also logged in an alarm queue, which is separate from reading memory. Up to 20 alarms can be logged in the alarm queue. Reading the alarm queue using the View menu clears the alarms in the queue.

Chapter 2 Front-Panel Overview To Read a Digital Input Port
The multifunction module (34907A) has two non-isolated 8-bit input/output ports which you can use for reading digital patterns. You can read the live status of the bits on the port or you can configure a scan to include a digital read.
1 Select the Digital Input port.
Select the slot containing the multifunction module and continue turning the knob until DIN is displayed (channel 01 or 02).
2 Read the specified port.
You can specify whether you want to use binary or decimal format. Once you have selected the number base, it is used for all input or output operations on the same port. To change the number base, press the key and select USE BINARY or USE DECIMAL.
Bit 7 Bit 0
The bit pattern read from the port will be displayed until you press another key, turn the knob, or until the display times out.
Binary Display Shown

Chapter 2 Front-Panel Overview To Write to a Digital Output Port
The multifunction module (34907A) has two non-isolated 8-bit input/output ports which you can use for outputting digital patterns.
1 Select the Digital Output port.
Select the slot containing the multifunction module and continue turning the knob until DIN is displayed (channel 01 or 02).
2 Enter the bit pattern editor.
Bit 7 Bit 0
3 Edit the bit pattern.
Use the knob and or keys to edit the individual bit values. You can specify whether you want to use binary or decimal format. Once you have selected the number base, it is used for all input or output operations on the same port. To change the number base, press the key and select USE BINARY or USE DECIMAL.
4 Output the bit pattern to the specified port.
The specified bit pattern is latched on the specified port. To cancel an output operation in progress, wait for the display to time out.
Binary Display Shown · · Decimal Display Shown

Chapter 2 Front-Panel Overview To Read the Totalizer Count
The multifunction module (34907A) has a 26-bit totalizer which can count pulses at a 100 kHz rate. You can manually read the totalizer count or you can configure a scan to read the count.
1 Select the totalizer channel.
Select the slot containing the multifunction module and continue turning the knob until TOTALIZE is displayed (channel 03).
2 Configure the totalize mode.
The internal count starts as soon as you turn on the instrument. You can configure the totalizer to reset the count to “0” after being read or it can count continuously and be manually reset.
3 Read the count.
The count is read once each time you press ; the count does not update automatically on the display. As configured in this example, the count is automatically reset to “0” each time you read it.
The count will be displayed until you press another key, turn the knob, or until the display times out. To manually reset the totalizer count, press .

Chapter 2 Front-Panel Overview To Output a DC Voltage
The multifunction module (34907A) has two analog outputs capable of outputting calibrated voltages between ±12 volts.

Select the slot containing the multifunction module and continue turning the knob until DAC is displayed (channel 04 or 05).
Use the knob and or keys to edit the individual digits.
4 Output the voltage from the selected DAC.
The output voltage will be displayed until you press another key or turn the knob. To manually reset the output voltage to 0 volts, press .

Chapter 2 Front-Panel Overview To Configure the Remote Interface
The instrument is shipped with both an GPIB (IEEE-488) interface and an RS-232 interface. Only one interface can be enabled at a time. The GPIB interface is selected when the instrument is shipped from the factory.
1 Select the GPIB (HPIB) interface.
2 Select the GPIB address.
You can set the instrument’s address to any value between 0 and 30. The factory setting is address “9”.
3 Save the change and exit the menu.

Chapter 2 Front-Panel Overview To Configure the Remote Interface
1 Select the RS-232 interface.
2 Select the baud rate.
Select one of the following: 1200, 2400, 4800, 9600, 19200, 38400, 57600 (factory setting), or 115200 baud.
3 Select the parity and number of data bits.
Select one of the following: None (8 data bits, factory setting), Even (7 data bits), or Odd (7 data bits). When you set the parity, you are also indirectly setting the number of data bits.
4 Select the flow control method.
Select one of the following: None (no flow control), RTS/CTS, DTR/DSR, XON/XOFF (factory setting), or Modem.
!"
5 Save the changes and exit the menu.

Chapter 2 Front-Panel Overview To Store the Instrument State
You can store the instrument state in one of five non-volatile storage locations. A sixth storage location automatically holds the power-down configuration of the instrument. When power is restored, the instrument can automatically return to its state before power-down (a scan in progress before power-down will also be resumed).
1 Select the storage location.
From the front panel, you have the ability to assign names (up to 12 characters) to each of the five stored states.
The storage locations are numbered 1 through 5. The power-down state is automatically stored and can be recalled from the front panel (the state is named LAST PWR DOWN).
2 Store the instrument state.
The instrument stores all channel configurations, alarm values, scaling values, scan interval setups, and advanced measurement configurations.


This chapter provides an overview of a computer-based system and describes the parts of a data acquisition system. This chapter is divided into the following sections:
You can use the Agilent 34970A as a stand-alone instrument but there are many applications where you will want to take advantage of the built-in PC connectivity features. A typical data acquisition system is shown below.
Computer and Software Interface Cable 34970A Plug-in Modules

Transducers, · System Cabling · Sensors, and Events

Chapter 3 System Overview Data Acquisition System Overview
The system configuration shown on the previous page offers the following advantages:
Since computers and operating systems are the subject of many books and periodicals, they are not discussed in this chapter. In addition to the computer and operating system, you will need a serial port (RS-232) or GPIB port (IEEE-488) and an interface cable.
Serial (RS-232) GPIB (IEEE-488)
Advantages Disadvantages Advantages Disadvantages
Often built into the computer; no additional hardware is required.
Cable length is limited to 45 ft (15 m). *
Speed; faster data and command transfers.
Cable length is limited to 60 ft (20 m). *
Drivers usually included in the operating system.
Only one instrument or device can be connected per serial port.
Additional system flexibility, multiple instruments can be connected to the same GPIB port.
Requires an expansion slot plug-in card in PC and associated drivers.
Cables readily available and inexpensive.
Cabling is susceptible to noise, causing slow or lost communications.
Direct Memory Transfers are possible.
Requires special cable.
The 34970A is shipped with a serial cable (if internal DMM is ordered).
Varying connector pinouts and styles.
Data transfers up to 85,000 characters/sec. Data transfers up to 750,000 characters/sec.
* You can overcome these cable length limitations using special communications hardware. For example, you can use the Agilent E5810A LAN-to-GPIB Gateway interface or a serial modem.

Chapter 3 System Overview Data Acquisition System Overview
A variety of software is available to configure your data acquisition hardware and manipulate and display your measurement data.
Data Logging and Monitoring
Agilent BenchLink Data Logger is a Windows®-based application designed to make it easy to use the 34970A with your PC for gathering and analyzing measurements. The software is included with the 34970A when you order the internal DMM. Use this software to set up your test, acquire and archive measurement data, and perform real-time display and analysis of your incoming measurements.

Agilent BenchLink Data Logger
Automated Testing with Multiple Instruments

Chapter 3 System Overview Data Acquisition System Overview
As shown below, the logic circuitry for the 34970A is divided into two sections: earth-referenced and floating. These two sections are isolated from each other in order to maintain measurement accuracy and repeatability (for more information on ground loops, see page 341).

The earth-referenced and floating circuitry communicate with each other via an optically-isolated data link. The earth-referenced section communicates with the floating section to provide PC connectivity. The instrument is shipped with both an GPIB (IEEE-488) interface and an RS-232 interface. Only one interface can be enabled at a time.
The earth-referenced section also provides four hardware alarm outputs and external trigger lines. You can use the alarm output lines to trigger external alarm lights, sirens, or send a TTL pulse to your control system.
The floating section contains the main system processor and controls all of the basic functionality of the instrument. This is where the instrument communicates with the plug-in modules, scans the keyboard, controls the front-panel display, and controls the internal DMM. The floating section also performs Mx+B scaling, monitors alarm conditions, converts transducer measurements to engineering units, time stamps scanned measurements, and stores data in non-volatile memory.

Chapter 3 System Overview Data Acquisition System Overview
The 34970A offers a complete selection of plug-in modules to give you high-quality measurement, switching, and control capabilities. The plug-in modules communicate with the floating logic via the internal isolated digital bus. The multiplexer modules also connect to the internal DMM via the internal analog bus. Each module has its own microprocessor to offload the mainframe processor and minimize backplane communications for faster throughput. The table below shows some common uses for each plug-in module.
For more information on each module, refer to the module sections in chapter 4, starting on page 163.
Model Number Module Name Common Uses
34901A 20-Channel Mux with T/C Compensation
Scanning and direct measurement of temperature, voltage, resistance, frequency, and current (34901A only) using the internal DMM. 34902A 16-Channel Reed Mux with T/C Compensation
34908A 40-Channel Single-Ended Mux with T/C Compensation
Scanning and direct measurement of temperature, voltage, and resistance using the internal DMM.
34907A Multifunction Module Digital Input, Event Counting.
34901A 20-Channel Mux with T/C Compensation
Multiplexing of signals to or from external instruments.
34902A 16-Channel Reed Mux with T/C Compensation
34908A 40-Channel Single-Ended Mux with T/C Compensation
34904A 4x8 Matrix Switch 32 Crosspoint Matrix switching.
34905A Dual 4-Channel RF Mux (50Ω) 50Ω high-frequency applications (< 2 GHz).
34906A Dual 4-Channel RF Mux (75Ω) 75Ω high-frequency applications (< 2 GHz).
34903A 20-Channel Actuator General-purpose switching and control using Form C (SPDT) switches.
34907A Multifunction Module Digital Output, Voltage (DAC) Outputs.
Measurement Input · Signal Routing · Control Output

Chapter 3 System Overview Data Acquisition System Overview
The plug-in modules have screw-terminal connectors to make it easy to connect your system cabling. The type of cabling that you use to connect your signals, transducers, and sensors to the module is critical to measurement success. Some types of transducers, such as thermocouples, have very specific requirements for the type of cable that can be used to make connections. Be sure to consider the usage environment when choosing wire gauge and insulation qualities. Wire insulation typically consists of materials such as PVC or Teflon®. The table below lists several common cable types and describes their typical uses.
Cable Type Common Uses Comments
Thermocouple measurements. Available in specific thermocouple types. Also available in a shielded cable for added noise immunity.
Twisted Pair, Shielded Twisted Pair
Measurement inputs, voltage outputs, switching, counting.
Most common cable for low-frequency measurement inputs. Twisted pair reduces common mode noise. Shielded-twisted pair provides additional noise immunity.
Shielded Coaxial, Double-Shielded Coaxial
VHF signal switching. Most common cable for high-frequency signal routing. Available in specific impedance values (50Ω or 75Ω). Provides excellent noise immunity. Double-shielded cable improves isolation between channels. Requires special connectors.
Flat Ribbon, Twisted Pair Ribbon
Digital Input/Output Often used with mass termination connectors. These cables provide little noise immunity.
Teflon is a registered trademark of E.I. duPont deNemours and Company.
Thermocouple Extension Wire

Chapter 3 System Overview Data Acquisition System Overview
Transducers and sensors convert a physical quantity into an electrical quantity. The electrical quantity is measured and the result is then converted to engineering units. For example, when measuring a thermocouple, the instrument measures a dc voltage and mathematically converts it to a corresponding temperature in °C, °F, or K.
Measurement Typical Transducer Types Typical Transducer Output
Temperature Thermocouple 0 mV to 80 mV
RTD 2-wire or 4-wire resistance from 5Ω to 500Ω
Thermistor 2-wire resistance from 10Ω to 1 MΩ
Pressure Solid State ±10 Vdc
Flow Rotary Type Thermal Type
4 mA to 20 mA
Strain Resistive Elements 4-wire resistance from 10Ω to 10 kΩ
Events Limit Switches Optical Counters Rotary Encoder
0V or 5V Pulse Train
Digital System Status TTL Levels
The 34970A has four alarm outputs which you can configure to alert you when a reading exceeds specified limits on a channel during a scan. You can assign a high limit, a low limit, or both to any configured channel in the scan list. You can assign multiple channels to any of the four available alarms (numbered 1 through 4). For example, you can configure the instrument to generate an alarm on Alarm 1 when a limit is exceeded on any of channels 103, 205, or 320.
You can also assign alarms to channels on the multifunction module. For example, you can generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel or when a specific count is reached on a totalizer channel. With the multifunction module, the channels do not have to be part of the scan list to generate an alarm.

Chapter 3 System Overview Signal Routing and Switching
The switching capabilities of the plug-in modules available with the 34970A provide test system flexibility and expandability. You can use the switching plug-in modules to route signals to and from your test system or multiplex signals to the internal DMM or external instruments.
Relays are electromechanical devices which are subject to wear-out failure modes. The life of a relay, or the number of actual operations before failure, is dependent upon how it is used – applied load, switching frequency, and environment. The 34970A Relay Maintenance System automatically counts the cycles of each relay in the instrument and stores the total count in non-volatile memory on each switch module. Use this feature to track relay failures and to predict system maintenance requirements. For more information on using this feature, refer to “Relay Cycle Count” on page 147.
Several switching plug-in modules are available with different topologies for various applications. The following switching topologies are available:
The following sections describe each of these switching topologies.

Chapter 3 System Overview Signal Routing and Switching
Multiplexer Switching Multiplexers allow you to connect one of multiple channels to a common channel, one at a time. A simple 4-to-1 multiplexer is shown below. When you combine a multiplexer with a measurement device, like the internal DMM, you create a scanner. For more information on scanning, see page 62.
Multiplexers are available in several types:

Chapter 3 System Overview Signal Routing and Switching
Matrix Switching A matrix switch connects multiple inputs to multiple outputs and therefore offers more switching flexibility than a multiplexer. Use a matrix for switching low-frequency (less than 10 MHz) signals only. A matrix is arranged in rows and columns. For example, a simple 3x3 matrix could be used to connect three sources to three test points as shown below.

Test 1 Test 2 Test 3
Any one of the signal sources can be connected to any one of the test inputs. Be aware that with a matrix, it is possible to connect more than one source at the same time. It is important to make sure that dangerous or unwanted conditions are not created by these connections.
Form C (SPDT) Switching The 34903A Actuator contains 20 Form C switches (also called single-pole, double-throw). You can use Form C switches to route signals but they are typically used to control external devices.
Channel Open (NC Contact Connected)
Channel Closed (NO Contact Connected)
NO
NO = Normally Open NC = Normally Closed
NC
COM
COM
Source 1 · Source 2 · Source 3

Chapter 3 System Overview Measurement Input
The 34970A allows you to combine a DMM (either internal or external) with multiplexer channels to create a scan. During a scan, the instrument connects the DMM to the configured multiplexer channels one at a time and makes a measurement on each channel.
Any channel that can be “read” by the instrument can also be included in a scan. This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. A scan can also include a read of a digital port or a read of the totalizer count on the multifunction module.
A transducer or sensor converts a physical quantity being measured into an electrical signal which can be measured by the internal DMM. To make these measurements, the internal DMM incorporates the following functions:
The internal DMM provides a universal input front-end for measuring a variety of transducer types without the need for additional external signal conditioning. The internal DMM includes signal conditioning, amplification (or attenuation), and a high resolution (up to 22 bits) analog-to-digital converter. A simplified diagram of the internal DMM is shown below.
To / From Earth Referenced Section
Signal Conditioning Amp Main Processor

Chapter 3 System Overview Measurement Input
Signal Conditioning, Ranging, and Amplification Analog input signals are multiplexed into the internal DMM’s signal-conditioning section – typically comprising switching, ranging, and amplification circuitry. If the input signal is a dc voltage, the signal conditioner is composed of an attenuator for the higher input voltages and a dc amplifier for the lower input voltages. If the input signal is an ac voltage, a converter is used to convert the ac signal to its equivalent dc value (true RMS value). Resistance measurements are performed by supplying a known dc current to an unknown resistance and measuring the dc voltage drop across the resistor. The input signal switching and ranging circuitry, together with the amplifier circuitry, convert the input to a dc voltage which is within the measuring range of the internal DMM’s analog-to-digital converter (ADC).
You can allow the instrument to automatically select the measurement range using autoranging or you can select a fixed measurement range using manual ranging. Autoranging is convenient because the instrument automatically decides which range to use for each measurement based on the input signal. For fastest scanning operation, use manual ranging for each measurement (some additional time is required for autoranging since the instrument has to make a range selection).
Analog-to-Digital Conversion (ADC) The ADC takes a prescaled dc voltage from the signal-conditioning circuitry and converts it to digital data for output and display on the front panel. The ADC governs some of the most basic measurement characteristics. These include measurement resolution, reading speed, and the ability to reject spurious noise. There are several analog-to-digital conversion techniques but they can be divided into two types: integrating and non-integrating. The integrating techniques measure the average input value over a defined time interval, thus rejecting many noise sources. The non-integrating techniques sample the instantaneous value of the input, plus noise, during a very short interval. The internal DMM uses an integrating ADC technique.
You can select the resolution and reading speed from 6 digits (22 bits) at 3 readings per second to 4 digits (16 bits) at up to 600 readings per second. The Advanced menu from the 34970A front panel allows you to control the integration period for precise rejection of noise signals.

Chapter 3 System Overview Measurement Input
Main Processor The main processor, located in the floating logic section, controls the input signal conditioning, ranging, and the ADC. The main processor accepts commands from, and sends measurement results to, the earth-referenced logic section. The main processor synchronizes measurements during scanning and control operations. The main processor uses a multi-tasking operating system to manage the various system resources and demands.
The main processor also calibrates measurement results, performs Mx+B scaling, monitors alarm conditions, converts transducer measurements to engineering units, time stamps scanned measurements, and stores data in non-volatile memory.
The instrument allows you to combine a DMM (either internal or external) with multiplexer channels to create a scan. During a scan, the instrument connects the DMM to the configured multiplexer channels one at a time and makes a measurement on each channel.
Before you can initiate a scan, you must set up a scan list to include all desired multiplexer or digital channels. Channels which are not in the scan list are skipped during the scan. The instrument automatically scans the list of channels in ascending order from slot 100 through slot 300. Measurements are taken only during a scan and only on those channels which are included in the scan list.
You can store up to 50,000 readings in non-volatile memory during a scan. Readings are stored only during a scan and all readings are automatically time stamped. Each time you start a new scan, the instrument clears all readings stored in memory from the previous scan. Therefore, all readings currently stored in memory are from the most recent scan.

Chapter 3 System Overview Measurement Input
You can configure the event or action that controls the onset of each sweep through the scan list (a sweep is one pass through the scan list):


Chapter 3 System Overview Measurement Input
If your application doesn’t require the built-in measurement capabilities of the 34970A, you can order it without the internal DMM. In this configuration, you can use the 34970A for signal routing or control applications. If you install a multiplexer plug-in module, you can use the 34970A for scanning with an external instrument. You can connect an external instrument (such as a DMM) to the multiplexer COM terminal.

H
(COM)
H
To control scanning with an external instrument, two control lines are provided. When the 34970A and the external instrument are properly configured, you can synchronize a scan sequence between the two.

VM Complete OUT Ext Trig IN
Input Channels · Common Terminals

Chapter 3 System Overview Measurement Input
The multifunction module (34907A) adds two additional measurement input capabilities to the system: digital input and event totalize.
The multifunction module also contains a dual voltage output (DAC) which is described in more detail on page 68.
Digital Input The multifunction module has two non-isolated 8-bit input/output ports which you can use for reading digital patterns. You can read the live status of the bits on the port or you can configure a scan to include a digital read. Each port has a separate channel number on the module and contains 8-bits. You can combine the two ports to read a 16-bit word.
Port 1 (LSB) Channel 01
Port 2 (MSB) Channel 02

Chapter 3 System Overview Measurement Input
Totalizer The multifunction module has a 26-bit totalizer which can count pulses at a 100 kHz rate. You can manually read the totalizer count or you can configure a scan to read the count.
- IN
Totalize 26 Bits Channel 03
Gate · Gate

Chapter 3 System Overview Control Output
In addition to signal routing and measurement, you can also use the 34970A to provide simple control outputs. For example, you can control external high-power relays using the actuator module or a digital output channel.
The multifunction module (34907A) adds two additional control output capabilities to the system: digital output and voltage (DAC) output.
The multifunction module also contains digital input and event totalizer capabilities which are described in more detail on pages 65 and 66.
Digital Output The multifunction module has two non-isolated 8-bit input/output ports which you can use to output digital patterns. Each port has a separate channel number on the module and contains 8-bits. You can combine the two ports to output a 16-bit word.
Port 1 (LSB) Channel 01
Port 2 (MSB) Channel 02

Chapter 3 System Overview Control Output
Voltage (DAC) Output The multifunction module has two analog outputs capable of outputting calibrated voltages between ±12 volts with 16 bits of resolution. Each DAC (Digital-to-Analog Converter) channel can be used as a programmable voltage source for analog input control of other devices. A simplified diagram is shown below.
DAC 1 16 Channel 04
16 DAC 2 Channel 05

Chapter 3 System Overview Control Output
You can think of the 34903A Actuator as a control output because it is often used to control external power devices. The actuator provides 20 independent, isolated Form C (SPDT) switches.
Channel Open (NC Contact Connected)
Channel Closed (NO Contact Connected)
NO
NO = Normally Open NC = Normally Closed
NC
COM
COM
Each channel can switch up to 300V dc or ac rms. Each switch can also switch up to 1 A dc or ac rms up to 50 W maximum. For example, the maximum current that you can switch at 120 V is 0.45 A as shown below.

For control applications, the actuator has the following advantages:
Voltage · Current






Chapter 4 Features and Functions SCPI Language Conventions
Throughout this manual, the following conventions are used for SCPI command syntax for remote interface programming:
Many of the SCPI commands for the 34970A include a scan_list or ch_list parameter which allow you to specify one or more channels. The channel number has the form (@scc), where s is the slot number (100, 200, or 300) and cc is the channel number. You can specify a single channel, multiple channels, or a range of channels as shown below.

Chapter 4 Features and Functions Scanning
The instrument allows you to combine a DMM (either internal or external) with multiplexer channels to create a scan. During a scan, the instrument connects the DMM to the configured multiplexer channels one at a time and makes a measurement on each channel.
Any channel that can be “read” by the instrument can also be included in a scan. This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. A scan can also include a read of a digital port or a read of the totalizer count on the multifunction module. Scanning is allowed with the following modules:
Automated scanning is not allowed with the actuator module, the matrix module, or the RF multiplexer modules. In addition, a scan cannot include a write to a digital port or a voltage output from a DAC channel. However, you can write your own program to manually create a “scan” to include these operations.

Chapter 4 Features and Functions Scanning

Chapter 4 Features and Functions Scanning

Chapter 4 Features and Functions Scanning
Sweep 1:
Sweep 2:
Sweep 3:
Power Fails

Chapter 4 Features and Functions Scanning
Before you can initiate a scan, you must configure the channels to be scanned and set up a scan list (these two operations occur simultaneously from the front panel). The instrument automatically scans the configured channels in ascending order from slot 100 through slot 300.
To Build a Scan List From the Front Panel:
To add the active channel to the scan list, press . Select the function, range, resolution, and other measurement parameters for this channel. You can also press to sequentially step through the scan list and take a measurement on each channel (readings are not stored in memory). This is an easy way to verify your wiring connections and channel configuration (also valid during a scan).

Chapter 4 Features and Functions Scanning
To Build a Scan List From the Remote Interface:
See the examples starting on page 201 in chapter 5 for more information on using these commands.

Chapter 4 Features and Functions Scanning
You can configure the event or action that controls the onset of each sweep through the scan list (a sweep is one pass through the scan list):
Interval Scanning In this configuration, you control the frequency of scan sweeps by selecting a wait period from the start of one sweep to the start of the next sweep (called the scan-to-scan interval). The count- down time is shown on the front-panel display between one scan sweep and the start of the next sweep. If the scan interval is less than the time required to measure all channels in the scan list, the instrument will scan continuously, as fast as possible (no error is generated).


Chapter 4 Features and Functions Scanning
To initiate the scan and store all readings in memory, press (the SCAN annunciator will turn on). Between scan sweeps, the count-down time is shown on the front-panel (00:04 TO SCAN).
TRIG:SOURCE TIMER Select the interval timer configuration TRIG:TIMER 5 Set the scan interval to 5 seconds TRIG:COUNT 2 Sweep the scan list 2 times INIT Initiate the scan

Chapter 4 Features and Functions Scanning
Scan Once In this configuration, the instrument waits for either a front-panel key press or a remote interface command before sweeping through the scan list.
To initiate the scan and store all readings in memory, press . The ONCE annunciator turns on as a reminder that a Scan Once operation is in progress.
TRIG:SOURCE BUS Select the bus (once) configuration TRIG:COUNT 2 Sweep the scan list 2 times INIT Initiate the scan
Then, send the *TRG (trigger) command to begin each scan sweep. You can also trigger the instrument from the GPIB interface by sending the IEEE-488 Group Execute Trigger (GET) message. The following statement shows how to send a GET message.
TRIGGER 709 Group Execute Trigger

Chapter 4 Features and Functions Scanning
External Scanning In this configuration, the instrument sweeps through the scan list once each time a low-going TTL pulse is received on the rear-panel Ext Trig Input line (pin 6).

To initiate the scan, press . The EXT annunciator turns on as a reminder that an External Scan is in progress. When a TTL pulse is received, the scan starts and readings are stored in memory. To stop a scan, press and hold .
TRIG:SOURCE EXT Select the external trigger configuration TRIG:COUNT 2 Sweep the scan list 2 times INIT Initiate the scan
Ext Trig Connector

Chapter 4 Features and Functions Scanning
Scanning on Alarm In this configuration, the instrument sweeps the scan list once each time a reading crossing an alarm limit on a channel. You can also assign alarms to channels on the multifunction module. For example, you can generate an alarm when a specific bit pattern is detected or when a specific count is reached.

To enable the Monitor function select the desired channel and then press . To initiate the scan, press . When an alarm event occurs, the scan starts and readings are stored in memory.

Chapter 4 Features and Functions Scanning
TRIG:SOURCE ALARM1 Select the alarm configuration TRIG:COUNT 2 Sweep the scan list 2 times
CALC:LIM:UPPER 5,(@103) Set the upper limit CALC:LIM:UPPER:STATE ON,(@103) Enable the upper limit OUTPUT:ALARM1:SOURCE (@103) Report alarms on Alarm 1
ROUT:MON (@103) Select monitor channel ROUT:MON:STATE ON Enable monitoring
INIT Initiate the scan

Chapter 4 Features and Functions Scanning
You can specify the number of times the instrument will sweep through the scan list. When the specified number of sweeps have occurred, the scan stops.
The default is CONTINUOUS. To set the count to a value between 1 and 50,000 scans, turn the knob clockwise and enter a number.

Chapter 4 Features and Functions Scanning
During a scan, the instrument automatically adds a time stamp to all readings and stores them in non-volatile memory. Each reading is stored with measurement units, time stamp, channel number, and alarm status information. From the remote interface, you can specify which information you want returned with the readings (from the front panel, all of the information is available for viewing). The reading format applies to all readings being removed from the instrument from a scan; you cannot set the format on a per-channel basis.
FORMat:READing:ALARm ON FORMat:READing:CHANnel ON FORMat:READing:TIME ON FORMat:READing:TIME:TYPE {ABSolute|RELative} FORMat:READing:UNIT ON
The following is an example of a reading stored in memory with all fields enabled (relative time is shown).

1 Reading with Units (26.195 °C) 2 Time Since Start of Scan (17 ms) 3 Channel Number 4 Alarm Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI)

Chapter 4 Features and Functions Scanning
You can control the pace of a scan sweep by inserting a delay between multiplexer channels in the scan list (useful for high-impedance or high-capacitance circuits). The delay is inserted between the relay closure and the actual measurement on the channel. The programmed channel delay overrides the default channel delay that the instrument automatically adds to each channel.
Ch 1 Ch 2 Ch 3 Ch 4 Ch 5 Ch 6

Chapter 4 Features and Functions Scanning
If you do not specify a channel delay, the instrument selects a delay for you. The delay is determined by function, range, integration time, and ac filter setting as shown below.
DC Voltage, Thermocouple, DC Current (for all ranges):
Integration Time Channel Delay PLC > 1 PLC ≤ 1
2.0 ms 1.0 ms
Resistance, RTD, Thermistor (2- and 4-wire):
(For PLC > 1) Range Channel Delay
(For PLC ≤ 1)
100Ω 1 kΩ 10 kΩ 100 kΩ 1 MΩ 10 MΩ 100 MΩ
2.0 ms 2.0 ms 2.0 ms 25 ms 30 ms 200 ms 200 ms
100Ω 1 kΩ 10 kΩ 100 kΩ 1 MΩ 10 MΩ 100 MΩ
1.0 ms 1.0 ms 1.0 ms 20 ms 25 ms 200 ms 200 ms
AC Voltage, AC Current (for all ranges):
AC Filter Channel Delay
Slow (3 Hz) Medium (20 Hz)
7.0 sec 1.0 sec 120 ms
Frequency, Period:
AC Filter Channel Delay
Slow (3 Hz) Medium (20 Hz)
0.6 sec 0.3 sec 0.1 sec
Digital Input, Totalize:

Chapter 4 Features and Functions Scanning
Selecting a specific channel delay using the ROUTe:CHANnel:DELay command disables the automatic channel delay.
During a scan, the instrument automatically adds a time stamp to all readings and stores them in non-volatile memory. Readings are stored only during a scan. You can read the contents of memory at any time, even during a scan.

Chapter 4 Features and Functions Scanning
Select Channel Last Reading on Channel Time of Last Reading Minimum Reading on Channel Time of Minimum Reading Maximum Reading on Channel Time of Maximum Reading Average of Readings on Channel Second Most Recent Reading on Channel Third Most Recent Reading on Channel
99th Most Recent Reading on Channel
and

Chapter 4 Features and Functions Scanning
Use the following commands to query the statistics on the readings stored in memory for a specific channel. These commands do not remove the data from memory.
CALC:AVER:MIN? (@305) Minimum reading on channel CALC:AVER:MIN:TIME? (@305) Time minimum was logged
CALC:AVER:MAX? (@305) Maximum reading on channel CALC:AVER:MAX:TIME? (@305) Time maximum was logged
CALC:AVER:AVER? (@305) Average of all readings on channel
CALC:AVER:COUNT? (@305) Number of readings taken on channel
CALC:AVER:PTPEAK? (@305) Peak-to-peak (maximum-minimum)
The following command retrieves the last reading taken on channel 301 during a scan.
The following command clears the contents of statistics memory for the selected channel.
Use the following command to determine the total number of readings stored in memory (all channels) from the most recent scan.
The following command reads and clears the specified number of readings from memory. This allows you to continue a scan without losing data stored in memory (if memory becomes full, new readings will overwrite the first readings stored). The specified number of readings are cleared from memory, starting with the oldest reading.

Chapter 4 Features and Functions Single-Channel Monitoring
In the Monitor function, the instrument takes readings as often as it can on a single channel, even during a scan. This feature is useful for trouble- shooting your system before a test or for watching an important signal.
Any channel that can be “read” by the instrument can be monitored. This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. You can also monitor a digital input port or the totalizer count on the multifunction module. Monitoring is not allowed with the actuator module, the matrix module, or the RF multiplexer modules.

Chapter 4 Features and Functions Single-Channel Monitoring
To stop a Monitor, press again. Note that while the instrument in in the remote mode, you can still turn on the Monitor function and select the desired channel.
To read the monitor data from the selected channel, send the following command. This command returns the reading only; the units, time, channel, and alarm information are not returned (the FORMat:READing commands do not apply to monitor readings).

Chapter 4 Features and Functions Scanning With External Instruments
If your application doesn’t require the built-in measurement capabilities of the 34970A, you can order it without the internal DMM. In this configuration, you can use the system for signal routing or control applications. If you install a multiplexer plug-in module, you can use the system for scanning with an external instrument. You can connect an external instrument (such as a DMM) to the multiplexer COM terminal.

(COM)
H
To control scanning with an external instrument, two control lines are provided. When the 34970A and the external instrument are properly configured, you can synchronize a scan sequence between the two.

VM Complete OUT Ext Trig IN
Input Channels

Chapter 4 Features and Functions Scanning With External Instruments
In this configuration, you must set up a scan list to include all desired multiplexer or digital channels. Channels which are not in the list are skipped during the scan. The instrument automatically scans the list of channels in ascending order from slot 100 through slot 300.
For an externally-controlled scan, you must either remove the internal DMM from the 34970A or disable it (see “Internal DMM Disable” on page 145). Since the internal DMM is not used, readings from multiplexer channels are not stored in internal reading memory.
External connections are required to synchronize the scan sequence between the 34970A and the external instrument. The 34970A must notify the external instrument when a relay is closed and settled (including channel delay). The 34970A outputs a Channel Closed pulse from pin 5 on the rear-panel connector (see previous page). In response, the external instrument must notify the 34970A when it has finished its measurement and is ready to advance to the next channel in the scan list. The 34970A accepts a Channel Advance signal on the External Trigger input line (pin 6).

Chapter 4 Features and Functions Scanning With External Instruments
To initiate the scan, press (the SCAN annunciator will turn on).
To configure the instrument for 4-wire external scanning, choose the following item.
TRIG:SOUR TIMER Select the scan interval ROUT:CHAN:ADV:SOUR EXT Select the channel advance source TRIG:TIMER 5 Set the scan interval to 5 seconds TRIG:COUNT 2 Sweep the scan list 2 times INIT Initiate the scan
To configure the instrument for 4-wire external scanning, send the following command.
ROUTe:CHANnel:FWIRe {OFF|ON}[,(@)]

Chapter 4 Features and Functions General Measurement Configuration
This section contains general information to help you configure the instrument for making measurements during a scan. Since these parameters are used by several measurement functions, the discussion is combined into one common section. Refer to the later sections in this chapter for more information on parameters that are specific to a particular measurement function.
You can allow the instrument to automatically select the measurement range using autoranging or you can select a fixed range using manual ranging. Autoranging is convenient because the instrument decides which range to use for each measurement based on the input signal. For fastest scanning operation, use manual ranging on each measurement (some additional time is required for autoranging since the instrument has to make a range selection).

Chapter 4 Features and Functions General Measurement Configuration
100 mV RANGE

Chapter 4 Features and Functions General Measurement Configuration
Resolution is expressed in terms of number of digits the instrument can measure or display on the front panel. You can set the resolution to 4, 5, or 6 full digits, plus a “1⁄2” digit which can only be a “0” or “1”. To increase your measurement accuracy and improve noise rejection, select 61⁄2 digits. To increase your measurement speed, select 41⁄2 digits.
“1⁄2” digit
This is the 10 Vdc range, 51⁄2 digits are displayed.
“1⁄2” digit
This is the 100 mVdc range, 41⁄2 digits are displayed.
This is the 100 ohm range, 61⁄2 digits are displayed.
5 digits · ,

Chapter 4 Features and Functions General Measurement Configuration
For temperature measurements, go to the menu and select the number of digits displayed past the decimal point on the selected channel.

Chapter 4 Features and Functions General Measurement Configuration
You can select the resolution using parameters in the MEASure? and CONFigure commands. For example, the following statement selects the 10 Vdc range with 41⁄2 digits of resolution on channel 301.
The following statement selects the 1 A range with 61⁄2 digits of resolution on channel 221.
You can also select the resolution using the SENSe commands. For example, the following statement specifies a 4-wire ohms measurement with 100Ω of resolution on channel 103.

Chapter 4 Features and Functions General Measurement Configuration
Integration time is the period of time that the instrument’s analog-to- digital (A/D) converter samples the input signal for a measurement. Integration time affects the measurement resolution (for better resolution, use a longer integration time) and measurement speed (for faster measurements, use a shorter integration time).
Integration Time Resolution Digits Bits
0.02 PLC 0.2 PLC 1 PLC 2 PLC 10 PLC 20 PLC 100 PLC 200 PLC
< 0.0001 x Range < 0.00001 x Range < 0.000003 x Range < 0.0000022 x Range < 0.000001 x Range < 0.0000008 x Range < 0.0000003 x Range < 0.00000022 x Range
41⁄2 Digits 51⁄2 Digits 51⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits
15 18 20 21 24 25 26 26

Chapter 4 Features and Functions General Measurement Configuration
To select the aperture time, select INTEGRATE T from the Advanced menu and then specify a value in seconds for the active channel.
You can also select an aperture time using the SENSe commands. For example, the following statement specifies an aperture time of 2 ms for resistance measurements on channel 104.

Chapter 4 Features and Functions General Measurement Configuration
When autozero is enabled (default), the instrument internally disconnects the input signal following each measurement, and takes a zero reading. It then subtracts the zero reading from the preceding reading. This prevents offset voltages present on the instrument’s input circuitry from affecting measurement accuracy.
When autozero is disabled, the instrument takes one zero reading and subtracts it from all subsequent measurements. It takes a new zero reading each time you change the function, range, or integration time.
ZERO:AUTO {OFF|ONCE|ON}[,(@)]

Chapter 4 Features and Functions Temperature Measurement Configuration
This section contains information to help you configure the instrument for making temperature measurements. For more information on the types of temperature transducers, see “Temperature Measurements” starting on page 345 in chapter 8.
The instrument supports direct measurement of thermocouples, RTDs, and thermistors. The instrument supports the following specific types of transducers in each category:
B, E, J, K, N, R, S, T R0 = 49Ω to 2.1 kΩ α = 0.00385 (DIN / IEC 751) α = 0.00391
2.2 kΩ, 5 kΩ, 10 kΩ, 44000 Series

Chapter 4 Features and Functions Temperature Measurement Configuration
To connect a thermocouple to the module’s screw terminals, see page 21.

Chapter 4 Features and Functions Temperature Measurement Configuration
To select the thermocouple type for the active channel, choose the following item.
To enable the thermocouple check feature on the active channel (opens are reported as “OPEN T/C”), choose the following item.
To select the reference junction source for the active channel, choose one of the following items.

Chapter 4 Features and Functions Temperature Measurement Configuration
You can also use the SENSe command to select the probe type and thermocouple type. For example, the following statement configures channel 203 for a J-type thermocouple measurement.
The following statements use the SENSe command to set a fixed reference junction temperature of 40 degrees (always in °C) on channel 203.
The following statement enables the thermocouple check feature on the specified channels (opens are reported as “+9.90000000E+37”).

Chapter 4 Features and Functions Temperature Measurement Configuration
To connect an RTD to the module’s screw terminals, see page 21.
To select the nominal resistance (R0) for the active channel, choose the following item.
Ro:100.000,0 OHM
To select the RTD type (α = 0.00385 or 0.00391) for the active channel, choose the following item.

Chapter 4 Features and Functions Temperature Measurement Configuration
You can also use the SENSe command to select the probe type, RTD type, and nominal resistance. For example, the following statement configures channel 103 for 4-wire measurements of an RTD with α = 0.00391 (channel 103 is automatically paired with channel 113 for the 4-wire measurement).
The following statement sets the nominal resistance (R0) to 1000Ω on channel 103.

Chapter 4 Features and Functions Temperature Measurement Configuration
To connect a thermistor to the module’s screw terminals, see page 21.
To select the thermistor type for the active channel, choose from the following items.
TYPE 2.2 KOHM , TYPE 5 KOHM , TYPE 10 KOHM
You can also use the SENSe command to select the probe type and thermistor type. For example, the following statement configures channel 103 for measurements of a 10 kΩ thermistor:

Chapter 4 Features and Functions Voltage Measurement Configuration
To connect voltage sources to the module’s screw terminals, see page 21.
This section contains information to help you configure the instrument for making voltage measurements. The instrument can measure dc and true RMS ac-coupled voltages on the measurement ranges shown below.
100 mV 1 V 10 V 100 V 300 V Autorange
Normally, the instrument’s input resistance is fixed at 10 MΩ for all dc voltage ranges to minimize noise pickup. To reduce the effects of measurement loading errors, you can set the input resistance to greater than 10 GΩ for the 100 mVdc, 1 Vdc, and 10 Vdc ranges.
Applies to dc voltage measurements only.
Input Resistance 100 mV, 1 V, 10 V ranges Input Resistance 100 V, 300 V ranges
Input R Auto OFF Input R Auto ON
10 M Ω 10 M Ω
Input Resistance · Setting

Chapter 4 Features and Functions Voltage Measurement Configuration
AC Low Frequency Filter
The instrument uses three different ac filters which enable you to either optimize low frequency accuracy or achieve faster ac settling times. The instrument selects the slow, medium, or fast filter based on the input frequency that you specify for the selected channels.
Applies to ac voltage and ac current measurements only.
Input Frequency Default Settling Delay Minimum Settling Delay
3 Hz to 300 kHz (Slow) 20 Hz to 300 kHz (Medium) 200 Hz to 300 kHz (Fast)
7 seconds / reading 1 second / reading 0.12 seconds / reading
1.5 seconds 0.2 seconds 0.02 seconds
SENS:VOLT:AC:BAND 3,(@203) Select the slow filter (3 Hz)

Chapter 4 Features and Functions Resistance Measurement Configuration
To connect resistances to the module’s screw terminals, see page 21.
This section contains information to help you configure the instrument for making resistance measurements. Use the 2-wire method for ease of wiring and higher density or the 4-wire method for improved measurement accuracy. The measurement ranges are shown below.
100Ω 1 kΩ 10 kΩ 100 kΩ 1 MΩ 10 MΩ 100 MΩ Autorange
Offset compensation removes the effects of any dc voltages in the circuit being measured. The technique involves taking the difference between two resistance measurements on the specified channels, one with the current source turned on and one with the current source turned off.
Applies only to 2-wire and 4-wire ohms measurements on the 100Ω, 1 kΩ, and 10 kΩ ranges.
RES:OCOM ON,(@203) Enable offset compensation (2-wire) FRES:OCOM ON,(@208) Enable offset compensation (4-wire)
For 4-wire measurements, specify the paired channel in the lower bank (source) as the ch_list parameter.

Chapter 4 Features and Functions Current Measurement Configuration
To connect a current source to the module’s screw terminals, see page 21.
This section contains information to help you configure the instrument for making current measurements on the 34901A multiplexer module. This module has two fused channels for direct dc and ac current measurements on the measurement ranges shown below.
10 mA 100 mA 1 A Autorange
The instrument uses three different ac filters which enable you to either optimize low frequency accuracy or achieve faster ac settling times. The instrument selects the slow, medium, or fast filter based on the input frequency that you specify for the selected channels.
Applies to ac current and ac voltage measurements only.
Input Frequency Default Settling Delay Minimum Settling Delay
3 Hz to 300 kHz (Slow) 20 Hz to 300 kHz (Medium) 200 Hz to 300 kHz (Fast)
7 seconds / reading 1 second / reading 0.12 seconds / reading
1.5 seconds 0.2 seconds 0.02 seconds

Chapter 4 Features and Functions Current Measurement Configuration
SENS:CURR:AC:BAND 3,(@221) Select the slow filter (3 Hz)

Chapter 4 Features and Functions Frequency Measurement Configuration
To connect an ac source to the module’s screw terminals, see page 21.
The instrument uses three different timeout ranges for frequency measurements. The instrument selects a slow, medium, or fast timeout based on the input frequency that you specify for the selected channels.
3 Hz to 300 kHz (Slow) 20 Hz to 300 kHz (Medium) 200 Hz to 300 kHz (Fast)
1 s 100 ms 10 ms
SENS:FREQ:RANG:LOW 3,(@203) Select the slow timeout (3 Hz)
Input Frequency Timeout

Chapter 4 Features and Functions Mx+B Scaling
The scaling function allows you to apply a gain and offset to all readings on a specified multiplexer channel during a scan. In addition to setting the gain (“M”) and offset (“B”) values, you can also specify a custom measurement label for your scaled readings (RPM, PSI, etc.). You can apply scaling to any multiplexer channels and for any measurement function. Scaling is not allowed with any of the digital channels on the multifunction module.
Scaled Reading = (Gain x Measurement) - Offset

Chapter 4 Features and Functions Mx+B Scaling
Use the following equations to calculate the gain and offset.
M = 1 GF x R0 B = − 1
Where GF is the gage factor and R0 is the unstrained gage resistance. For example, a 350Ω strain gage with a gage factor of 2 would use the following gain and offset values: M=0.001428571, B=-0.5 (be sure to use 61⁄2 digits of resolution for this measurement).

Chapter 4 Features and Functions Mx+B Scaling
To reset the gain, offset, and measurement label to their defaults, go to the corresponding level in the menu and turn the knob. To turn scaling off (without clearing the gain and offset values), go to the first level in the menu and select SCALING OFF.
SET GAIN TO 1 , SET OFST TO 0 , DEFAULT LABEL
To make a null measurement and store it as the offset, go to SET OFFSET in the menu and turn the knob.
CALC:SCALE:GAIN 1.2,(@101) CALC:SCALE:OFFSET 10,(@101) CALC:SCALE:UNIT ’PSI’,(@101)
After setting the gain and offset values, send the following command to enable the scaling function on the specified channel.
To make a null measurement and store it as the offset, send the following command.

Chapter 4 Features and Functions Alarm Limits
The instrument has four alarms which you can configure to alert you when a reading exceeds specified limits on a channel during a scan. You can assign a high limit, a low limit, or both to any configured channel in the scan list. You can assign multiple channels to any of the four available alarms (numbered 1 through 4). For example, you can configure the instrument to generate an alarm on the Alarm 1 output when a limit is exceeded on any of channels 103, 205, or 320.
You can also assign alarms to channels on the multifunction module. For example, you can generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel or when a specific count is reached on a totalizer channel. With the multifunction module, the channels do not have to be part of the scan list to generate an alarm. For complete details, see “Using Alarms With the Multifunction Module” on page 130.
Alarm data can be stored in one of two locations depending on whether a scan is running when the alarm occurs.
2. As alarm events are generated, they are also logged in an alarm queue, which is separate from reading memory. This is the only place where non-scanned alarms get logged (alarms during a monitor, alarms generated by the multifunction module, etc.). Up to 20 alarms can be logged in the alarm queue. If more than 20 alarm events are generated, they will be lost (only the first 20 alarms are saved). Even if the alarm queue is full, the alarm status is still stored in reading memory during a scan. The alarm queue is cleared by the *CLS (clear status) command, when power is cycled, and by reading all of the entries. A Factory Reset (*RST command) does not clear the alarm queue.

Chapter 4 Features and Functions Alarm Limits

Chapter 4 Features and Functions Alarm Limits
Alarm Event No Alarm


The indicated HI or LO limit is being configured on the indicated alarm (shown while in the Alarm menu).
An alarm has occurred on one or more channels. The behavior of the alarm output lines tracks the alarm annunciators on the front panel.
The alarm output lines have been cleared but alarms remain in the queue.
Upper Limit · Lower Limit

Chapter 4 Features and Functions Alarm Limits
NO ALARM , USE ALARM 1 , ... USE ALARM 4
Then, choose from the following alarm conditions.
HI+LO ALARMS , HI ALARM ONLY , LO ALARM ONLY
Then, set the desired limit values and exit the menu. Note that the instrument does not start evaluating the alarm conditions until you exit the Alarm menu.
To set the upper and lower alarm limits on the specified channels, use the following commands.
To enable the upper and lower alarm limits on the specified channels, use the following commands. CALC:LIMIT:UPPER:STATE ON,(@103,212) CALC:LIMIT:LOWER:STATE ON,(@103,212)

Chapter 4 Features and Functions Alarm Limits
If an alarm occurs on a channel as it is being scanned, then that channel’s alarm status is stored in reading memory as the readings are taken. As alarm events are generated, they are also logged in an alarm queue, which is separate from reading memory. This is the only place where non-scanned alarms get logged (alarms during a monitor, alarms generated by the multifunction module, etc.).

Chapter 4 Features and Functions Alarm Limits
The following is an example of an alarm stored in the alarm queue (if no alarm data is in the queue, the command returns “0” for each field).

1 Reading with Units (31.009 °C) 2 Date (May 1, 1997) 3 Time (2:39:40.058 PM)
4 Channel Number 5 Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI) 6 Alarm Number Reported (1, 2, 3, or 4) 4
The following command retrieves scanned readings and alarm data from reading memory (the readings are not erased).

Chapter 4 Features and Functions Alarm Limits
Four TTL alarm outputs are available on the rear-panel Alarms connector. You can use these hardware outputs to trigger external alarm lights, sirens, or send a TTL pulse to your control system. You can assign an alarm to any configured channel and multiple channels can be assigned to the same alarm number. Each alarm output line represents the logical “OR” of all channels assigned to that alarm number (an alarm on any of the associated channels will pulse the line).
Alarm 4 Output Alarm 3 Output Alarm 2 Output Alarm 1 Output
You can configure the behavior of the alarm output lines as described below. The behavior of the alarm annunciators on the front panel also tracks the alarm output configuration. The configuration that you select is used for all four alarm output lines. A Factory Reset (*RST command) clears all four alarm outputs but does not clear the alarm queue in either configuration.
or · Gnd · Alarms Connector

Chapter 4 Features and Functions Alarm Limits
Falling Edge Rising Edge
To select the output configuration for all four output lines, choose from the following items.
To configure the slope of all four output lines, choose from the following items.
OUTPUT:ALARM2:CLEAR Clear alarm output line 2 OUTPUT:ALARM:CLEAR:ALL Clear all four alarm outputs
To select the output configuration for all four output lines, use the following command.
OUTPut:ALARm:MODE {LATCh|TRACk}
To configure the slope of all four output lines, use the following command.
OUTPut:ALARm:SLOPe {NEGative|POSitive}

Chapter 4 Features and Functions Alarm Limits
You can configure the instrument to generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel or when a specific count is reached on a totalizer channel. These channels do not have to be part of the scan list to generate an alarm. Alarms are evaluated continuously as soon as you enable them.
Bit 7 Bit 0
To configure an alarm on a totalizer channel, select a high limit and then set the desired count for the selected alarm.

Chapter 4 Features and Functions Alarm Limits
OUTPut:ALARm[1|2|3|4]:SOURce (@)
To configure alarms on the specified digital input channel, use the following commands (also see the example on the following page).
CALCulate :COMPare:TYPE {EQUal|NEQual}[,(@)] :COMPare:DATA [,(@)] :COMPare:MASK [,(@)]
Select EQUal to generate an alarm when the data read from the port is equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK. Select NEQual (not equal) to generate an alarm when the data read from the port is not equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK.
Use CALC:COMP:MASK to designate the “don’t care” bits. Bits that you set to “0” in the mask are ignored.
To enable the specified alarm mode, send the following command.
CALCulate:COMPare:STATe ON [,(@)]

Chapter 4 Features and Functions Alarm Limits
Assume that you want to generate an alarm when a binary pattern of “1000” is read on the upper four bits of port 1. Send the following commands to configure the port for an alarm.
CALC:COMP:TYPE EQUAL,(@301) CALC:COMP:DATA 128,(@301) CALC:COMP:MASK 240,(@301) OUTPUT:ALARM2:SOURCE (@301) CALC:COMP:STATE ON,(@301)
Here are the calculations used to evaluate the alarm (assume that a decimal 146 was read from the port):
0 0 1 1
0 1 0 1
0 1 1 0
Bit 7 Bit 0 1 0 0 1 0 0 1 0 Data read from port (decimal 146) 1 0 CALC:COMP:DATA command (decimal 128) 0 0 0 1 0 0 1 0 “X-OR” result 1 0 CALC:COMP:MASK command (decimal 240) 0 0 0 1 0 “AND” result (no alarm generated)
0 0 1 1
0 1 0 1
0 0 0 1
Since the calculations produce a non-zero result (decimal 16), an alarm is not generated in this example.
OUTPut:ALARm[1|2|3|4]:SOURce (@)
To configure an alarm on a totalizer channel, specify the desired count as the upper limit using the following command.
CALCulate:LIMit:UPPer [,(@)]
To enable the upper limit on the specified totalizer channel, use the following command. CALCulate:LIMit:UPPer:STATe ON [,(@)]

Chapter 4 Features and Functions Digital Input Operations
The multifunction module (34907A) has two non-isolated 8-bit input/output ports which you can use for reading digital patterns. You can read the live status of the bits on the port or you can configure a scan to include a digital read.

Chapter 4 Features and Functions Digital Input Operations
To add a digital read to a scan list, choose the following item.
From the front-panel only, you can specify whether you want to use binary or decimal format.
SENS:DIG:DATA:BYTE? (@302) Read port 02 SENS:DIG:DATA:WORD? (@301) Read both ports together
To redefine the scan list to include a digital read (8-bit read only), send the following command.
CONF:DIG:BYTE (@302) Add port 02 read to scan list

Chapter 4 Features and Functions Totalizer Operations
The multifunction module has a 26-bit totalizer which can count TTL pulses at a 100 kHz rate. You can manually read the totalizer count or you can configure a scan to read the count.
Input Signal (Rising Edge)
Gate Signal (High True)
2.5 V Threshold (TTL) 0 V Threshold (AC)
Totalizer Input · Add to Total

Chapter 4 Features and Functions Totalizer Operations
To configure the totalizer reset mode, choose from the following items.
To configure the totalizer to count on the falling edge or rising edge of the input signal, choose from the following items.
To add a totalizer read to a scan list, choose the following item.

Chapter 4 Features and Functions Totalizer Operations
To configure the totalizer reset mode, send either of the following commands (RRESet means “read and reset”).
SENSe:TOTalize:TYPE {READ|RRESet}[,(@)] CONFigure:TOTalize {READ|RRESet} ,(@)
To configure the totalizer to count on the falling edge (negative) or rising edge (positive) of the input signal, send the following command.
SENSe:TOTalize:SLOPe {NEG|POS} ,[(@)]
To immediately clear the count on the specified totalizer channel (whether scanning or not), send the following command.
SENSe:TOTalize:CLEar:IMMediate [(@)]

Chapter 4 Features and Functions Digital Output Operations
The multifunction module (34907A) has two non-isolated 8-bit input/output ports which you can use for outputting digital patterns.
From the front-panel only, you can specify whether you want to use binary or decimal format.
SOUR:DIG:DATA:BYTE 10 ,(@302) Write to port 02 SOUR:DIG:DATA:WORD 10327 ,(@301) Write to both ports

Chapter 4 Features and Functions DAC Output Operations
The multifunction module (34907A) has two low-noise analog outputs capable of outputting calibrated voltages between ±12 volts with 16 bits of resolution. Each DAC (Digital-to-Analog Converter) channel can be used as a programmable voltage source for analog input control of other devices.

Chapter 4 Features and Functions System-Related Operations
This section gives information on system-related topics such as storing instrument states, reading errors, running a self-test, displaying messages on the front panel, setting the system clock, disabling the internal DMM, reading the firmware revisions, and reading the relay cycle count.
The instrument has six storage locations in non-volatile memory to store instrument states. The locations are numbered 0 through 5. The instrument uses location “0” to automatically hold the state of the instrument at power down. You can also assign a name to each of the locations (1 through 5) for use from the front panel.

Chapter 4 Features and Functions System-Related Operations
After recalling a stored state, you will notice that a new choice (UNDO RECALL) is added under RECALL STATE. This allows you to cancel the last recall operation and revert to the previous state. You can also select LAST PWR DOWN to recall the state of the instrument at the power-down.
To configure the instrument to recall the power-down state or issue a Factory Reset when power is restored, select from the following.
To assign a name to a stored state to be recalled from the front panel, send the following command. From the remote interface, you can only recall a stored state using a number (0 through 5).
To configure the instrument to automatically issue a Factory Reset (*RST command) when power is restored, send the following command.
MEMory:STATe:RECall:AUTO OFF

Chapter 4 Features and Functions System-Related Operations
When the front-panel ERROR annunciator turns on, one or more command syntax or hardware errors have been detected. A record of up to 10 errors is stored in the instrument’s error queue. See chapter 6 for a complete listing of the errors.
If the ERROR annunciator is on, press to view the errors. Use the knob to scroll through the error numbers. Press to view the text of the error message. Press again to increase the scrolling speed (the final key press cancels the scroll). All errors are cleared when you exit the menu.
Errors have the following format (the error string may contain up to 80 characters):
-113,"Undefined header"

Chapter 4 Features and Functions System-Related Operations
A power-on self-test occurs automatically when you turn on the instrument. This limited test assures you that the instrument and all installed plug-in modules are operational. This self-test does not perform the extensive set of tests that are included as part of the complete self-test described below.
A complete self-test runs a series of tests and takes approximately 20 seconds to execute. If all tests pass, you can have a high confidence that the instrument and all installed plug-in modules are operational.
Returns “0” if the self-test is successful or “1” if it fails.

Chapter 4 Features and Functions System-Related Operations
For security reasons or for a slight increase in scanning rates, you may want to turn off the front-panel display. From the remote interface, you can also display a 13-character message on the front-display.
The following command displays a message on the front panel and turns on the display if disabled.
To clear the message displayed on the front panel (without changing the display state), send the following command.

Chapter 4 Features and Functions System-Related Operations
During a scan, the instrument stores all readings and alarms with the current time and date. The instrument stores the time and date information in non-volatile memory.
JUN 01 1997
SYST:TIME 15,45,00 Set time to 3:45 PM SYST:DATE 1997,06,01 Set date to June 1, 1997
You can scan through the configured channels using either the internal DMM or an external instrument. For externally-controlled scans, you must either remove the internal DMM from the instrument or disable it.

Chapter 4 Features and Functions System-Related Operations
The instrument has three microprocessors for control of various internal systems. Each plug-in module also has its own on-board microprocessor. You can query the instrument and each module to determine which revision of firmware is installed for each microprocessor.
Turn the knob to read the firmware revision number for the module installed in each of the three slots. If a slot does not contain a module, EMPTY SLOT is displayed.
The above command returns a string in the form: HEWLETT-PACKARD,34970A,0,X.X-Y.Y-Z.Z
Use the following command to read the firmware revision number of the module in the specified slot (be sure to dimension a string variable with at least 30 characters).
SYSTem:CTYPe? {100|200|300}
This command returns a string in the form:

Chapter 4 Features and Functions System-Related Operations
The instrument has a Relay Maintenance System to help you predict relay end-of-life. The instrument counts the cycles on each relay in the instrument and stores the total count in non-volatile memory on each switch module. You can use this feature on any of the relay modules and the internal DMM.

Chapter 4 Features and Functions System-Related Operations
To clear the count on either the specified internal DMM relay or the specified module channels (the instrument must be unsecured), send the following commands.

Chapter 4 Features and Functions System-Related Operations
The instrument complies with the rules and conventions of the present version of SCPI (Standard Commands for Programmable Instruments). You can determine the SCPI version with which the instrument is in compliance by sending a command from the remote interface.
You cannot query the SCPI version from the front panel.
SYSTem:VERSion?
Returns a string in the form “YYYY.V”, where “YYYY” represents the year of the version, and “V” represents a version number for that year (for example, 1994.0). 4

Chapter 4 Features and Functions Remote Interface Configuration
This section gives information on configuring the instrument for remote interface communication. For more information on configuring the instrument from the front panel, see “To Configure the Remote Interface” starting on page 46. For more information on the SCPI commands available to program the instrument over the remote interface, see chapter 5, “Remote Interface Reference” starting on page 179.
Each device on the GPIB (IEEE-488) interface must have a unique address. You can set the instrument’s address to any value between 0 and 30. The address is set to “9” when the instrument is shipped from the factory. The GPIB address is displayed at power-on.
You can set the GPIB address from the front panel only.

Chapter 4 Features and Functions Remote Interface Configuration
The instrument is shipped with both an GPIB (IEEE-488) interface and an RS-232 interface. Only one interface can be enabled at a time. The GPIB interface is selected when the instrument is shipped from the factory.
SYSTem:INTerface {GPIB|RS232}

Chapter 4 Features and Functions Remote Interface Configuration
You can select one of eight baud rates for RS-232 operation. The rate is set to 57,600 baud when the instrument is shipped from the factory.
You can set the baud rate from the front panel only.
Parity Selection (RS-232)
You can select the parity for RS-232 operation. The instrument is configured for no parity with 8 data bits when shipped from the factory.
You can set the parity from the front panel only.

Chapter 4 Features and Functions Remote Interface Configuration
You can select one of several flow control methods to coordinate the transfer of data between the instrument and your computer or modem. The method that you select will be determined by the flow method used by your computer or modem.
You can select the flow control method from the front panel only.

Chapter 4 Features and Functions Remote Interface Configuration

Chapter 4 Features and Functions Calibration Overview
This section gives a brief introduction to the calibration features of the instrument and plug-in modules. For a more detailed discussion of the calibration procedures, see chapter 4 in the 34970A Service Guide.
This feature allows you to enter a security code to prevent accidental or unauthorized calibrations of the instrument. When you first receive your instrument, it is secured. Before you can calibrate the instrument, you must unsecure it by entering the correct security code.
If you forget your security code, you can disable the security feature by adding a jumper inside the instrument. See the 34970A Service Guide for more information.

Chapter 4 Features and Functions Calibration Overview
To Unsecure for Calibration You can unsecure the instrument either from the front panel or over the remote interface. The instrument is secured when shipped from the factory and the security code is set to “HP034970”.
When you first enter the Utility menu, the calibration entries toggle between CAL SECURED and UNSECURE CAL. To unsecure the instrument, select UNSECURE CAL and press . After entering the correct security code, press again. When you return to the menu, you will see new choices CAL UNSECURED and SECURE CAL.

Chapter 4 Features and Functions Calibration Overview
To Secure Against Calibration You can secure the instrument either from the front panel or over the remote interface. The instrument is secured when shipped from the factory and the security code is set to “HP034970”.
When you enter the Utility menu, the calibration entries toggle between CAL UNSECURED and SECURE CAL. To secure the instrument, select SECURE CAL and press . After entering the desired security code, press again. When you return to the menu, you will see new choices CAL SECURED and UNSECURE CAL.
To Change the Security Code To change the security code, you must first unsecure the instrument, and then enter a new code. Make sure you have read the security code rules described on page 155 before attempting to change the security code.
CAL:SECURE:STATE OFF, HP034970 Unsecure with old code CAL:SECURE:CODE ZZ007943 Enter new code

Chapter 4 Features and Functions Calibration Overview
The instrument allows you to store one message in calibration memory in the mainframe. For example, you can store such information as the date when the last calibration was performed, the date when the next calibration is due, the instrument’s serial number, or even the name and phone number of the person to contact for a new calibration.

Chapter 4 Features and Functions Calibration Overview
You can query the instrument to determine how many calibrations have been performed. Note that your instrument was calibrated before it left the factory. When you receive your instrument, be sure to read the count to determine its initial value.
CALibration:COUNt?

Chapter 4 Features and Functions Factory Reset State
The table below shows the state of the instrument after a FACTORY RESET from the Sto/Rcl menu or *RST command from the remote interface.
Measurement Configuration Function Range Resolution Integration Time Input Resistance Channel Delay Totalizer Reset Mode Totalizer Edge Detect
Factory Reset State DC Volts Autorange 51⁄2 digits 1 PLC 10 MΩ (fixed for all DCV ranges) Automatic Delay Count Not Reset When Read Rising Edge
Scanning Operations Scan List Reading Memory Min, Max, and Average Scan Interval Source Scan Interval
Factory Reset State Empty All Readings are Cleared All Statistical Data is Cleared Immediate Front Panel = 10 Seconds Remote = Immediate Front Panel = Continuous Remote = 1 Scan Sweep Reading Only (No Units, Channel, Time) Stopped
Scan Reading Format Monitor in Progress
Mx+B Scaling Gain Factor (“M”) Scale Factor (“B”) Scale Label
Factory Reset State 1 0 Vdc
Alarm Limits Alarm Queue Alarm State HI and LO Alarm Limits Alarm Output Alarm Output Configuration Alarm Output State Alarm Output Slope
Factory Reset State Not Cleared Off 0 Alarm 1 Latched Mode Output Lines are Cleared Fail = Low
Module Hardware 34901A, 34902A, 34908A 34903A, 34904A 34905A, 34906A 34907A
Factory Reset State Reset: All Channels Open Reset: All Channels Open Reset: Channels s11 and s21 Selected Reset: Both DIO Ports = Input, Count = 0, Both DACs = 0 Vdc
System-Related Operations Display State Error Queue Stored States
Factory Reset State On Errors Not Cleared No Change
Scan Count

Chapter 4 Features and Functions Instrument Preset State
The table below shows the state of the instrument after a PRESET from the Sto/Rcl menu or SYSTem:PRESet command from the remote interface.
Measurement Configuration Function Range Resolution Advanced Settings Totalizer Reset Mode Totalizer Edge Detect
Preset State No Change No Change No Change No Change Count Not Reset When Read No Change
Scanning Operations Scan List Reading Memory Min, Max, and Average Scan Interval Source Scan Interval Scan Count Scan Reading Format Monitor in Progress
Preset State No Change All Readings are Cleared All Statistical Data is Cleared No Change No Change No Change No Change Stopped
Mx+B Scaling Gain Factor (“M”) Scale Factor (“B”) Scale Label
Preset State No Change No Change No Change
Alarm Limits Alarm Queue Alarm State HI and LO Alarm Limits Alarm Output Configuration Alarm Output State Alarm Output Slope
Preset State No Change No Change No Change No Change Output Lines are Cleared No Change
Module Hardware 34901A, 34902A, 34908A 34903A, 34904A 34905A, 34906A 34907A
Preset State Reset: All Channels Open Reset: All Channels Open Reset: Channels s11 and s21 Selected Reset: Both DIO Ports = Input, Count = 0, Both DACs = 0 Vdc
System-Related Operations Display State Error Queue Stored States
Preset State On Errors Not Cleared No Change

Chapter 4 Features and Functions Multiplexer Module Default Settings
The table below shows the default settings for each measurement function on the multiplexer modules. When you configure a channel for a particular function, these are the default settings.
Temperature Measurements Temperature Units Integration Time Display Resolution Thermocouple Type Open T/C Detection Reference Junction Source RTD Type RTD Reference Resistance Thermistor Type Channel Delay
Default Setting °C 1 PLC 0.1°C Type J Off Internal α = 0.00385 R0 = 100Ω 5 kΩ Automatic Delay
Voltage Measurements Range Resolution Integration Time Input Resistance AC Low Frequency Filter Channel Delay
Default Setting Autorange 51⁄2 digits 1 PLC 10 MΩ (fixed for all DCV ranges) 20 Hz (medium) Automatic Delay
Resistance Measurements Range Resolution Integration Time Offset Compensation Channel Delay
Default Setting Autorange 51⁄2 digits 1 PLC Off Automatic Delay
Frequency/Period Measurements Range Resolution AC Low Frequency Filter Channel Delay
Default Setting Autorange 51⁄2 digits (frequency), 61⁄2 digits (period) 20 Hz (medium) Automatic Delay
Current Measurements Range Resolution Integration Time AC Low Frequency Filter Channel Delay
Default Setting Autorange 51⁄2 digits 1 PLC 20 Hz (medium) Automatic Delay

Chapter 4 Features and Functions Module Overview
This section gives a description of each plug-in module, including simplified schematics and block diagrams. A wiring log is also included to make it easy to document your wiring configuration for each module.
For complete specifications on each plug-in module, refer to the module sections in chapter 9.

Chapter 4 Features and Functions 34901A 20-Channel Multiplexer
This module is divided into two banks of 10 channels each. Two additional fused channels are available for making direct, calibrated dc or ac current measurements with the internal DMM (external shunts are not required). All 22 channels switch both HI and LO inputs, thus providing fully isolated inputs to the internal DMM or an external instrument. When making 4-wire resistance measurements, the instrument automatically pairs channel n with channel n+10 to provide the source and sense connections. The module has a built-in thermocouple reference junction to minimize errors due to thermal gradients when measuring thermocouples.
Internal DMM Input (4W Sense)
Internal DMM Input (Current)

Chapter 4 Features and Functions 34901A 20-Channel Multiplexer
Ch Name Function Comments 01 02 03 04 05 06 07 08 09 10 H COM L COM 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20 * H COM L COM Current Channels Only:
21 22 I COM L COM * 4W Sense Channels are paired to Channel (n-10).
Refer to the diagrams on page 20 to connect wiring to the module.

Chapter 4 Features and Functions 34902A 16-Channel Multiplexer
This module is divided into two banks of eight channels each. All 16 channels switch both HI and LO inputs, thus providing fully isolated inputs to the internal DMM or an external instrument. When making 4-wire resistance measurements, the instrument automatically pairs channel n with channel n+8 to provide the source and sense connections. The module has a built-in thermocouple reference junction to minimize errors due to thermal gradients when measuring thermocouples.
100 Ω 100 Ω
Internal DMM Input (4W Sense) 97

Chapter 4 Features and Functions 34902A 16-Channel Multiplexer

Ch Name Function Comments 01 02 03 04 05 06 07 08 H COM L COM 09 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * H COM L COM * 4W Sense Channels are paired to Channel (n-8).
Refer to the diagrams on page 20 to connect wiring to the module.

Chapter 4 Features and Functions 34903A 20-Channel Actuator
This module contains 20 independent, SPDT (Form C) latching relays. Screw terminals on the module provide access to the Normally-Open, Normally-Closed, and Common contacts for each switch. This module does not connect to the internal DMM.
A breadboard area is provided near the screw terminals to implement custom circuitry, such as simple filters, snubbers, and voltage dividers. The breadboard area provides the space necessary to insert your own components but there are no circuit board traces here. You must add your own circuitry and signal routing.

Chapter 4 Features and Functions 34903A 20-Channel Actuator

Refer to the diagrams on page 20 to connect wiring to the module.

Chapter 4 Features and Functions 34904A 4x8 Matrix Switch
This module contains 32 two-wire crosspoints organized in a 4-row by 8-column configuration. You can connect any combination of inputs and outputs at the same time. This module does not connect to the internal DMM. Each crosspoint relay has its own unique channel label representing the row and column. For example, channel 32 represents the crosspoint connection between row 3 and column 2 as shown below.
Col 8 Col 2 Col 1
Channel 32 (Row 3, Column 2)

Chapter 4 Features and Functions 34904A 4x8 Matrix Switch

Column Name Comments 1 2 3 4 5 6 7 8 Example: Channel 32 represents Row 3 and Column 2.
Refer to the diagrams on page 20 to connect wiring to the module.

Chapter 4 Features and Functions 34905A/6A Dual 4-Channel RF Multiplexers
These modules consist of two independent 4-to-1 multiplexers. The channels in each bank are organized in a “tree” structure to provide high isolation and low VSWR. Both banks have a common earth ground. This module does not connect to the internal DMM. You can connect your signals directly to the on-board SMB connectors or to the SMB-to-BNC cables provided with the module.

Chapter 4 Features and Functions 34905A/6A Dual 4-Channel RF Multiplexers

Refer to the diagrams on page 20 to connect wiring to the module.
Ten color-coded cables are included with the module. To order additional cables, use the following cable kit part numbers (10 cables are included): 34905-60001 (50Ω cables) 34906-60001 (75Ω cables)

Chapter 4 Features and Functions 34907A Multifunction Module
This module combines two 8-bit ports of digital input/output, a 100 kHz totalizer, and two ±12 analog outputs. For greater flexibility, you can read digital inputs and the totalizer count during a scan.
The DIO consists of two 8-bit ports with TTL-compatible inputs and output. The open- drain outputs can sink up to 400 mA. From the front panel, you can read data from only one 8-bit input port at a time. From the remote interface, you can read both ports simultaneously as a 16-bit word only if neither port is in the scan list.
Port 1 (LSB) Channel 01
Bit 7 Bit 0
Port 2 (MSB) Channel 02
The 26-bit totalizer can count pulses at a 100 kHz rate. You can configure the totalizer to count on the rising edge or falling edge of the input signal. A TTL high signal applied to the “G” terminal enables counting and a low signal disables counting. A TTL low signal applied to the “G” terminal enables counting and a high signal disables counting. The totalizer only counts when both terminals are enabled. Move the Totalize Threshold jumper to the “AC” position to detect changes through 0 volts. Move the jumper to the “TTL” position (factory setting) to detect changes through TTL threshold levels.
TOT 26 Bits Channel 03
DAC 1 16 Channel 04
The two analog outputs are capable of outputting calibrated voltages between ±12 volts with 16 bits of resolution. Each DAC channel is capable of 10 mA maximum current. You must limit the DAC output current to 40 mA total for all three slots (six DAC channels).
16 DAC 2 Channel 05

Chapter 4 Features and Functions 34907A Multifunction Module


Ch Name Comments 01 (DIO 1) Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 GND 02 (DIO 2) Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 GND 03 (Totalizer) Input (+) Input (-)
Refer to the diagrams on page 20 to connect wiring to the module.
Digital Input / Output: Vin(L): 2.0V (TTL) Vout(L): 2.4V @ Iout = 1 mA Vin(H) Max:
Totalizer: Maximum Count: 67,108,863 (226 -1) Totalize Input: 100 kHz (max) Signal Level: 1 Vp-p (min), 42 Vpk (max)
20 AWG Typical · 6 mm

Chapter 4 Features and Functions 34908A 40-Channel Single-Ended Multiplexer
The module is divided into two banks of 20 channels each. All of the 40 channels switch HI only, with a common LO for the module. The module has a built-in thermocouple reference junction to minimize errors due to thermal gradients when measuring thermocouples.

Chapter 4 Features and Functions 34908A 40-Channel Single-Ended Multiplexer


Ch Name Function Comments 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 LO H COM






Chapter 5 Remote Interface Reference SCPI Command Summary
Throughout this manual, the following conventions are used for SCPI command syntax for remote interface programming:
Many of the SCPI commands for the 34970A include a scan_list or ch_list parameter which allow you to specify one or more channels. The channel number has the form (@scc), where s is the slot number (100, 200, or 300) and cc is the channel number. You can specify a single channel, multiple channels, or a range of channels as shown below.

Chapter 5 Remote Interface Reference SCPI Command Summary
Before you can initiate a scan, you must set up a scan list to include all desired multiplexer or digital channels. Channels which are not in the list are skipped during the scan. The instrument automatically scans the list of channels in ascending order from slot 100 through slot 300.
CONFigure:VOLTage:DC (@101,121)
CONFigure:VOLTage:DC (@101:220)
However, if the illegal channel is one of the end points in the range, the instrument will generate an error. For example, the following command will generate an error on the 34901A module since channel 122 is for current measurements only.
CONFigure:VOLTage:DC (@101:122)

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 226 for more information)
MEASure :TEMPerature? {TCouple|RTD|FRTD|THERmistor|DEF} ,{|DEF}[,1[,{|MIN|MAX|DEF}]] ,(@) :VOLTage:DC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :VOLTage:AC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :RESistance? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :FRESistance? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :CURRent:DC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :CURRent:AC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :FREQuency? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :PERiod? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) :DIGital:BYTE? (@) :TOTalize? {READ|RRESet} ,(@)
(see page 237 for more information)
ROUTe :MONitor (@) :MONitor?
ROUTe :MONitor:STATe {OFF|ON} :MONitor:STATe?
ROUTe:MONitor:DATA?
This command redefines the scan list when executed. Default parameters are shown in bold.
Scan Measurement Commands · Monitor Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 226 for more information)
ROUTe :SCAN (@) :SCAN? :SCAN:SIZE?
TRIGger :SOURce {BUS|IMMediate|EXTernal|ALARm1|ALARm2|ALARm3|ALARm4|TIMer} :SOURce?
TRIGger :TIMer {|MIN|MAX} :TIMer?
TRIGger :COUNt {|MIN|MAX|INFinity} :COUNt?
ROUTe :CHANnel:DELay [,(@)] :CHANnel:DELay? [(@)] :CHANnel:DELay:AUTO {OFF|ON}[,(@)] :CHANnel:DELay:AUTO? [(@)]
FORMat :READing:ALARm {OFF|ON} :READing:ALARm? :READing:CHANnel {OFF|ON} :READing:CHANnel? :READing:TIME {OFF|ON} :READing:TIME? :READing:UNIT {OFF|ON} :READing:UNIT?
FORMat :READing:TIME:TYPE {ABSolute|RELative} :READing:TIME:TYPE?
This command redefines the scan list when executed. This command applies to all channels in the instrument (Global setting). Default parameters are shown in bold.
Scan Configuration Commands · ABORt · INITiate

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 233 for more information)
CALCulate :AVERage:MINimum? [(@)] :AVERage:MINimum:TIME? [(@)] :AVERage:MAXimum? [(@)] :AVERage:MAXimum:TIME? [(@)] :AVERage:AVERage? [(@)] :AVERage:PTPeak? [(@)] :AVERage:COUNt? [(@)] :AVERage:CLEar [(@)]
DATA:LAST? [,][(@)]
(see page 235 for more information)
DATA:POINts?
DATA:REMove?
SYSTem:TIME:SCAN?
R? []
Scan Statistics Commands · Scan Memory Commands · FETCh?

Chapter 5 Remote Interface Reference SCPI Command Summary
Scanning With an External Instrument
(see page 239 for more information)
ROUTe :SCAN (@) :SCAN? :SCAN:SIZE?
TRIGger :SOURce {BUS|IMMediate|EXTernal|TIMer} :SOURce?
TRIGger :TIMer {|MIN|MAX} :TIMer?
TRIGger :COUNt {|MIN|MAX|INFinity} :COUNt?
ROUTe :CHANnel:DELay [,(@)] :CHANnel:DELay? [(@)]
ROUTe :CHANnel:ADVance:SOURce {EXTernal|BUS|IMMediate} :CHANnel:ADVance:SOURce?
ROUTe :CHANnel:FWIRe {OFF|ON}[,(@)] :CHANnel:FWIRe? [(@)]
INSTrument :DMM {OFF|ON} :DMM? :DMM:INSTalled?
This command redefines the scan list when executed. This command applies to all channels in the instrument (Global setting). Default parameters are shown in bold.

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 219 for more information)
CONFigure :TEMPerature {TCouple|RTD|FRTD|THERmistor|DEF} ,{|DEF}[,1[,{|MIN|MAX|DEF}]] ,(@) CONFigure? [(@)]
UNIT :TEMPerature {C|F|K}[,(@)] :TEMPerature? [(@)]
[SENSe:]TEMPerature:TRANsducer :TYPE {TCouple|RTD|FRTD|THERmistor|DEF}[,(@)] :TYPE? [(@)]
[SENSe:]TEMPerature:TRANsducer :TCouple:TYPE {B|E|J|K|N|R|S|T}[,(@)] :TCouple:TYPE? [(@)] :TCouple:CHECk {OFF|ON}[,(@)] :TCouple:CHECk? [(@)]
[SENSe:]TEMPerature:TRANsducer :TCouple:RJUNction:TYPE {INTernal|EXTernal|FIXed}[,(@)] :TCouple:RJUNction:TYPE? [(@)] :TCouple:RJUNction {|MIN|MAX}[,(@)] :TCouple:RJUNction? [(@)]
[SENSe:]TEMPerature:RJUNction? [(@)]
[SENSe:]TEMPerature:TRANsducer :RTD:TYPE {85|91}[,(@)] :RTD:TYPE? [(@)] :RTD:RESistance[:REFerence] [,(@)] :RTD:RESistance[:REFerence]? [(@)]
[SENSe:]TEMPerature:TRANsducer :FRTD:TYPE {85|91}[,(@)] :FRTD:TYPE? [(@)] :FRTD:RESistance[:REFerence] [,(@)] :FRTD:RESistance[:REFerence]? [(@)]
[SENSe:]TEMPerature:TRANsducer :THERmistor:TYPE {2252|5000|10000}[,(@)] :THERmistor:TYPE? [(@)]
[SENSe:] TEMPerature:NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] TEMPerature:NPLC? [{(@)|MIN|MAX}]
This command redefines the scan list when executed. Default parameters are shown in bold.
Temperature Configuration Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 223 for more information)
CONFigure :VOLTage:DC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] VOLTage:DC:RANGe {|MIN|MAX}[,(@)] VOLTage:DC:RANGe? [{(@)|MIN|MAX}] VOLTage:DC:RANGe:AUTO {OFF|ON}[,(@)] VOLTage:DC:RANGe:AUTO? [(@)]
[SENSe:] VOLTage:DC:RESolution {|MIN|MAX}[,(@)] VOLTage:DC:RESolution? [{(@)|MIN|MAX}]
[SENSe:] VOLTage:DC:APERture {|MIN|MAX}[,(@)] VOLTage:DC:APERture? [{(@)|MIN|MAX}]
[SENSe:] VOLTage:DC:NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] VOLTage:DC:NPLC? [{(@)|MIN|MAX}]
INPut :IMPedance:AUTO {OFF|ON}[,(@)] :IMPedance:AUTO? [(@)]
[SENSe:] ZERO:AUTO {OFF|ONCE|ON}[,(@)] ZERO:AUTO? [(@)]
CONFigure :VOLTage:AC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] VOLTage:AC:RANGe {|MIN|MAX}[,(@)] VOLTage:AC:RANGe? [{(@)|MIN|MAX}] VOLTage:AC:RANGe:AUTO {OFF|ON}[,(@)] VOLTage:AC:RANGe:AUTO? [(@)]
[SENSe:] VOLTage:AC:BANDwidth {3|20|200|MIN|MAX}[,(@)] VOLTage:AC:BANDwidth? [{(@)|MIN|MAX}]
This command redefines the scan list when executed. Default parameters are shown in bold.
Voltage Configuration Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 224 for more information)
CONFigure :RESistance [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] RESistance:RANGe {|MIN|MAX}[,(@)] RESistance:RANGe? [{(@|MIN|MAX}] RESistance:RANGe:AUTO {OFF|ON}[,(@)] RESistance:RANGe:AUTO? [(@)]
[SENSe:] RESistance:RESolution {|MIN|MAX}[,(@)] RESistance:RESolution? [{(@)|MIN|MAX}] RESistance:APERture {|MIN|MAX}[,(@)] RESistance:APERture? [{(@)|MIN|MAX}] RESistance:NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] RESistance:NPLC? [{(@)|MIN|MAX}]
[SENSe:] RESistance:OCOMpensated {OFF|ON}[,(@)] RESistance:OCOMpensated? [(@)]
CONFigure :FRESistance [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] FRESistance:RANGe {|MIN|MAX}[,(@)] FRESistance:RANGe? [{(@)|MIN|MAX}] FRESistance:RANGe:AUTO {OFF|ON}[,(@)] FRESistance:RANGe:AUTO? [(@)]
[SENSe:] FRESistance:RESolution {|MIN|MAX}[,(@)] FRESistance:RESolution? [{(@)|MIN|MAX}] FRESistance:APERture {|MIN|MAX}[,(@)] FRESistance:APERture? [{(@)|MIN|MAX}] FRESistance:NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] FRESistance:NPLC? [{(@)|MIN|MAX}]
[SENSe:] FRESistance:OCOMpensated {OFF|ON}[,(@)] FRESistance:OCOMpensated? [(@)]
This command redefines the scan list when executed. Default parameters are shown in bold.
Resistance Configuration Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 224 for more information)
Valid only on channels 21 and 22 on the 34901A multiplexer module.
CONFigure :CURRent:DC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] CURRent:DC:RANGe {|MIN|MAX}[,(@)] CURRent:DC:RANGe? [{(@)|MIN|MAX}] CURRent:DC:RANGe:AUTO {OFF|ON}[,(@)] CURRent:DC:RANGe:AUTO? [(@)]
[SENSe:] CURRent:DC:RESolution {|MIN|MAX}[,(@)] CURRent:DC:RESolution? [{(@)|MIN|MAX}]
[SENSe:] CURRent:DC:APERture {|MIN|MAX}[,(@)] CURRent:DC:APERture? [{(@)|MIN|MAX}]
[SENSe:] CURRent:DC:NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] CURRent:DC:NPLC? [{(@)|MIN|MAX}]
CONFigure :CURRent:AC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] CURRent:AC:RANGe {|MIN|MAX}[,(@)] CURRent:AC:RANGe? [{(@)|MIN|MAX}] CURRent:AC:RANGe:AUTO {OFF|ON}[,(@)] CURRent:AC:RANGe:AUTO? [(@)]
[SENSe:] CURRent:AC:BANDwidth {3|20|200|MIN|MAX}[,(@)] CURRent:AC:BANDwidth? [{(@)|MIN|MAX}]
This command redefines the scan list when executed. Default parameters are shown in bold.
Current Configuration Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
Frequency and Period Configuration Commands
(see page 214 for more information)
CONFigure :FREQuency [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] FREQuency:VOLTage:RANGe {|MIN|MAX}[,(@)] FREQuency:VOLTage:RANGe? [{(@)|MIN|MAX}] FREQuency:VOLTage:RANGe:AUTO {OFF|ON}[,(@)] FREQuency:VOLTage:RANGe:AUTO? [(@)]
[SENSe:] FREQuency:APERture {0.01|0.1|1|MIN|MAX}[,(@)] FREQuency:APERture? [{(@)|MIN|MAX}]
[SENSe:] FREQuency:RANGe:LOWer {3|20|200|MIN|MAX}[,(@)] FREQuency:RANGe:LOWer? [{(@)|MIN|MAX}]
CONFigure :PERiod [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@) CONFigure? [(@)]
[SENSe:] PERiod:VOLTage:RANGe {|MIN|MAX}[,(@)] PERiod:VOLTage:RANGe? [{(@)|MIN|MAX}] PERiod:VOLTage:RANGe:AUTO {OFF|ON}[,(@)] PERiod:VOLTage:RANGe:AUTO? [(@)]
[SENSe:] PERiod:APERture {0.01|0.1|1|MIN|MAX}[,(@)] PERiod:APERture? [{(@)|MIN|MAX}]
This command redefines the scan list when executed. Default parameters are shown in bold.

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 244 for more information)
CALCulate :SCALe:GAIN [,(@)] :SCALe:GAIN? [(@)] :SCALe:OFFSet [,(@)] :SCALe:OFFSet? [(@)] :SCALe:UNIT [,(@)] :SCALe:UNIT? [(@)]
CALCulate:SCALe:OFFSet:NULL [(@)]
CALCulate :SCALe:STATe {OFF|ON}[,(@)] :SCALe:STATe? [(@)]
Mx+B Scaling Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 247 for more information)
OUTPut :ALARm[1|2|3|4]:SOURce (@) :ALARm[1|2|3|4]:SOURce?
CALCulate :LIMit:UPPer [,(@)] :LIMit:UPPer? [(@)] :LIMit:UPPer:STATe {OFF|ON}[,(@)] :LIMit:UPPer:STATe? [(@)]
CALCulate :LIMit:LOWer [,(@)] :LIMit:LOWer? [(@)] :LIMit:LOWer:STATe {OFF|ON}[,(@)] :LIMit:LOWer:STATe? [(@)]
SYSTem:ALARm?
OUTPut :ALARm:MODE {LATCh|TRACk} :ALARm:MODE? :ALARm:SLOPe {NEGative|POSitive} :ALARm:SLOPe?
OUTPut :ALARm{1|2|3|4}:CLEar :ALARm:CLEar:ALL
STATus :ALARm:CONDition? :ALARm:ENABle :ALARm:ENABle? :ALARm[:EVENt]?
Ch 01 DIO (LSB)
Ch 02 DIO (MSB)
DAC
CALCulate :COMPare:TYPE {EQUal|NEQual}[,(@)] :COMPare:TYPE? [(@)] :COMPare:DATA [,(@)] :COMPare:DATA? [(@)] :COMPare:MASK [,(@)] :COMPare:MASK? [(@)] :COMPare:STATe {OFF|ON}[,(@)] :COMPare:STATe? [(@)]
This command applies to all channels in the instrument (Global setting). Default parameters are shown in bold.

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 255 for more information)
Ch 01 DIO (LSB)
Ch 02 DIO (MSB)
DAC
CONFigure:DIGital:BYTE (@) CONFigure? [(@)]
[SENSe:]DIGital:DATA:{BYTE|WORD}? [(@)]
(see page 256 for more information)
Ch 01 DIO (LSB)
Ch 02 DIO (MSB)
DAC
CONFigure:TOTalize {READ|RRESet} ,(@) CONFigure? [(@)]
[SENSe:] TOTalize:TYPE {READ|RRESet}[,(@)] TOTalize:TYPE? [(@)]
[SENSe:] TOTalize:SLOPe {NEGative|POSitive}[,(@)] TOTalize:SLOPe? [(@)]
[SENSe:]TOTalize:CLEar:IMMediate [(@)]
[SENSe:]TOTalize:DATA? [(@)]
This command redefines the scan list when executed. Default parameters are shown in bold.

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 258 for more information)
Ch 01 DIO (LSB)
Ch 02 DIO (MSB)
DAC
SOURce :DIGital:DATA[:{BYTE|WORD}] ,(@) :DIGital:DATA[:{BYTE|WORD}]? (@)
SOURce:DIGital:STATe? (@)
(see page 258 for more information)
Ch 01 DIO (LSB)
Ch 02 DIO (MSB)
DAC
SOURce :VOLTage ,(@) :VOLTage? (@)
(see page 259 for more information)
ROUTe :CLOSe (@) :CLOSe:EXCLusive (@) :CLOSe? (@)
ROUTe :OPEN (@) :OPEN? (@)
ROUTe :CHANnel:FWIRe {OFF|ON}[,(@)] :CHANnel:FWIRe? [(@)]
ROUTe:DONE?
SYSTem:CPON {100|200|300|ALL}
Default parameters are shown in bold.

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 228 for more information)
TRIGger :SOURce {BUS|IMMediate|EXTernal|ALARm1|ALARm2|ALARm3|ALARm4|TIMer} :SOURce?
TRIGger :TIMer {|MIN|MAX} :TIMer?
TRIGger :COUNt {|MIN|MAX|INFinity} :COUNt?
READ?
(see page 261 for more information)
MEMory:STATe :NAME {1|2|3|4|5} [,] :NAME? {1|2|3|4|5}
MEMory:STATe:DELete {0|1|2|3|4|5}
MEMory:STATe :RECall:AUTO {OFF|ON} :RECall:AUTO?
MEMory:STATe:VALid? {0|1|2|3|4|5}
MEMory:NSTates?
This command applies to all channels in the instrument (Global setting). Default parameters are shown in bold.
Scan Triggering Commands · INITiate · State Storage Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 264 for more information)
SYSTem :DATE ,, :DATE? :TIME ,, :TIME?
FORMat :READing:TIME:TYPE {ABSolute|RELative} :READing:TIME:TYPE?
SYSTem:CTYPe? {100|200|300}
DIAGnostic :POKE:SLOT:DATA {100|200|300}, :PEEK:SLOT:DATA? {100|200|300}
DISPlay {OFF|ON} DISPlay?
DISPlay :TEXT :TEXT? :TEXT:CLEar
INSTrument :DMM {OFF|ON} :DMM? :DMM:INSTalled?
SYSTem:PRESet
SYSTem:CPON {100|200|300|ALL}
SYSTem:ERRor?
SYSTem:ALARm?
SYSTem:VERSion?
Default parameters are shown in bold.
System-Related Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 269 for more information)
SYSTem:INTerface {GPIB|RS232}
SYSTem:LOCal
SYSTem:REMote
SYSTem:RWLock
(see page 286 for more information)
*STB? *SRE *SRE?
STATus :QUEStionable:CONDition? :QUEStionable[:EVENt]? :QUEStionable:ENABle :QUEStionable:ENABle?
*ESR? *ESE *ESE?
STATus :ALARm:CONDition? :ALARm[:EVENt]? :ALARm:ENABle :ALARm:ENABle?
STATus :OPERation:CONDition? :OPERation[:EVENt]? :OPERation:ENABle :OPERation:ENABle?
DATA:POINts :EVENt:THReshold :EVENt:THReshold?
STATus:PRESet
*PSC {0|1} *PSC?
*OPC
Interface Configuration Commands · Status System Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
(see page 292 for more information)
CALibration:COUNt?
CALibration :SECure:CODE :SECure:STATe {OFF|ON}, :SECure:STATe?
CALibration :STRing :STRing?
CALibration :VALue :VALue?
(see page 294 for more information)
INSTrument :DMM {OFF|ON} :DMM? :DMM:INSTalled?
DIAGnostic :DMM:CYCLes? :DMM:CYCLes:CLEar (1|2|3}
DIAGnostic :RELay:CYCLes? [(@)] :RELay:CYCLes:CLEar [(@)]
SYSTem:PRESet
SYSTem:CPON {100|200|300|ALL}
SYSTem:VERSion?
Default parameters are shown in bold.
Calibration Commands · CALibration? · Service-Related Commands

Chapter 5 Remote Interface Reference SCPI Command Summary
IEEE 488.2 Common Commands
*ESR? *ESE *ESE?
*OPC
*OPC?
*PSC {0|1} *PSC?
*RST
*SAV {0|1|2|3|4|5} *RCL {0|1|2|3|4|5}
*STB? *SRE *SRE?
*TST?

Chapter 5 Remote Interface Reference Simplified Programming Overview
This section gives an overview of the basic techniques used to program the 34970A over the remote interface. This section is only an overview and does not give all of the details you will need to write your own application programs. Refer to the remainder of this chapter and also the application examples in chapter 7 for more details and examples. You may also want to refer to the documentation provided with your programming application for details on outputting command strings and entering data.
The MEASure? and CONFigure commands provide the most straight- forward method to program the instrument for scanning. You can select the measurement function, range, and resolution all in one command. All other measurement parameters are set to their default values as shown in the table below.
Measurement Parameter Integration Time Input Resistance AC Filter Scan List Scan Interval Source Scan Count Channel Delay
MEASure? and CONFigure Setting 1 PLC 10 MΩ (fixed for all DCV ranges) 20 Hz (medium filter) Redefined when command executed Immediate 1 Scan Sweep Automatic Delay
When you configure a channel using MEASure? or CONFigure, it is important to note that the previous configuration on that channel is lost. For example, assume that a channel is configured for dc voltage measurements. When you reconfigure that channel for thermocouple measurements, the previous range, resolution, and other measurement attributes are set to their default values.

Chapter 5 Remote Interface Reference Simplified Programming Overview
The MEASure? command provides the easiest way to program the instrument for scanning. However, this command does not offer much flexibility. When you execute this command, the instrument uses default values for the requested measurement configuration and immediately performs the scan. You cannot change any measurement attributes (other than function, range, and resolution) before the measurement is taken. The results are sent directly to the instrument’s output buffer but readings are not stored in memory.
For a little more programming flexibility, use the CONFigure command. When you execute this command, the instrument uses the default values for the requested measurement configuration (like the MEASure? command). However, the scan is not automatically started and you can change some measurement attributes before initiating the scan. This allows you to incrementally change the instrument’s configuration from the default conditions. The instrument offers a variety of low-level commands in the ROUTe, SENSe, SOURce, CALCulate, and TRIGger subsystems.

Chapter 5 Remote Interface Reference Simplified Programming Overview
With the MEASure? and CONFigure commands, you can select the measurement function, range, and resolution all in one command. Use the range parameter to specify a fixed range larger than the expected value of the input signal. You can also set the range parameter to AUTO to select autoranging.
For frequency and period measurements, the instrument uses one “range” for all inputs between 3 Hz and 300 kHz. The range parameter is required only to specify the resolution. Therefore, it is not necessary to send a new command for each new frequency to be measured.
Use the resolution parameter to specify the desired resolution for the measurement. Setting the resolution also sets the integration time for the measurement. The following table shows the relationship between integration time, measurement resolution, number of digits, and number of bits.
Integration Time Resolution Digits Bits
0.02 PLC 0.2 PLC 1 PLC 2 PLC 10 PLC 20 PLC 100 PLC 200 PLC
< 0.0001 x Range < 0.00001 x Range < 0.000003 x Range < 0.0000022 x Range < 0.000001 x Range < 0.0000008 x Range < 0.0000003 x Range < 0.00000022 x Range
41⁄2 Digits 51⁄2 Digits 51⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits 61⁄2 Digits
15 18 20 21 24 25 26 26
Specify the resolution in the same units as the measurement function, not in number of digits. For example, for dc voltage measurements, specify the desired resolution in volts. For resistance, specify the desired resolution in ohms. For frequency, specify the desired resolution in hertz.

Chapter 5 Remote Interface Reference Simplified Programming Overview
The READ? command changes the state of the scan trigger system from the “idle” state to the “wait-for-trigger” state. Scanning will begin when the specified trigger conditions are satisfied following the receipt of the READ? command. Readings are then sent immediately to the instrument’s output buffer. You must then enter the readings into your computer or the instrument will stop scanning when the output buffer becomes full. Readings are not stored in the instrument’s internal memory when using the READ? command.
If you send two query commands without reading the response from the first, and then attempt to read the second response, you may receive some data from the first response followed by the complete second response. To avoid this, do not send a query command without first reading the response. When you cannot avoid this situation, send a Device Clear before sending the second query command.
The INITiate and FETCh? commands provide the lowest level of control (with the most flexibility) of scan triggering and reading retrieval. Use the INITiate command after you have configured the instrument for a scan. Scanning will begin when the specified trigger conditions are satisfied following the receipt of the INITiate command. The readings are placed in the instrument’s internal reading memory (up to 50,000 readings can be stored; if memory fills, new readings will overwrite the first readings stored). Readings are stored in memory until you are able to retrieve them.
Use the FETCh? command to transfer all of the readings from reading memory to the instrument’s output buffer where you can read them into your computer. Note that the FETCh? command does not clear memory. You can send the FETCh? command any number of times to retrieve the same data in reading memory.

Chapter 5 Remote Interface Reference Simplified Programming Overview
Example: Using MEASure?
The following program segment shows how to use the MEASure? command to make a measurement on one channel. This example configures the instrument for dc voltage measurements, internally triggers the instrument to scan one channel, and then sends the reading to the instrument’s output buffer.
This is the simplest way to take a reading. However, you do not have any flexibility with MEASure? to set the scan count, channel delay, etc. All measurement parameters except function, range, and resolution are preset for you automatically (see the table on page 201).
Example: Using CONFigure With READ?
The following program segment shows how to use the READ? command with CONFigure to make an externally-triggered scan on one channel. The program configures the instrument for a dc voltage measurement. Using CONFigure does not place the instrument in the “wait-for- trigger” state. The READ? command places the instrument in the “wait-for-trigger” state, scans the channel once when the Ext Trig terminal is pulsed on the rear panel, and sends the reading to the instrument’s output buffer.

Chapter 5 Remote Interface Reference Simplified Programming Overview
Example: Using CONFigure With INITiate and FETCh?
The following program segment is similar to the previous example but it uses INITiate to place the instrument in the “wait-for-trigger” state. The INITiate command places the instrument in the “wait-for-trigger” state, scans the specified channel when the Ext Trig terminal is pulsed on the rear panel, and sends the reading to reading memory. The FETCh? command transfers the reading from reading memory to the instrument’s output buffer.
Storing readings in memory using the INITiate command is faster than sending readings to the output buffer using the READ? command. The INITiate command is also an “overlapped” command. This means that after executing the INITiate command, you can send other commands that do not affect the scan. Note that the FETCh? command will wait until the scan is complete to terminate. The instrument can store up to 50,000 readings in internal reading memory.

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
Both the MEASure? and CONFigure commands reset all measurement parameters to their default values. For more information on the default settings for these commands, see the table on page 201.
MEASure:TEMPerature? TCouple,{B|E|J|K|N|R|S|T|DEF} [,1[,|MIN|MAX|DEF}]] ,(@)
Configure the specified channels for thermocouple measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The default (DEF) transducer type is a J-Type thermocouple.
MEASure? Command Syntax

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
MEASure:TEMPerature? {RTD|FRTD},{85|91|DEF} [,1[,|MIN|MAX|DEF}]] ,(@)
Configure the specified channels for 2-wire or 4-wire RTD measurements and immediately sweep through the scan list one time. Use “85” to specify α = 0.00385 or “91” to specify α = 0.00391. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The default (DEF) type is “85” (α = 0.00385).
For 4-wire RTD measurements (FRTD), the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
MEASure:TEMPerature? {THERmistor},{2252|5000|10000|DEF} [,1[,|MIN|MAX|DEF}]] ,(@)
Configure the specified channels for thermistor measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The default (DEF) transducer type is a 5 kΩ thermistor.
MEASure:VOLTage:DC? MEASure:VOLTage:AC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for dc or ac voltage measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. For ac measurements, the resolution is actually fixed at 61⁄2 digits; the resolution parameter only affects the number of digits shown on the front-panel.

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
MEASure:RESistance? MEASure:FRESistance? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for 2-wire or 4-wire measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the output buffer but the readings are not stored in reading memory.
For 4-wire measurements (FRES), the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
MEASure:CURRent:DC? MEASure:CURRent:AC? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for dc or ac current measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. For ac measurements, the resolution is actually fixed at 61⁄2 digits; the resolution parameter only affects the number of digits shown on the front-panel.
MEASure:FREQuency? MEASure:PERiod? [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for frequency or period measurements and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. With no signal applied, “0” is returned.

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
MEASure:DIGital:BYTE? (@)
Configure the instrument to read the specified digital input channels on the multifunction module and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number.
MEASure:TOTalize? {READ|RRESet} ,(@)
Configure the instrument to read the count on the specified totalizer channels on the multifunction module and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The totalizer channel is numbered “s03”, where s represents the slot number.
To read the totalizer during the scan without resetting the count, select the READ parameter. To read the totalizer during the scan and reset the count to “0” after it is read, select the RRESet parameter (this means “read and reset”).

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
CONFigure:TEMPerature {TCouple},{B|E|J|K|N|R|S|T|DEF} [,1[,|MIN|MAX|DEF}]] ,(@
Configure the specified channels for thermocouple measurements but do not initiate the scan. Note that this command also redefines the scan list. The default (DEF) transducer type is a J-Type thermocouple.
CONFigure:TEMPerature {RTD|FRTD},{85|91|DEF} [,1[,|MIN|MAX|DEF}]] ,(@)
Configure the specified channels for 2-wire or 4-wire RTD measurements but do not initiate the scan. Use “85” to specify α = 0.00385 or “91” to specify α = 0.00391. Note that this command also redefines the scan list. The default (DEF) type is “85” (α = 0.00385).
For 4-wire RTD measurements (FRTD), the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
CONFigure:TEMPerature {THERmistor},{2252|5000|10000|DEF} [,1[,|MIN|MAX|DEF}]] ,(@)
Configure the specified channels for thermistor measurements but do not initiate the scan. Note that this command also redefines the scan list. The default (DEF) transducer type is a 5 kΩ thermistor.
CONFigure Command Syntax

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
CONFigure:VOLTage:DC CONFigure:VOLTage:AC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for dc or ac voltage measurements but do not initiate the scan. Note that this command also redefines the scan list. For ac measurements, the resolution is actually fixed at 61⁄2 digits; the resolution parameter only affects the number of digits shown on the front-panel.
CONFigure:RESistance CONFigure:FRESistance [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for 2-wire or 4-wire measurements but do not initiate the scan. Note that this command also redefines the scan list.
For 4-wire measurements (FRES), the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
CONFigure:CURRent:DC CONFigure:CURRent:AC [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for dc or ac current measurements but do not initiate the scan. Note that this command also redefines the scan list. For ac measurements, the resolution is actually fixed at 61⁄2 digits; the resolution parameter only affects the number of digits shown on the front-panel.

Chapter 5 Remote Interface Reference The MEASure? and CONFigure Commands
CONFigure:FREQuency CONFigure:PERiod [{|AUTO|MIN|MAX|DEF} [,|MIN|MAX|DEF}],] (@)
Configure the specified channels for frequency or period measurements but do not initiate the scan. For frequency and period measurements, the range parameter is ignored. Note that this command also redefines the scan list.
CONFigure:DIGital:BYTE (@)
Configure the instrument to read the specified digital input channels on the multifunction module but do not initiate the scan. Note that this command also redefines the scan list. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s is the slot number.
CONFigure:TOTalize {READ|RRESet} ,(@)
Configure the instrument to read the specified totalizer channels on the multifunction module but do not initiate the scan. Note that this command also redefines the scan list. The totalizer channel is numbered “s03”, where s represents the slot number.
To read the totalizer during the scan without resetting the count, select the READ parameter. To read the totalizer during the scan and reset the count to “0” after it is read, select the RRESet parameter (this means “read and reset”).
CONFigure? [(@)]
Query the present configuration on the specified channels and return a series of quoted strings. If you omit the optional ch_list parameter, the instrument uses the active scan list. The command returns a series of comma-separated fields as shown in the example below. Each field contains the function, range, and resolution.

Chapter 5 Remote Interface Reference Setting the Function, Range, and Resolution
See also “General Measurement Configuration” in chapter 4 starting on page 98.
[SENSe:]FUNCtion ""[,(@)]
Select the measurement function on the specified channels. The function name must be enclosed in quotes in the command string (for example, FUNC "VOLT:DC"). Specify one of the following strings to set the function.
TEMPerature VOLTage[:DC] VOLTage:AC RESistance FRESistance
CURRent[:DC] CURRent:AC FREQuency PERiod
Query the measurement function on the specified channels and return a quoted string. The short form of the function name is always returned (for example, "VOLT").

Chapter 5 Remote Interface Reference Setting the Function, Range, and Resolution
[SENSe:] VOLTage:DC:RANGe {|MIN|MAX}[,(@)] VOLTage:AC:RANGe {|MIN|MAX}[,(@)] RESistance:RANGe {|MIN|MAX}[,(@)] FRESistance:RANGe {|MIN|MAX}[,(@)] CURRent:DC:RANGe {|MIN|MAX}[,(@)] CURRent:AC:RANGe {|MIN|MAX}[,(@)] FREQuency:VOLTage:RANGe {|MIN|MAX}[,(@)] PERiod:VOLTage:RANGe {|MIN|MAX}[,(@)]
Select the measurement range for the function selected on the specified channels. MIN selects the lowest range. MAX selects the highest range.
[SENSe:] VOLTage:DC:RANGe? [{(@)|MIN|MAX}] VOLTage:AC:RANGe? [{(@)|MIN|MAX}] RESistance:RANGe? [{(@)|MIN|MAX}] FRESistance:RANGe? [{(@)|MIN|MAX}] CURRent:DC:RANGe? [{(@)|MIN|MAX}] CURRent:AC:RANGe? [{(@)|MIN|MAX}] FREQuency:VOLTage:RANGe? [{(@)|MIN|MAX}] PERiod:VOLTage:RANGe? [{(@)|MIN|MAX}]
Query the measurement range on the specified channels. Returns a number in the form “+1.00000000E+01”.
[SENSe:] VOLTage:DC:RANGe:AUTO {OFF|ON}[,(@)] VOLTage:AC:RANGe:AUTO {OFF|ON}[,(@)] RESistance:RANGe:AUTO {OFF|ON}[,(@)] FRESistance:RANGe:AUTO {OFF|ON}[,(@)] CURRent:DC:RANGe:AUTO {OFF|ON}[,(@)] CURRent:AC:RANGe:AUTO {OFF|ON}[,(@)] FREQuency:VOLTage:RANGe:AUTO {OFF|ON}[,(@)] PERiod:VOLTage:RANGe:AUTO {OFF|ON}[,(@)]
Disable or enable autoranging on the specified channels. Autoranging thresholds: Down ranges at 120% of range.

Chapter 5 Remote Interface Reference Setting the Function, Range, and Resolution
[SENSe:] VOLTage:DC:RANGe:AUTO? [(@)] VOLTage:AC:RANGe:AUTO? [(@)] RESistance:RANGe:AUTO? [(@)] FRESistance:RANGe:AUTO? [(@)] CURRent:DC:RANGe:AUTO? [(@)] CURRent:AC:RANGe:AUTO? [(@)] FREQuency:VOLTage:RANGe:AUTO? [(@)] PERiod:VOLTage:RANGe:AUTO? [(@)]
Query the autorange setting on the specified channels. Returns “0” (OFF) or “1” (ON).
[SENSe:] VOLTage:DC:RESolution {|MIN|MAX}[,(@)] RESistance:RESolution {|MIN|MAX}[,(@)] FRESistance:RESolution {|MIN|MAX}[,(@)] CURRent:DC:RESolution {|MIN|MAX}[,(@)]
Select the resolution for the function selected on the specified channels. Specify the resolution in the same units as the measurement function, not in number of digits. MIN selects the smallest value accepted for this parameter, which gives the most resolution. MAX selects the largest value accepted for this parameter, which gives the least resolution.
For more information on the relationship between integration time, measurement resolution, number of digits, and number of bits, see the table on page 203.
[SENSe:] VOLTage:DC:RESolution? [{(@)|MIN|MAX}] RESistance:RESolution? [{(@)|MIN|MAX}] FRESistance:RESolution? [{(@)|MIN|MAX}] CURRent:DC:RESolution? [{(@)|MIN|MAX}]
Query the resolution setting on the specified channels. Returns a number in the form “+3.00000000E-05”.

Chapter 5 Remote Interface Reference Setting the Function, Range, and Resolution
[SENSe:] VOLTage:DC:APERture {|MIN|MAX}[,(@)] RESistance:APERture {|MIN|MAX}[,(@)] FRESistance:APERture {|MIN|MAX}[,(@)] CURRent:DC:APERture {|MIN|MAX}[,(@)]
Select the aperture time for the function selected on the specified channels. MIN selects the smallest value accepted for this parameter, which gives the lowest resolution. MAX selects the largest value accepted for this parameter, which gives the highest resolution.
For more information on aperture time, refer to “Custom A/D Integration Time” in chapter 4 starting on page 103.
[SENSe:] VOLTage:DC:APERture? [{(@)|MIN|MAX}] RESistance:APERture? [{(@)|MIN|MAX}] FRESistance:APERture? [{(@)|MIN|MAX}] CURRent:DC:APERture? [{(@)|MIN|MAX}]
Query the aperture time setting on the specified channels. Returns a number in the form “+1.66666700E-02”.
[SENSe:] FREQuency:APERture {0.01|0.1|1|MIN|MAX}[,(@)] PERiod:APERture {0.01|0.1|1|MIN|MAX}[,(@)]
Select the aperture time (or gate time) for frequency or period measurements on the specified channels. Specify 10 ms (41⁄2 digits), 100 ms (default; 51⁄2 digits), or 1 second (61⁄2 digits). MIN = 0.01 seconds. MAX = 1 second.
[SENSe:] FREQuency:APERture? [{(@)|MIN|MAX}] PERiod:APERture? [{(@)|MIN|MAX}]
Query the aperture time for frequency or period measurements on the specified channels. Returns a number in the form “+1.00000000E-01”.

Chapter 5 Remote Interface Reference Setting the Function, Range, and Resolution
[SENSe:] TEMPerature :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] VOLTage:DC :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] RESistance :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] FRESistance :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)] CURRent:DC :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)]
Set the integration time in number of power line cycles (PLCs) on the specified channels. The default is 1 PLC. MIN = 0.02. MAX = 200.
For more information on the relationship between integration time, measurement resolution, number of digits, and number of bits, see the table on page 203. For more information on integration time, refer to “Custom A/D Integration Time” in chapter 4 starting on page 103.
[SENSe:] TEMPerature:NPLC? [{(@)|[MIN|MAX}] VOLTage:DC:NPLC? [{(@)|[MIN|MAX}] RESistance:NPLC? [{(@)|[MIN|MAX}] FRESistance:NPLC? [{(@)|[MIN|MAX}] CURRent:DC:NPLC? [{(@)|[MIN|MAX}]
Query the integration time on the specified channels. Returns a number in the form “+1.00000000E+00”.

Chapter 5 Remote Interface Reference Temperature Configuration Commands
See also “Temperature Measurement Configuration” in chapter 4 starting on page 106.
UNIT :TEMPerature {C|F|K}[,(@)] :TEMPerature? [(@)]
Select the temperature measurement units on the specified channels. The default is “C”. The :TEMP? query returns the temperature measurement units currently selected. Returns “C”, “F”, or “K”.
[SENSe:]TEMPerature:TRANsducer :TYPE {TCouple|RTD|FRTD|THERmistor|DEF}[,(@)] :TYPE? [(@)]
Select the type of temperature transducer to use for measurements on the specified channels. Select from TC (thermocouple), RTD (2-wire RTD), FRTD (4-wire RTD), or THER (thermistor) . The default is TC. The :TYPE? query returns the current temperature transducer type on the specified channels. Returns “TC”, “RTD”, “FRTD”, or “THER”.
[SENSe:]TEMPerature :NPLC {0.02|0.2|1|2|10|20|100|200|MIN|MAX}[,(@)]
Set the integration time in number of power line cycles (PLCs) on the specified channels. The default is 1 PLC. MIN = 0.02. MAX = 200.
For more information on the relationship between integration time, measurement resolution, number of digits, and number of bits, see the table on page 203. For more information on time, refer to “Custom A/D Integration Time” in chapter 4 starting on page 103.
General Temperature Commands

Chapter 5 Remote Interface Reference Temperature Configuration Commands
[SENSe:]TEMPerature:TRANsducer :TCouple:TYPE {B|E|J|K|N|R|S|T}[,(@)] :TCouple:TYPE? [(@)]
Select the thermocouple type to use on the specified channels. The default is a J-Type thermocouple. The :TYPE? query returns the thermocouple type currently in use. Returns “B”, “E”, “J”, “K”, “N”, “R”, “S”, or “T”.
[SENSe:]TEMPerature:TRANsducer:TCouple :RJUNction:TYPE {INTernal|EXTernal|FIXed}[,(@)] :RJUNction:TYPE? [(@)]
Thermocouple measurements require a reference junction temperature. For the reference junction temperature, you can use an internal measurement on the module, an external thermistor or RTD measurement, or a known fixed junction temperature. The default is “INTernal”. The :TYPE? query returns the source currently selected. Returns “INT”, “EXT”, or “FIX”.
Thermocouple Commands

Chapter 5 Remote Interface Reference Temperature Configuration Commands
[SENSe:]TEMPerature:TRANsducer :TCouple:CHECk {OFF|ON}[,(@)] :TCouple:CHECk? [(@)]
Disable or enable the thermocouple check feature to verify that your thermocouples are properly connected to the screw terminals for measurements. If you enable this feature, the instrument measures the channel resistance after each thermocouple measurement to ensure a proper connection. If an open connection is detected (greater than 5 kΩ on the 10 kΩ range), the instrument reports an overload condition for that channel. The default is “OFF”. The :CHEC? query returns the thermocouple check setting. Returns “0” (OFF) or “1” (ON).
[SENSe:]TEMPerature:TRANsducer:TCouple :RJUNction {|MIN|MAX}[,(@)] :RJUNction? [(@)]
Set the fixed reference junction temperature for thermocouple measurements on the specified channels. Specify a temperature between -20 °C and +80 °C (always specify the temperature in °C regardless of the temperature units selected). The default is 0 °C. The :RJUN? query returns the fixed junction temperature (in °C) currently selected. MIN selects -20 °C. MAX selects +80 °C.
Query the internal reference junction temperature on the specified channels (useful only for an internal reference source). Returns the reference temperature in °C regardless of the temperature units currently selected. Returns a number in the form “+2.89753100E+01”.

Chapter 5 Remote Interface Reference Temperature Configuration Commands
[SENSe:]TEMPerature:TRANsducer :RTD:TYPE {85|91}[,(@)] :RTD:TYPE? [(@)] :FRTD:TYPE {85|91}[,(@)] :FRTD:TYPE? [(@)]
Select the RTD type for 2-wire or 4-wire measurements on the specified channels. Use “85” to specify α = 0.00385 (ITS-90 software conversions) or “91” to specify α = 0.00391 (IPTS-68 software conversions). The default is “85”. The :TYPE? query returns the RTD type in use on the specified channels. Returns “+85” or “+91”.
[SENSe:]TEMPerature:TRANsducer :RTD:RESistance[:REFerence] [,(@)] :RTD:RESistance[:REFerence]? [(@)] :FRTD:RESistance[:REFerence] [,(@)] :FRTD:RESistance[:REFerence]? [(@)]
Set the nominal resistance (R0) for RTD measurements on the specified channels. Select a value between 49Ω and 2.1 kΩ. The default is 100Ω. The :REF? query returns the nominal resistance (R0) in use on the specified channels. Returns a number in the form “+1.00000000E+02”.
[SENSe:]TEMPerature:TRANsducer :THERmistor:TYPE {2252|5000|10000}[,(@)] :THERmistor:TYPE? [(@)]
Select the thermistor type for measurements on the specified channels. The default is a 5 kΩ thermistor. The :TYPE? query returns the thermistor type in use on the specified channels. Returns “2252”, “5000”, or “10000”.
RTD Commands · Thermistor Commands

Chapter 5 Remote Interface Reference Voltage Configuration Commands
See also “Voltage Measurement Configuration” in chapter 4 starting on page 113.
INPut :IMPedance:AUTO {OFF|ON}[,(@)] :IMPedance:AUTO? [(@)]
Disable or enable the automatic input resistance mode for dc voltage measurements on the specified channels. With AUTO OFF (default), the input resistance is fixed at 10 MΩ for all ranges. With AUTO ON, the input resistance is set to >10 GΩ for the 100 mV, 1 V, and 10 V ranges. The :AUTO? query returns the input resistance setting on the specified channels. Returns “0” (OFF) or “1” (ON).
[SENSe:] VOLTage:AC:BANDwidth {3|20|200|MIN|MAX}[,(@)] VOLTage:AC:BANDwidth? [{(@)|MIN|MAX}]
Specify the lowest frequency expected in the input signal for ac voltage measurements on the specified channels. The instrument selects the slow, medium (default), or fast ac filter based on the frequency you specify. MIN = 3 Hz. MAX = 200 Hz. The :BAND? query returns the ac filter setting on the specified channels. Returns “3”, “20”, or “200”.
[SENSe:] ZERO:AUTO {OFF|ONCE|ON}[,(@)] ZERO:AUTO? [{(@)]
Disable or enable (default) the autozero mode. The OFF and ONCE parameters have a similar effect. Autozero OFF does not issue a new zero measurement until the next time the instrument goes to the “wait-for-trigger” state. Autozero ONCE issues an immediate zero measurement. The :AUTO? query the autozero mode. Returns “0” (OFF or ONCE) or “1” (ON).

Chapter 5 Remote Interface Reference Resistance Configuration Commands
See also “Resistance Measurement Configuration” in chapter 4 starting on page 115.
[SENSe:] RESistance:OCOMpensated {OFF|ON}[,(@)] RESistance:OCOMpensated? [(@)] FRESistance:OCOMpensated {OFF|ON}[,(@)] FRESistance:OCOMpensated? [(@)]
Disable or enable offset-compensation for resistance measurements. Once enabled, offset compensation is applied to both 2-wire and 4-wire resistance measurements. The default is “OFF”. The :OCOM? query returns the offset compensation setting on the specified channels. Returns “0” (OFF) or “1” (ON).
See also “Current Measurement Configuration” in chapter 4 starting on page 116.
[SENSe:] CURRent:AC:BANDwidth {3|20|200|MIN|MAX}[,(@)] CURRent:AC:BANDwidth? [{(@)|MIN|MAX}]
Specify the lowest frequency expected in the input signal for ac current measurements on the specified channels. The instrument selects the slow, medium (default), or fast ac filter based on the frequency you specify. MIN = 3 Hz. MAX = 200 Hz. The :BAND? query returns the ac filter setting on the specified channels. Returns “3”, “20”, or “200”.

Chapter 5 Remote Interface Reference Frequency Configuration Commands
See also “Frequency Measurement Configuration” in chapter 4 starting on page 118.
[SENSe:] FREQuency:RANGe:LOWer {3|20|200|MIN|MAX}[,(@)] FREQuency:RANGe:LOWer? [{(@)|MIN|MAX}]
Specify the lowest frequency expected in the input signal for frequency measurements on the specified channels. The instrument selects a slow, medium (default), or fast measurement timeout based on the frequency you specify. MIN = 3 Hz. MAX = 200 Hz. The :LOW? query returns the timeout setting on the specified channels. Returns “3”, “20”, or “200”.

Chapter 5 Remote Interface Reference Scanning Overview
See also “Scanning” in chapter 4 starting on page 74.
The instrument allows you to combine a DMM (either internal or external) with multiplexer channels to create a scan. During a scan, the instrument connects the DMM to the configured multiplexer channels one at a time and makes a measurement on each channel.
Any channel that can be “read” by the instrument can also be included in a scan. This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. A scan can also include a read of a digital port or a read of the totalizer count on the multifunction module.

Chapter 5 Remote Interface Reference Scanning Overview
You can configure the event or action that controls the onset of each sweep through the scan list (a sweep is one pass through the scan list):

Chapter 5 Remote Interface Reference Scanning Overview
ROUTe :SCAN (@) :SCAN?
Select the channels to be included in the scan list. To start the scan, use the INITiate or READ? command. To remove all channels from the scan list, send ROUT:SCAN (@).
The :SCAN? query returns a list of channel numbers in the SCPI definite length block format. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes. An empty scan list (one with no channels selected) will be “#13(@)”.
For example, if you send ROUT:SCAN (@101:103), the ROUT:SCAN? command will return the following:
ROUTe:SCAN:SIZE?
Query the number of channels in the scan list. Returns a value between 0 and 120 channels.
TRIGger :SOURce {BUS|IMMediate|EXTernal|ALARm{1|2|3|4}|TIMer} :SOURce?
Select the trigger source to control the onset of each sweep through the scan list (a sweep is one pass through the scan list). The selected source is used for all channels in the scan list. The instrument will accept a software (bus) command, an immediate (continuous) scan trigger, an external TTL trigger pulse, an alarm-initiated action, or an internally- paced timer. The default is “IMMediate”. The :SOUR? query returns the present scan trigger source. Returns “BUS”, “IMM”, “EXT”, “ALAR1”, “ALAR2”, “ALAR3”, “ALAR4”, or “TIM”.
Scanning Commands · #214(@101,102,103)

Chapter 5 Remote Interface Reference Scanning Overview
TRIGger :TIMer {|MIN|MAX} :TIMer?
Set the scan-to-scan interval (in seconds) for measurements on the channels in the scan list. This command defines the time from the start of one scan sweep to the start of the next sweep. You can set the interval to any value between 0 seconds and 359,999 seconds (99:59:59 hours), with 1 ms resolution. MIN = 0 seconds. MAX = 359,999 seconds. The :TIM? query returns the scan-to-scan interval in seconds in the form “+1.00000000E+01”.
TRIGger :COUNt {|MIN|MAX|INFinity} :COUNt?
Select the number of times that the instrument will sweep through the scan list (a sweep is one pass through the scan list). When the specified number of sweeps have occurred, the scan stops. Select a scan count between 1 to 50,000 sweeps, or continuous (INFinity). MIN = 1 sweep. MAX = 50,000 sweeps.
The :COUN? query returns the scan count in the form “+1.00000000E+01”. If you specified a continuous scan count, the query command returns “9.90000200E+37”.
ROUTe :CHANnel:DELay [,(@)] :CHANnel:DELay? [(@)]
Add a delay between multiplexer channels in the scan list (useful for high-impedance or high-capacitance circuits). The delay is inserted between the relay closure and the actual measurement on the channel. The programmed channel delay overrides the default channel delay that the instrument automatically adds to each channel.
You can set the channel delay to any value between 0 seconds and 60 seconds, with 1 ms resolution. You can select a different delay for each channel. The default channel delay is automatic; the instrument determines the delay based on function, range, integration time, and ac filter setting (see “Automatic Channel Delays” on page 89). The :DEL? query reads the channel delay setting in seconds and returns a value in the form “+1.00000000E+00”.

Chapter 5 Remote Interface Reference Scanning Overview
ROUTe :CHANnel:DELay:AUTO {OFF|ON}[,(@)] :CHANnel:DELay:AUTO? [(@)]
Disable or enable an automatic channel delay on the specified channels. If enabled, the delay is determined by the function, range, integration time, and ac filter setting (see “Automatic Channel Delays,” on page 89). Selecting a specific channel delay (using the ROUT:CHAN:DELay command) disables the automatic channel delay. The :AUTO? query returns the automatic channel delay setting. Returns “0” (OFF) or “1” (ON).
Abort a scan in progress.
Change the state of the triggering system from the “idle” state to the “wait-for-trigger” state. Scanning will begin when the specified trigger conditions are satisfied following the receipt of the INITiate command. The readings are placed in the instrument’s internal reading memory (up to 50,000 readings can be stored; if memory fills, new readings will overwrite the first readings stored). Readings are stored in memory until you are able to retrieve them. Use the FETCh? command to retrieve reading results.
Change the state of the triggering system from the “idle” state to the “wait-for-trigger” state. Scanning will begin when the specified trigger conditions are satisfied following the receipt of the READ? command. Readings are then sent immediately to the instrument’s output buffer. You must then enter the readings into your computer or the instrument will stop scanning when the output buffer becomes full. Readings are not stored in the instrument’s internal memory when using READ?.
Trigger the instrument from the remote interface.
ABORt · INITiate

Chapter 5 Remote Interface Reference Scanning Overview
During a scan, the instrument automatically adds a time stamp to all readings and stores them in non-volatile memory. Each reading is stored with measurement units, time stamp, channel number, and alarm status information. You can specify which information you want returned with the readings (from the front panel, all of the information is available for viewing). The reading format applies to all readings being removed from the instrument from a scan; you cannot set the format on a per-channel basis. The following is an example of a reading stored in memory with all fields enabled (relative time is shown).

1 Reading with Units (26.195 °C) 2 Time Since Start of Scan (17 ms) 3 Channel Number 4 Alarm Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI)
FORMat :READing:ALARm {OFF|ON} :READing:ALARm?
Disable (default) or enable the inclusion of alarm data with data produced by READ?, FETCh?, or other queries of scan results. This command operates in conjunction with the other FORMat:READing commands (they are not mutually exclusive). The :ALAR? query reads whether or not alarm data is included. Returns “0” (OFF) or “1” (ON).
FORMat :READing:CHANnel {OFF|ON} :READing:CHANnel?
Disable (default) or enable the inclusion of the channel number with data produced by READ?, FETCh?, or other queries of scan results. This command operates in conjunction with the other FORMat:READing commands (they are not mutually exclusive). The :CHAN? query reads whether or not the channel is included. Returns “0” (OFF) or “1” (ON).
Reading Format Commands

Chapter 5 Remote Interface Reference Scanning Overview
FORMat :READing:TIME {OFF|ON} :READing:TIME?
Disable (default) or enable the inclusion of a time stamp with data produced by READ?, FETCh?, or other queries of scan results. This command operates in conjunction with the other FORMat:READing commands (they are not mutually exclusive). Use the FORMat:READ: TIME:TYPE command (see below) to select absolute time (time of day with date) or relative time (time since start of scan). The :TIME? query reads whether or not the time is included. Returns “0” (OFF) or “1” (ON).
FORMat :READing:UNIT {OFF|ON} :READing:UNIT?
Disable (default) or enable the inclusion of measurement units with data produced by READ?, FETCh?, or other queries of scan results. This command operates in conjunction with the other FORMat:READing commands (they are not mutually exclusive). The :UNIT? query reads whether or not the units are included. Returns “0” (OFF) or “1” (ON).
FORMat :READing:TIME:TYPE {ABSolute|RELative} :READing:TIME:TYPE?
Select the time format for storing scanned data in memory. You can select absolute time (time of day with date) or relative time (time since start of scan). The default is relative time. This command operates in conjunction with the FORMat:READing:TIME command (they are not mutually exclusive). The :TYPE? query returns “ABS” or “REL”.

Chapter 5 Remote Interface Reference Scanning Overview
While a scan is running, the instrument automatically stores the minimum and maximum readings and calculates the average for each channel. You can read these values at any time, even during a scan. The instrument clears the values when a new scan is started, when the CALC:AVER:CLEAR command (described on the next page) is executed, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
CALCulate:AVERage:MINimum? [(@)]
Read the minimum value found on each of the specified channels during the scan. Each channel must be a multiplexer channel that has been configured to be part of the scan list. If no data is available for the specified channels, “0” is returned. Returns a number in the form “+2.61920000E+01”.
CALCulate:AVERage:MINimum:TIME? [(@)]
Read the time the minimum reading was taken on the specified channel during the scan (in full time and date format). This command is not affected by the FORMat:READ:TIME:TYPE command. Returns the time in the form “2002,06,02,18,30,00.000” (June 2, 2002 at 6:30 PM).
CALCulate:AVERage:MAXimum? [(@)]
Read the maximum value found on each of the specified channels during the scan. Each channel must be a multiplexer channel that has been configured to be part of the scan list. If no data is available for the specified channels, “0” is returned. Returns a number in the form “+2.61920000E+01”.
CALCulate:AVERage:MAXimum:TIME? [(@)]
Read the time the minimum reading was taken on the specified channel during the scan (in full time and date format). The command is not affected by the FORMat:READ:TIME:TYPE command. Returns the time in the form “2002,06,02,18,30,00.000” (June 2, 2002 at 6:30 PM).
Scan Statistics Commands

Chapter 5 Remote Interface Reference Scanning Overview
CALCulate:AVERage:AVERage? [(@)]
Calculate the mathematical average of all readings taken on each of the specified channels since the start of the scan. Each channel must be a multiplexer channel that has been configured to be part of the scan list. If no data is available for the specified channels, “0” is returned. Returns a number in the form “+2.61920000E+01”.
CALCulate:AVERage:PTPeak? [(@)]
Calculate the peak-to-peak value of all readings taken on each of the specified channel since the start of the scan (the difference between the maximum and minimum reading). Each channel must be a multiplexer channel that has been configured to be part of the scan list. If no data is available for the specified channels, “0” is returned. Returns a number in the form “+0.00000000E+00”.
CALCulate:AVERage:COUNt? [(@)]
Count the number of readings taken on each of the specified channels since the start of the scan. Each channel must be a multiplexer channel that has been configured to be part of the scan list. Returns a number in the form “+5.00000000E+00”.
CALCulate:AVERage:CLEar [(@)]
Clear all values from the statistics registers for the specified channels. Each channel must be a multiplexer channel that have been configured to be part of the scan list. The minimum, maximum, average, count, and peak-to-peak value are cleared. The values for all scanned channels are also cleared at the start of a new scan.
DATA:LAST? [,][(@)]
Query the last reading taken on the specified channel (one channel only) during the scan. Use the optional num_rdgs parameter to specify the number of readings that you want to retrieve for the specified channel (oldest data first). If you do not specify a value for num_rdgs, only the most recent reading on the specified channel is returned. If you specify more readings than are currently stored in memory, an error is generated.

Chapter 5 Remote Interface Reference Scanning Overview
You can store up to 50,000 readings in non-volatile memory during a scan. Readings are stored only during a scan and all readings are automatically time stamped. If memory overflows (the MEM annunciator will turn on), a status register bit is set and new readings will overwrite the first readings stored (the most recent readings are always preserved). You can read the contents of memory at any time, even during a scan. Reading memory is not cleared when you read it.
Each reading is stored with measurement units, time stamp, channel number, and alarm status information. You can specify which information you want returned with the readings using the FORMat:READing commands. The following is an example of a reading stored in memory with all fields enabled (relative time is shown).
1 Reading with Units (26.195 °C) 2 Time Since Start of Scan (17 ms) 3 Channel Number 4 Alarm Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI)
DATA:POINts?
Count the total number of readings (from all channels in the scan list) currently stored in reading memory from a scan. Returns a value between 0 and 50,000 readings.
DATA:REMove?
Read and erase the specified number of readings from non-volatile memory. The readings are erased from memory starting with the oldest reading first. The purpose of this command is to allow you to periodically remove readings from memory during a scan than would normally cause reading memory to overflow (for example, during a scan with an infinite scan count). The output from this command is affected by the FORM:READ commands (see “Reading Format Commands” on page 231).
Scan Memory Commands

Chapter 5 Remote Interface Reference Scanning Overview
SYSTem:TIME:SCAN?
Read the time at the start of the scan. This command is not affected by the FORMat:READ:TIME:TYPE command. Returns the time in the form “2002,06,02,18,30,00.000” (June 2, 2002 at 6:30 PM).
Transfer readings stored in non-volatile memory to the instrument’s output buffer where you can read them into your computer. The readings are not erased from memory when you read them using FETCh?. The output from this command is affected by the FORMat:READing commands (see “Reading Format Commands” on page 231).
R? []
Read and erase all readings from reading memory up to max_count. The readings are erased from memory starting with the oldest reading. This is a special version of the DATA:REMove? command with faster execution time. If you omit the optional max_count parameter, the command will read and erase up to 50,0000 readings from memory. The output from this command is affected by the FORMat:READing commands (see “Reading Format Commands” on page 231).
This command returns a series of readings in SCPI definite length block format. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes.
For example, the R? command will return a string similar to the following (two readings are shown):
FETCh?

Chapter 5 Remote Interface Reference Single-Channel Monitoring Overview
In the Monitor function, the instrument takes readings as often as it can on a single channel, even during a scan. This feature is useful for trouble- shooting your system before a test or for watching an important signal.
Any channel that can be “read” by the instrument can be monitored. This includes any combination of temperature, voltage, resistance, current, frequency, or period measurements on multiplexer channels. You can also monitor a digital input port or the totalizer count on the multifunction module. Monitoring is not allowed with the actuator module, the matrix module, or the RF multiplexer modules.

Chapter 5 Remote Interface Reference Single-Channel Monitoring Overview
ROUTe :MONitor (@) :MONitor?
Select the channel to be monitored. To turn on the monitor function, use the ROUT:MON:STATE ON command (see below). The :SCAN? query returns a list of channel numbers in the SCPI definite length block format. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes. An empty channel list (one with no channels selected) will be “#13(@)”.
For example, the ROUT:MON? command will return the following if channel 103 is the channel currently being monitored:
ROUTe :MONitor:STATe {OFF|ON} :MONitor:STATe?
Disable (default) or enable the Monitor function. If you do not specify the monitor channel using the ROUT:MON command (see above), the channel displayed on the front panel is used. The :STAT? query reads the state of the monitor function. Returns “0” (OFF) or “1” (ON).
ROUTe:MONitor:DATA?
Read the data from the Monitor function. Returns the reading only; the units, time, channel, and alarm information is not returned (the FORMat:READing commands do not apply to monitor readings). Returns a number in the form “+2.61920000E+01”.
#16(@103)

Chapter 5 Remote Interface Reference Scanning With an External Instrument
If your application doesn’t require the built-in measurement capabilities of the 34970A, you can order it without the internal DMM. In this configuration, you can use the system for signal routing or control applications. If you install a multiplexer plug-in module, you can use the system for scanning with an external instrument.
To control scanning with an external instrument, two control lines are provided. When the 34970A and the external instrument are properly configured, you can synchronize a scan sequence between the two.

VM Complete OUT Ext Trig IN

Chapter 5 Remote Interface Reference Scanning With an External Instrument
ROUTe :SCAN (@) :SCAN?
Select the channels to be included in the scan list. To start the scan, use the INITiate or READ? command. To remove all channels from the scan list, send ROUT:SCAN (@).
The :SCAN? query returns a list of channel numbers in the SCPI definite length block format. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes. An empty scan list (one with no channels selected) will be “#13(@)”.
For example, if you send ROUT:SCAN (@101:103), the ROUT:SCAN? command will return the following:
ROUTe:SCAN:SIZE?
Query the number of channels in the scan list. Returns a value between 0 and 120 channels.
TRIGger :SOURce {BUS|IMMediate|EXTernal|TIMer} :SOURce?
Select the trigger source to control the onset of each sweep through the scan list (a sweep is one pass through the scan list). The selected source is used for all channels in the scan list. The instrument will accept a software (bus) command, an immediate (continuous) scan trigger, an external TTL trigger pulse, or an internally-paced timer. The default is “TIMer”. The :SOUR? query returns the present scan trigger source. Returns “BUS”, “IMM”, “EXT”, or “TIM”.
#214(@101,102,103)

Chapter 5 Remote Interface Reference Scanning With an External Instrument
TRIGger :TIMer {|MIN|MAX} :TIMer?
Set the scan-to-scan interval (in seconds) for measurements on the channels in the scan list. This command defines the time from the start of one scan sweep to the start of the next sweep. You can set the interval to any value between 0 seconds and 359,999 seconds (99:59:59 hours), with 1 ms resolution. MIN = 0 seconds. MAX = 359,999 seconds. The :TIM? query returns the scan-to-scan interval in seconds in the form “+1.00000000E+01”.
TRIGger :COUNt {|MIN|MAX|INFinity} :COUNt?
Select the number of times that the instrument will sweep through the scan list (a sweep is one pass through the scan list). When the specified number of sweeps have occurred, the scan stops. Select a scan count between 1 to 50,000 sweeps, or continuous (INFinity). MIN = 1 sweep. MAX = 50,000 sweeps.
The :COUN? query returns the scan count in the form “+1.00000000E+01”. If you specified a continuous scan count, the query command returns “9.90000200E+37”.
ROUTe :CHANnel:DELay [,(@)] :CHANnel:DELay? [(@)]
Add a delay between multiplexer channels in the scan list (useful for high-impedance or high-capacitance circuits). The delay is inserted between the relay closure and the actual measurement on the channel. You can set the channel delay to any value between 0 seconds and 60 seconds, with 1 ms resolution. You can select a different delay for each channel. The :DEL? query reads the channel delay setting in seconds and returns a value in the form “+1.00000000E+00”.

Chapter 5 Remote Interface Reference Scanning With an External Instrument
ROUTe :CHANnel:ADVance:SOURce {EXTernal|BUS|IMMediate} :CHANnel:ADVance:SOURce?
This command is valid only when the internal DMM is disabled or removed from the 34970A.
Select the source to provide the channel advance signal to the next channel in the scan list. When the channel advance signal is received, the instrument opens the currently selected channel and closes the next channel in the scan list. The instrument will accept a software (bus) command, an immediate (continuous) scan trigger, an external TTL trigger pulse, or an internally-paced timer. The default is “EXTernal”. The :SOUR? query returns “EXT”, “BUS”, or “IMM”.
The channel advance signal is ignored unless you have initiated the scan (INITiate command) and have received a scan trigger (TRIG:SOUR command). Although the ROUT:CHAN:ADV:SOUR command shares some of the same signals as the TRIG:SOUR command, they cannot be set to the same source (except IMMediate). If you attempt to select the same source, an error is generated and the TRIG:SOUR is reset to IMMediate.
A channel advance signal is not required for digital input or totalizer channels included in the scan list. Measurements on these channels are still performed by the 34970A and do not require synchronization with the external instrument.

Chapter 5 Remote Interface Reference Scanning With an External Instrument
ROUTe :CHANnel:FWIRe {OFF|ON} [,(@)] :CHANnel:FWIRe? [(@)]
This command is valid only when the internal DMM is disabled or removed from the 34970A.
Configure the list of channels for 4-wire external scanning without the internal DMM. When enabled, the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
The :FWIR? query returns a “0” (4-wire pairing disabled) or “1” (4-wire pairing enabled) for each channel in the scan list.
INSTrument :DMM {OFF|ON} :DMM?
Disable or enable the internal DMM. When you change the state of the internal DMM, the instrument issues a Factory Reset (*RST command). The :DMM? query returns the state of the internal DMM. Returns “0” (disabled) or “1” (enabled).
INSTrument:DMM:INSTalled?
Query the instrument to determine if the internal DMM is installed. Returns “0” (not installed) or “1” (installed).

Chapter 5 Remote Interface Reference Mx+B Scaling Overview
See also “Mx+B Scaling” in chapter 4 starting on page 119.
The scaling function allows you to apply a gain and offset to all readings on a specified multiplexer channel during a scan. In addition to setting the gain (“M”) and offset (“B”) values, you can also specify a custom measurement label for your scaled readings (RPM, PSI, etc.). You can apply scaling to any multiplexer channels and for any measurement function. Scaling is not allowed with any of the digital channels on the multifunction module.
Scaled Reading = (Gain x Measurement) - Offset

Chapter 5 Remote Interface Reference Mx+B Scaling Overview
CALCulate :SCALe:GAIN [,(@)] :SCALe:GAIN? [(@)]
Set the gain (“M”) for scaled readings on the specified channels. The maximum gain allowed is ±1E+15. The default is M=1. The :GAIN? query returns the gain value on the specified channels.
CALCulate :SCALe:OFFSet [,(@)] :SCALe:OFFSet? [(@)]
Set the offset (“B”) for scaled readings on the specified channels. The maximum offset allowed is ±1E+15. The default is B=0. The :OFFS? query returns the offset value on the specified channels.
CALCulate :SCALe:UNIT [,(@)] :SCALe:UNIT? [(@)]
Specify the custom label (e.g., RPM, PSI) for scaled measurements on the specified channels. You can specify a custom label with up to three characters. You can use letters (A-Z), numbers (0-9), an underscore ( _ ), or the “#” character which displays a degree symbol ( ° ) on the front panel (displayed as a blank space in an output string from the remote interface). The first character must be a letter or the “#” character (the “#” character is allowed only as the leftmost character in the label). The remaining two characters can be letters, numbers, or an underscore.
The following command shows how to add a custom label.
Mx+B Scaling Commands

Chapter 5 Remote Interface Reference Mx+B Scaling Overview
CALCulate:SCALe:OFFSet:NULL (@)
Make an immediate null measurement on the specified channels and store it as the offset (“B”) for subsequent measurements. This allows you to adjust for voltage or resistive offsets through your wiring to the point of the measurement.
CALCulate :SCALe:STATe {OFF|ON}[,(@)] :SCALe:STATe? [(@)]
Disable or enable scaling on the specified channels. The :STATe query returns the state of the scaling function on the specified channels. Returns “0” (OFF) or “1” (ON).

Chapter 5 Remote Interface Reference Alarm System Overview
See also “Alarm Limits” in chapter 4 starting on page 122.
The instrument has four alarms which you can configure to alert you when a reading exceeds specified limits on a channel during a scan. You can assign a high limit, a low limit, or both to any configured channel in the scan list. You can assign multiple channels to any of the four available alarms (numbered 1 through 4). For example, you can configure the instrument to generate an alarm on the Alarm 1 output when a limit is exceeded on any of channels 103, 205, or 320.
You can also assign alarms to channels on the multifunction module. For example, you can generate an alarm when a specific bit pattern or bit pattern change is detected on a digital input channel or when a specific count is reached on a totalizer channel. With the multifunction module, the channels do not have to be part of the scan list to generate an alarm. For complete details, see “Using Alarms With the Multifunction Module” on page 130.
Alarm data can be stored in one of two locations depending on whether a scan is running when the alarm occurs.
2. As alarm events are generated, they are also logged in an alarm queue, which is separate from reading memory. This is the only place where non-scanned alarms get logged (alarms during a monitor, alarms generated by the multifunction module, etc.). Up to 20 alarms can be logged in the alarm queue. If more than 20 alarm events are generated, they will be lost (only the first 20 alarms are saved). Even if the alarm queue is full, the alarm status is still stored in reading memory during a scan. The alarm queue is cleared by the *CLS (clear status) command, when power is cycled, and by reading all of the entries. A Factory Reset (*RST command) does not clear the alarm queue.

Chapter 5 Remote Interface Reference Alarm System Overview

Chapter 5 Remote Interface Reference Alarm System Overview
To ensure that an error is not generated when using only an upper or lower limit, execute the following command sequence (this example assumes that you are setting only a lower limit):

Chapter 5 Remote Interface Reference Alarm System Overview
OUTPut :ALARm[1|2|3|4]:SOURce (@) :ALARm[1|2|3|4]:SOURce?
Assign the alarm number to report any alarm conditions on the specified channels. If not assigned, all alarms on all channels are reported on Alarm 1 by default.
The :SOUR? query returns a list of channel numbers in the SCPI definite length block format. The response begins with the “#” character, followed by a single character representing the number of succeeding characters to interpret as a length specifier, followed by a length specifier representing the number of bytes in the block, followed by a block of that many bytes. An empty scan list (one with no channels selected) will be “#13(@)”.
For example, if you send OUTP:ALARM1:SOUR (@101:103), the OUTP:ALARM1:SOUR? command will return the following:
CALCulate :LIMit:UPPer [,(@)] :LIMit:UPPer? [(@)]
Set the upper limit for alarms on the specified channels. You can set the value to any number between -120% and +120% of the highest range, for the present function. The default upper limit is 1.0E+15. The lower limit must always be less than or equal to the upper limit. The :UPP? query returns the upper limit for alarms on the specified channels.
CALCulate :LIMit:UPPer:STATe {OFF|ON}[,(@)] :LIMit:UPPer:STATe? [(@)]
Disable or enable the upper alarm limit on the specified channel. The :STAT? query returns the state of the upper alarm on the specified channels. Returns “0” (OFF) or “1” (ON).
Alarm Limit Commands · #214(@101,102,103)

Chapter 5 Remote Interface Reference Alarm System Overview
CALCulate :LIMit:LOWer [,(@)] :LIMit:LOWer? [(@)]
Set the lower limit for alarms on the specified channels. You can set the value to any number between -120% and +120% of the highest range, for the present function. The default lower limit is -1.0E+15. The lower limit must always be less than or equal to the upper limit. The :LOW? query returns the lower limit for alarms on the specified channels.
CALCulate :LIMit:LOWer:STATe {OFF|ON}[,(@)] :LIMit:LOWer:STATe? [(@)]
Disable or enable the lower alarm limit on the specified channel. The :STAT? query returns the state of the lower alarm on the specified channels. Returns “0” (OFF) or “1” (ON).
SYSTem:ALARm?
Read the alarm data from the alarm queue (one alarm event is read and cleared each time this command is executed). The following is an example of an alarm stored in the alarm queue (if no alarm data is in the queue, the command returns “0” for each field).

1 Reading with Units (31.009 °C) 2 Date (May 1, 1997) 3 Time (2:39:40.058 PM)
4 Channel Number 5 Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI) 6 Alarm Number Reported (1, 2, 3, or 4)

Chapter 5 Remote Interface Reference Alarm System Overview
Four TTL alarm outputs are available on the rear-panel Alarms connector. You can use these hardware outputs to trigger external alarm lights, sirens, or send a TTL pulse to your control system. Each alarm output line represents the logical “OR” of all channels assigned to that alarm number (an alarm on any of the associated channels will pulse the line).
OUTPut :ALARm:MODE {LATCh|TRACk} :ALARm:MODE?
Select the configuration of the four alarm output lines (the configuration applies to all four alarm output lines). In the “LATCh” mode (default), the corresponding output line is latched true when the first alarm occurs and remains asserted until you clear it by initiating a new scan or cycling power. In the “TRACk” mode, the corresponding output line is asserted only when a reading crosses a limit and remains outside the limit. When a reading returns to within limits, the output line is automatically cleared. The :MODE? query returns the alarm output configuration. Returns “LATC” or “TRAC”.
OUTPut :ALARm:SLOPe {NEGative|POSitive} :ALARm:SLOPe?
Select the slope of the pulse from the alarm outputs (the selected configuration is used for all four outputs). If you select NEG (default), 0V (TTL low) indicates an alarm. If you select POS, +5V (TTL high) indicates an alarm. The :POL? query returns the alarm output configuration. Returns “NEG” or “POS”. Note that changing the slope of the output lines may cause the lines to change state.
OUTPut :ALARm{1|2|3|4}:CLEar :ALARm:CLEar:ALL
Clear the specified alarm output lines. Send :CLEAR:ALL to clear all four alarm output lines. You can manually clear the output lines at any time (even during a scan) and the alarm data in memory is not cleared (however, data is cleared when you initiate a new scan). The alarm outputs are also cleared when you initiate a new scan.
Alarm Output Commands

Chapter 5 Remote Interface Reference Alarm System Overview
Digital I/O Alarm Commands
See also “Using Alarms With the Multifunction Module” in chapter 4 starting on page 130.
CALCulate :COMPare:TYPE {EQUal|NEQual}[,(@)] :COMPare:TYPE? [(@)]
Select the comparison mode for alarms on the specified DIO channels. Select EQUal to generate an alarm when the data read from the port is equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK. Select NEQual (not equal) to generate an alarm when the data read from the port is not equal to CALC:COMP:DATA after being masked by CALC:COMP:MASK. The default is “NEQual”. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot.
The :TYPE? query returns the comparison mode setting on the specified DIO channels. Returns “EQU” or “NEQ”.
CALCulate :COMPare:DATA [,(@)] :COMPare:DATA? [(@)]
Specify the digital pattern for comparisons on the specified DIO channels. You must specify the digital pattern as a decimal value between 0 and 255 (binary data is not accepted). The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number. The :DATA? query returns the comparison pattern as a decimal value.

Chapter 5 Remote Interface Reference Alarm System Overview
CALCulate :COMPare:MASK [,(@)] :COMPare:MASK? [(@)]
Specify the mask pattern for comparisons on the specified DIO channels. You must specify the mask parameter as a decimal value between 0 and 255 (binary data is not accepted). Specify 1’s for active bits or 0’s for “don’t care” bits. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number. The :MASK? query returns the mask pattern as a decimal value.
CALCulate :COMPare:STATe {OFF|ON}[,(@) :COMPare:STATe? [(@)]
Disable or enable the comparison mode on the specified DIO channels. Note that the specified channels do not have to be part of the scan list to generate an alarm. Alarms are evaluated continuously as soon as you enable them. Alarms are evaluated constantly on the multifunction module, but alarm data is stored in reading memory only during a scan. The :STAT? query returns the state of the comparison mode. Returns “0” (OFF) or “1” (ON).

Chapter 5 Remote Interface Reference Digital Input Commands
See also “Digital Input Operations” in chapter 4 starting on page 133.
MEASure:DIGital:BYTE? (@)
Configure the instrument to read the specified digital input channels on the multifunction module and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number.
CONFigure:DIGital:BYTE (@)
Configure the instrument to read the specified digital input channels on the multifunction module but do not initiate the scan. Note that this command also redefines the scan list. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s is the slot number.
[SENSe:]DIGital:DATA:{BYTE|WORD}? [(@)]
Read an 8-bit byte or a 16-bit word digital pattern from the specified digital input channels. If you are going to read both ports simultaneously (WORD), you must send the command to port 01 (LSB) and neither port can be included in the scan list. The digital input channels are numbered “s01” (LSB) and “s02” (MSB), where s represents the slot number.
The output from this command is affected by the FORMat:READing commands (see “Reading Format Commands” on page 231).

Chapter 5 Remote Interface Reference Totalizer Commands
See also “Totalizer Operations” in chapter 4 starting on page 135.
MEASure:TOTalize? {READ|RRESet} ,(@)
Configure the instrument to read the count on the specified totalizer channels on the multifunction module and immediately sweep through the scan list one time. Note that this command also redefines the scan list. The readings are sent directly to the instrument’s output buffer but the readings are not stored in reading memory. The totalizer channel is numbered “s03”, where s represents the slot number.
To read the totalizer during the scan without resetting the count, select the READ parameter. To read the totalizer during the scan and reset the count to “0” after it is read, select the RRESet parameter (this means “read and reset”).
CONFigure:TOTalize {READ|RRESet} ,(@)
Configure the instrument to read the specified totalizer channels on the multifunction module but do not initiate the scan. Note that this command also redefines the scan list. The totalizer channel is numbered “s03”, where s represents the slot number.
To read the totalizer during the scan without resetting the count, select the READ parameter. To read the totalizer during the scan and reset the count to “0” after it is read, select the RRESet parameter (this means “read and reset”).
[SENSe:] TOTalize:TYPE {READ|RRESet}[,(@)] TOTalize:TYPE? [(@)]
Disable (default) or enable an automatic reset of the count when the specified totalizer channels are scanned. To read the count without resetting the value, select the READ parameter. To read the totalize and reset the count to “0” after it is read, select the RRESet parameter (this means “read and reset”). The totalizer channel is numbered “s03”, where s represents the slot number. The :TYPE? query returns the reset configuration currently selected. Returns “READ” or “RRES”.

Chapter 5 Remote Interface Reference Totalizer Commands
[SENSe:] TOTalize:SLOPe {NEGative|POSitive}[,(@)] TOTalize:SLOPe? [(@)]
Configure the totalizer to count on the rising edge (default; positive) or falling edge (negative) of the input signal. The totalizer channel is numbered “s03”, where s represents the slot number. The :SLOP? query returns the edge selection. Returns “NEG” or “POS”.
Immediately clear the count on the specified totalizer channels. The totalizer channel is numbered “s03”, where s is the slot number.
Read the count on the specified totalizer channels. If you have selected the RRESet parameter in the TOT:TYPE command, then the TOT:DATA? command will reset the count to “0” after it is read. The count is reset regardless of whether the specified channels are in the scan list or even whether a scan is in progress. The maximum count is 67,108,863 (226-1). The count rolls over to “0” after reaching the maximum allowed value.
The output from this command is affected by the FORMat:READing commands (see “Reading Format Commands” on page 231). 5

Chapter 5 Remote Interface Reference Digital Output Commands
SOURce :DIGital:DATA[:{BYTE|WORD}] ,(@) :DIGital:DATA[:{BYTE|WORD}]? (@)
Output an 8-bit byte or 16-bit word digital pattern to the specified digital output channels. Note that you cannot configure a port for output operations if that port is already configured to be part of the scan list (digital input). You must specify a decimal value (binary data is not accepted). If you are going to write to both ports simultaneously (WORD), you must send the command to port 01. The digital output channels are numbered “s01” (lower byte) and “s02” (upper byte), where s represents the slot number. The :BYTE? (or :WORD?) query returns the last byte or word sent to the specified digital output channel. Returns a number in the form “+255”.
SOURce:DIGital:STATe? (@)
Read the last byte or word sent the specified digital output channels. The digital output channels are numbered “s01” (lower byte) and “s02” (upper byte), where s represents the slot number. This command returns “0” if the channel is an input port or “1” if the channel is an output port.
SOURce :VOLTage ,(@) :VOLTage? (@)
Set the output voltage level on the specified DAC channel. You can set the output voltage to any value between +12 Vdc and -12 Vdc, in 1 mV steps. Each DAC channel is capable of 10 mA maximum output current. The DAC channels are numbered “s04” and “s05”, where s represents the slot number. The :VOLT? query returns the output voltage level on the specified DAC channel. Returns a number in the form “+8.00000000E+00”.

Chapter 5 Remote Interface Reference Switch Control Commands
ROUTe :CLOSe (@) :CLOSe:EXCLusive (@) :CLOSe? (@)
Close the specified channels on a multiplexer or switch module. If any multiplexer channels are configured to be part of the scan list, you cannot close multiple channels on that module; closing one channel will open the previously closed channel. On the other modules, you can use the :EXCL command to ensure that all channels are open before closing the specified channel. The :CLOS? query returns the state of the specified channels. Returns “1” if the channel is closed or “0” if the channel is open.
ROUTe :OPEN (@) :OPEN? (@)
Open the specified channels on a multiplexer or switch module. The :OPEN? query returns the state of the specified channel. Returns “1” if the channel is open or “0” if the channel is closed.

Chapter 5 Remote Interface Reference Switch Control Commands
ROUTe :CHANnel:FWIRe {OFF|ON} [,(@)] :CHANnel:FWIRe? [(@)]
This command is valid only when the internal DMM is disabled or removed from the 34970A.
Configure the list of channels for 4-wire external scanning without the internal DMM. When enabled, the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12. Specify the paired channel in the lower bank (source) as the scan_list channel.
The :FWIR? query returns a “0” (4-wire pairing disabled) or “1” (4-wire pairing enabled) for each channel in the scan list.
ROUTe:DONE?
Query the status of all relay operations. Returns a “1” when all relay operations are finished (even during a scan).
SYSTem:CPON {100|200|300|ALL}
Reset the module in the specified slot to its power-on state (CPON means “card power on”). To reset all three slots, specify ALL.
This is equivalent to pressing from the front panel.

Chapter 5 Remote Interface Reference State Storage Commands
The instrument has six storage locations in non-volatile memory to store instrument states. The locations are numbered 0 through 5. The instrument uses location “0” to automatically hold the state of the instrument at power down. You can also assign a name to each of the locations (1 through 5) for use from the front panel.
*SAV {0|1|2|3|4|5}
Store (save) the current instrument state in the specified storage location. Any state previously stored in the same location is overwritten (no error is generated).
*RCL {0|1|2|3|4|5}
Recall the instrument state stored in the specified storage location. You cannot recall the instrument state from a storage location that is empty or was deleted. When shipped from the factory, storage locations “1” through “5” are empty (location “0” has the power-on state).

Chapter 5 Remote Interface Reference State Storage Commands
MEMory:STATe :NAME {1|2|3|4|5} [,] :NAME? {1|2|3|4|5}
Assign a name to the specified storage location (you cannot assign a name to location “0”). You can name a location from the front panel or over the remote interface but you can only recall a named state from the front panel. From the remote interface, you can only recall a stored state using a number (0 through 5). The :NAME? query returns a quoted string containing the name currently assigned to the specified storage location. If the specified location has no name assigned, an empty string (“ ”) is returned.
MEMory:STATe:DELete {0|1|2|3|4|5}
Delete the contents of the specified storage location. If you have named a storage location (MEM:STAT:NAME command), this command does not remove the name that you assigned. Note that you cannot recall the instrument state from a storage location that was deleted. An error is generated if you attempt to recall a deleted state.

Chapter 5 Remote Interface Reference State Storage Commands
MEMory:STATe :RECall:AUTO {OFF|ON} :RECall:AUTO?
Disable or enable (default) the automatic recall of the power-down state from storage location “0” when power is turned on. Select “ON” to automatically recall the power-down state when power is turned on. Select “OFF” to issue a Factory Reset (and state “0” is not automatically recalled) when power is turned on. The :AUTO? query returns the automatic recall setting. Returns “0” (OFF) or “1” (ON).
MEMory:STATe:VALid? {0|1|2|3|4|5}
Query the specified storage location to determine if a valid state is currently stored in this location. You can use this command before sending the *RCL command to determine if a state has been previously stored in this location. Returns “0” if no state has been stored or if it has been deleted. Returns “1” if a valid state is stored in this location.
MEMory:NSTates?
Query the total number of memory locations available for state storage. Always returns “6” (memory location “0” is included).

Chapter 5 Remote Interface Reference System-Related Commands
See also “System-Related Operations” in chapter 4 starting on page 140.
SYSTem:DATE ,,
Set the instrument calendar. The setting is stored in non-volatile memory. When shipped from the factory, instrument is set to the current time and date (U.S Mountain Time). For example, the following command sets the calendar to June 1, 2002.
SYSTem:DATE?
Read the instrument calendar. Returns three numbers in the form “2002,06,01”.
SYSTem:TIME ,, (based on 24-hour clock)
Set the instrument clock. The setting is stored in non-volatile memory. When shipped from the factory, instrument is set to the current time and date (U.S Mountain Time). For example, the following command sets the time to 6:30 PM.
SYSTem:TIME?
Query the instrument clock. Returns three numbers in the form “18,30,00”.
FORMat :READing:TIME:TYPE {ABSolute|RELative} :READing:TIME:TYPE?
Select the time format for storing scanned data in memory. You can select absolute time (time of day with date) or relative time (time since start of scan). The default is relative time. This command operates in conjunction with the FORMat:READing:TIME command (they are not mutually exclusive). The :TYPE? query returns “ABS” or “REL”.

Chapter 5 Remote Interface Reference System-Related Commands
Read the instrument’s identification string. The instrument returns three numbers for the system firmware. The first number is the firmware revision number for the measurement processor; the second is for the input/output processor; and the third is for the front-panel processor. An example string is shown below:
Be sure to dimension a string variable with at least 40 characters.
SYSTem:CTYPe? {100|200|300}
Read the identity of the module in the specified slot. For example, the 34903A 20-Channel Actuator returns:
The last number (1.0 in this example) is the firmware revision number for the module.
DIAGnostic :POKE:SLOT:DATA {100|200|300}, :PEEK:SLOT:DATA? {100|200|300}
Add a custom label to the module in the specified slot. You can specify a custom label with up to 10 characters; any additional characters are truncated (no error is generated). One possible use for this command is to allow you to differentiate between modules of the same type from within your program. The custom label is stored in non-volatile memory on the module. Note that the instrument must be unsecured (see the calibration section on page 292) before you can store the custom label.
The following program statement shows how to add a custom label to the module installed in slot 100.
DIAG:POKE:SLOT:DATA 100,’Module_A’

Chapter 5 Remote Interface Reference System-Related Commands
DISPlay {OFF|ON} DISPlay?
Disable or enable the front-panel display. When disabled, the entire front-panel display goes dark and all display annunciators except ERROR are disabled. All keys except are locked out when the display is disabled. The display is automatically enabled when power is cycled, after a Factory Reset (*RST command), or when you return to local by pressing . The DISP? query the front-panel display setting. Returns “0” (OFF) or “1” (ON).
DISPlay :TEXT :TEXT?
Display a message on the instrument’s front-panel display. The instrument can display up to 13 characters on the front panel; if you attempt to send more than 13 characters, an error is generated. The :TEXT? query reads the message sent to the instrument front panel and returns a quoted string.
You can use letters (A-Z), numbers (0-9), and special characters like “@”, “%”, “*”, etc. Use the “#” character to display a degree symbol ( ° ). Commas, periods, and semicolons share a display space with the preceding character, and are not considered individual characters. While a message is displayed on the front panel, readings from a scan or monitor are not sent to the display.
The following command displays a message on the front panel.
DISPlay:TEXT:CLEar
Clear the message displayed on the front-panel display.

Chapter 5 Remote Interface Reference System-Related Commands
INSTrument :DMM {OFF|ON} :DMM?
Disable or enable the internal DMM. When you change the state of the internal DMM, the instrument issues a Factory Reset (*RST command). The :DMM? query returns the state of the internal DMM. Returns “0” (disabled) or “1” (enabled).
INSTrument:DMM:INSTalled?
Query the instrument to determine if the internal DMM is installed. Returns “0” (not installed) or “1” (installed).
Reset the instrument to the Factory configuration. See “Factory Reset State” on page 160 in chapter 4 for a complete listing of the instrument’s Factory Reset state.
This command is equivalent to selecting FACTORY RESET from the front-panel Sto/Rcl Menu.
SYSTem:PRESet
Preset the instrument to a known configuration. See “Instrument Preset State” on page 161 in chapter 4 for a complete listing of the instrument’s preset state.
This command is equivalent to selecting PRESET from the front-panel Sto/Rcl Menu.
SYSTem:CPON {100|200|300|ALL}
Reset the module in the specified slot to its power-on state (CPON means “card power on”). To reset all three slots, specify ALL.
This is equivalent to pressing from the front panel.

Chapter 5 Remote Interface Reference System-Related Commands
SYSTem:ERRor?
Query the instrument’s error queue. A record of up to 10 errors is stored in the instrument’s error queue. 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, the ERROR annunciator turns off and the errors are cleared. The error queue is cleared by the *CLS (clear status) command or when power is cycled. The errors are also cleared when you read the queue.
See chapter 6 for a complete listing of the 34970A error messages.
SYSTem:ALARm?
Read the alarm data from the alarm queue (one alarm event is read and cleared each time this command is executed). The following is an example of an alarm stored in the alarm queue (if no alarm data is in the queue, the command returns “0” for each field).
1 Reading with Units (31.009 °C) 2 Date (May 1, 1997) 3 Time (2:39:40.058 PM)
4 Channel Number 5 Limit Threshold Crossed (0 = No Alarm, 1 = LO, 2 = HI) 6 Alarm Number Reported (1, 2, 3, or 4)
SYSTem:VERSion?
Query the instrument to determine the present SCPI version. Returns a string in the form “YYYY.V”, where “YYYY” represents the year of the version, and “V” represents a version number for that year (e.g., 1994.0).
Perform a complete self-test of the instrument. Returns “+0” if the self-test is successful, or “+1” if the test fails.

Chapter 5 Remote Interface Reference Interface Configuration Commands
See also “Remote Interface Configuration” in chapter 4 starting on page 150.
SYSTem:INTerface {GPIB|RS232}
Select the remote interface. Only one interface can be enabled at a time. The GPIB interface is selected when the instrument is shipped from the factory.
SYSTem:LOCal
Place the instrument in the local mode for RS-232 operation. All keys on the front panel are fully functional while in the local mode.
SYSTem:REMote
Place the instrument in the remote mode for RS-232 operation. All keys on the front panel, except , are disabled while in the remote mode.
SYSTem:RWLock
Place the instrument in the remote mode for RS-232 operation. This command is the same as the SYSTem:REMote command except that all keys on the front panel are disabled, including the key.
Clear the operation in progress over the RS-232 interface and discard any pending output data. This is equivalent to the IEEE-488 Device Clear action over the GPIB interface.
<Ctrl-C>

Chapter 5 Remote Interface Reference RS-232 Interface Configuration
See also “Remote Interface Configuration” in chapter 4 on page 150.
This section contains information to help you use the instrument over the RS-232 interface. The programming commands for RS-232 are listed on page 269.
Configure the RS-232 interface using the parameters shown below. Use the front-panel Interface menu to select the baud rate, parity, number of data bits, and flow control mode (see page 152 for more information).
Modem

Chapter 5 Remote Interface Reference RS-232 Interface Configuration
You can select one of several flow control methods to coordinate the transfer of data between the instrument and your computer or modem.

Chapter 5 Remote Interface Reference RS-232 Interface Configuration
A character frame consists of all the transmitted bits that make up a single character. The frame is defined as the bits from the start bit to the last stop bit, inclusively. Within the frame, you can select the baud rate, number of data bits, and parity type. The instrument uses the following frame formats for seven and eight data bits.
To connect the instrument to a computer or terminal, you must have the proper interface cable. Most computers and terminals are DTE (Data Terminal Equipment) devices. Since the instrument is also a DTE device, you must use a DTE-to-DTE interface cable. These cables are also called null-modem, modem-eliminator, or crossover cables.
The interface cable must also have the proper connector on each end and the internal wiring must be correct. Connectors typically have 9 pins (DB-9 connector) or 25 pins (DB-25 connector) with a “male” or “female” pin configuration. A male connector has pins inside the connector shell and a female connector has holes inside the connector shell.
If you cannot find the correct cable for your configuration, you may have to use a wiring adapter. If you are using a DTE-to-DTE cable, make sure the adapter is a “straight-through” type. Typical adapters include gender changers, null-modem adapters, and DB-9 to DB-25 adapters.

Chapter 5 Remote Interface Reference RS-232 Interface Configuration
If your computer has a 9-pin serial port with a male connector, use the cable included with the instrument (if you ordered the internal DMM). If you need an additional cable, order the RS232-61601 cable which is part of the 34398A Cable Kit. This cable has a 9-pin female connector on each end.
The cable pin diagram is shown below (this is the pinout for the cable shipped with the 34970A). For proper operation, you must use an RS-232 cable with the same pinout as shown below.
Here are a few things to check if you are having problems communicating over the RS-232 interface. If you need additional help, refer to the documentation that came with your computer.
RS-232 Cable

Chapter 5 Remote Interface Reference Modem Communications
This section gives details on communicating with the instrument from a remote PC using a modem. To communicate over the phone lines, you must have a PC and two modems. One modem is connected to your PC (local modem) and the other is connected to the 34970A (remote modem). The steps below show how to set up a typical modem.
AT Set the baud rate and configure the modem to expect more commands.
&F1 Place the modem in its factory configuration, which is compatible with most PCs.
S0=1 Set to auto answer after one ring.
E0 Disable command echo mode.
Q1 Disable result codes.
&W0 Store settings for power-on profile.

Chapter 5 Remote Interface Reference The SCPI Status System
This section describes the structure of the SCPI status system used by the 34970A. The status system records various conditions and states of the instrument in five register groups as shown on the following page. Each of the register groups is made up of several low-level registers called Condition registers, Event registers, and Enable registers which control the action of specific bits within the register group.
A condition register continuously monitors the state of the instrument. The bits in the condition register are updated in real time and the bits are not latched or buffered. This is a read-only register and bits are not cleared when you read the register. A query of a condition register returns a decimal value which corresponds to the binary-weighted sum of all bits set in that register.
An event register latches the various events from the condition register. There is no buffering in this register; while an event bit is set, subsequent events corresponding to that bit are ignored. This is a read-only register. Once a bit is set, it remains set until cleared by a query command (such as STATus:OPER:EVENt?) or a *CLS (clear status) command. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in that register.
An enable register defines which bits in the event register will be reported to the Status Byte register group. You can write to or read from an enable register. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet clears all bits in the enable register. To enable bits in the enable register to be reported to the Status Byte register, you must write a decimal value which corresponds to the binary-weighted sum of the corresponding bits.

Chapter 5 Remote Interface Reference The SCPI Status System
Alarm Register Questionable Data Register

Tot Ovfl Mem Ovfl
STAT:OPER:ENABle STAT:OPER:ENABle?
Queue

Chapter 5 Remote Interface Reference The SCPI Status System
The Status Byte register group reports conditions from the other register groups. Data in the instrument’s output buffer is immediately reported on the “Message Available” bit (bit 4). Clearing an event register from one of the other register groups will clear the corresponding bits in the Status Byte condition register. Reading all messages from the output buffer, including any pending queries, will clear the “Message Available” bit. To set the enable register mask and generate an SRQ (service request), you must write a decimal value to the register using the *SRE command.
Bit Definitions – Status Byte Register
0 Not Used 1 Alarm Condition
Returns “0”. One or more bits are set in the Alarm Register (bits must be enabled). Returns “0”. One or more bits are set in the Questionable Data Register (bits must be enabled). Data is available in the instrument’s output buffer. One or more bits are set in the Standard Event Register (bits must be enabled). One or more bits are set in the Status Byte Register (bits must be enabled). One or more bits are set in the Standard Operation Register (bits must be enabled).
2 Not Used 3 Questionable Data
4 Message Available 5 Standard Event
The Status Byte condition register is cleared when:
The Status Byte enable register is cleared when:

Chapter 5 Remote Interface Reference The SCPI Status System
You must configure your computer to respond to the IEEE-488 service request (SRQ) interrupt to use this capability. Use the Status Byte enable register (*SRE command) to select which condition bits will assert the IEEE-488 SRQ line. If bit 6 (RQS) transitions from a “0” to a “1”, then an IEEE-488 service request message is sent to your computer. The computer may then poll the instruments on the interface bus to identify which one is asserting the service request line (the instrument with bit 6 set in its Serial Poll response).
To read the Status Byte condition register, send an IEEE-488 Serial Poll message. Querying the condition register will return a decimal value which corresponds to the binary-weighted sum of the bits set in the register. Performing a Serial Poll will not affect measurement throughput.
The *STB? command is similar to a Serial Poll but it is processed like any other instrument command. The *STB? command returns the same result as a Serial Poll but bit 6 is not cleared as long as the enabled conditions remain.
The *STB? command is not handled automatically by the IEEE-488 bus interface hardware and will be executed only after previous commands have completed. You cannot clear an SRQ using the *STB? command.

Chapter 5 Remote Interface Reference The SCPI Status System
You can use the Status Byte “Message Available” bit (bit 4) to determine when data is available to read into your computer. The instrument subsequently clears bit 4 only after all messages have been read from the output buffer.

Chapter 5 Remote Interface Reference The SCPI Status System
The Questionable Data register group provides information about the quality of the instrument’s measurement results. Any or all of these conditions can be reported to the Questionable Data summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the STATus:QUES:ENABle command.
A measurement overload condition is always reported in both the Questionable Data event register (bits 0, 1, 2, 9, or 10) and the Standard event register (bit 3). However, no error message is recorded in the instrument’s error queue.
Bit Definitions – Questionable Data Register
0 Voltage Overload 1 Current Overload 2 Not Used 3 Not Used 4 Not Used 5 Not Used 6 Not Used 7 Not Used 8 Not Used 9 Resistance Overload 10 Temperature Overload 11 Totalizer Overflow 12 Memory Overflow 13 Not Used 14 Not Used 15 Not Used
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
Range overload on dc or ac volts. Range overload on dc or ac current. Returns “0”. Returns “0”. Returns “0”. Returns “0”. Returns “0”. Returns “0”. Returns “0”. Range overload on 2- or 4-wire resistance. Range overload on temperature. Count overflow on a totalizer channel. Memory is full; 1 or more readings are lost. Returns “0”. Returns “0”. Returns “0”.
Decimal · Bit Number · Value Definition

Chapter 5 Remote Interface Reference The SCPI Status System
The Questionable Data event register is cleared when:
The Questionable Data enable register is cleared when:

Chapter 5 Remote Interface Reference The SCPI Status System
The Standard Event register group reports the following types of instrument events: power-on detected, command syntax errors, command execution errors, self-test or calibration errors, query errors, or the *OPC command is executed. Any or all of these conditions can be reported to the Standard Event summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the *ESE command.
An error condition (Standard Event bits 2, 3, 4, or 5) will record one or more errors in the instrument’s error queue, with the following exception:
A measurement overload condition is always reported in both the Standard event register (bit 3) and Questionable Data event register (bits 0, 1, 9, or 10). However, no error message is recorded in the instrument’s error queue.
Read the error queue using the SYSTem:ERRor? command.
Bit Definitions – Standard Event Register
All commands prior to and including *OPC have been executed. Returns “0”. The instrument tried to read the output buffer but it was empty. Or, a new command line was received before a previous query has been read. Or, both the input and output buffers are full. A self-test or calibration error occurred (see error numbers in the -300 range or any positive error number in chapter 6). An execution error occurred (see error numbers in the -200 range in chapter 6). A command syntax error occurred (see error numbers in the -100 range in chapter 6). Returns “0”. Power has been turned off and on since the last time the event register was read or cleared.
1 Not Used 2 Query Error
4 Execution Error 5 Command Error
6 Not Used 7 Power On

Chapter 5 Remote Interface Reference The SCPI Status System
The Standard event register is cleared when:
The Standard Event enable register is cleared when:

Chapter 5 Remote Interface Reference The SCPI Status System
The Alarm register group is used to report the status of the four instrument alarm limits. Any or all of these alarm conditions can be reported to the Alarm Register summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the STATus:ALARm:ENABle command.
Bit Definitions – Alarm Register
0 Alarm 1 1 Alarm 2 2 Alarm 3 3 Alarm 4 4 Queue Empty * 5 Queue Overflow 6 Not Used
1 2 4 8 16 32 64
Alarm occurred on Alarm 1. Alarm occurred on Alarm 2. Alarm occurred on Alarm 3. Alarm occurred on Alarm 4. Alarm queue status (0 = empty, 1 = not empty). Alarm data lost due to alarm queue overflow. Returns “0”.
Returns “0”.
* The Condition Register implements only bit 4.
The Alarm event register is cleared when:
The Alarm enable register is cleared when:

Chapter 5 Remote Interface Reference The SCPI Status System
The Standard Operation register group is used to report when the instrument is scanning. Any or all of these conditions can be reported to the Standard Operation summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the STATus:OPER:ENABle command.
Bit Definitions – Standard Operation Register
0 Not Used 1 Not Used 2 Not Used 3 Not Used 4 Scan in Progress 5 Not Used 6 Not Used 7 Not Used 8 Configuration Change
1 2 4 8 16 32 64 128 256
Returns “0”. Returns “0”. Returns “0”. Returns “0”. Instrument is scanning (SCAN annunciator is on). Returns “0”. Returns “0”. Returns “0”. Channel configuration was changed from the front panel. This bit is cleared when a new scan is initiated. Programmed number of readings have been stored in reading memory. Returns “0”.
Returns “0”.
The Standard Operation event register is cleared when:
The Standard Operation enable register is cleared when:

Chapter 5 Remote Interface Reference Status System Commands
An application program is included in chapter 7 which shows the use of the Status System Registers. Refer to page 330 for more information.
Status Byte Register Commands
See the table on page 277 for the register bit definitions.
Query the summary (condition) register in this register group. This command is similar to a Serial Poll but it is processed like any other instrument command. This command returns the same result as a Serial Poll but the “Master Summary” bit (bit 6) is not cleared if a Serial Poll has occurred.
*SRE *SRE?
Enable bits in the enable register in this register group. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet does not clear the bits in the Status Byte enable register. To enable bits in the enable register, you must write a decimal value which corresponds to the binary-weighted sum of the bits you wish to enable in the register.
The *SRE? query returns a decimal value which corresponds to the binary-weighted sum of all bits enabled by the *SRE command.

Chapter 5 Remote Interface Reference Status System Commands
Questionable Data Register Commands
See the table on page 280 for the register bit definitions.
STATus:QUEStionable:CONDition?
Query the condition register in this register group. This is a read-only register and bits are not cleared when you read the register. A *RST (Factory Reset) will clear all bits in a condition register. A query of this register returns a decimal value which corresponds to the binary- weighted sum of all bits set in the register.
STATus:QUEStionable[:EVENt]?
Query the event register in this register group. This is a read-only register. Once a bit is set, it remains set until cleared by this command or *CLS (clear status) command. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register.
STATus:QUEStionable:ENABle STATus:QUEStionable:ENABle?
Enable bits in the enable register in this register group. The selected bits are then reported to the Status Byte. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet clears all bits in the enable register. To enable bits in the enable register, you must write a decimal value which corresponds to the binary-weighted sum of the bits you wish to enable in the register.
The :ENABle? query returns a decimal value which corresponds to the binary-weighted sum of all bits enabled by the STATus:QUES:ENABle command.

Chapter 5 Remote Interface Reference Status System Commands
Standard Event Register Commands
See the table on page 282 for the register bit definitions.
Query the event register in this register group. This is a read-only register. Once a bit is set, it remains set until cleared by a *CLS (clear status) command. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register.
*ESE *ESE?
Enable bits in the enable register in this register group. The selected bits are then reported to the Status Byte. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet does not clear the bits in the Standard Event enable register. To enable bits in the enable register, you must write a decimal value which corresponds to the binary-weighted sum of the bits you wish to enable in the register.
The *ESE? query returns a decimal value which corresponds to the binary-weighted sum of all bits enabled by the *ESE command.

Chapter 5 Remote Interface Reference Status System Commands
See the table on page 284 for the register bit definitions.
STATus:ALARm:CONDition?
Query the condition register in this register group (note that this condition register uses only bit 4). This is a read-only register and bits are not cleared when you read the register. A *RST (Factory Reset) clears the “Queue Empty” bit (bit 4) in the condition register. A query of this register returns a decimal value which corresponds to the binary- weighted sum of all bits set in the register.
STATus:ALARm[:EVENt]?
Query the event register in this register group. This is a read-only register. Once a bit is set, it remains set until cleared by the STATus:ALARm:EVENt? command or *CLS (clear status) command. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register.
STATus:ALARm:ENABle STATus:ALARm:ENABle?
Enable bits in the enable register in this register group. The selected bits are then reported to the Status Byte. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet clears all bits in the enable register. To enable bits in the enable register, you must write a decimal value which corresponds to the binary-weighted sum of the bits you wish to enable in the register.
The :ENABle? query returns a decimal value which corresponds to the binary-weighted sum of all bits enabled by the STATus:ALARm:ENABle command.
SYSTem:ALARm?
Read the alarm data from the alarm queue (one alarm event is read and cleared each time this command is executed). See the diagram on page 251 for more details on the output format.
Alarm Register Commands

Chapter 5 Remote Interface Reference Status System Commands
Standard Operation Register Commands
See the table on page 285 for the register bit definitions.
STATus:OPERation:CONDition?
Query the condition register in this register group. This is a read-only register and bits are not cleared when you read the register. Note that a *RST (Factory Reset) command may set the “Configuration Change” bit (bit 8) in the condition register. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register.
STATus:OPERation[:EVENt]?
Query the event register in this register group. This is a read-only register. Once a bit is set, it remains set until cleared by the STATus:OPER:EVENt? command or *CLS (clear status) command. A query of this register returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register.
STATus:OPERation:ENABle STATus:OPERation:ENABle?
Enable bits in the enable register in this register group. The selected bits are then reported to the Status Byte. A *CLS (clear status) will not clear the enable register but it does clear all bits in the event register. A STATus:PRESet clears all bits in the enable register. To enable bits in the enable register, you must write a decimal value which corresponds to the binary-weighted sum of the bits you wish to enable in the register.
The :ENABle? query returns a decimal value which corresponds to the binary-weighted sum of all bits enabled by the STATus:OPER:ENABle command.

Chapter 5 Remote Interface Reference Status System Commands
DATA:POINts:EVENt:THReshold DATA:POINts:EVENt:THReshold?
Set a bit in the event register when the specified number of readings have been stored in reading memory during a scan. You can set the memory threshold to any value between 1 reading and 50,000 readings. The default is 1 reading. When the specified number of readings have been stored in memory, the “Memory Threshold” bit (bit 9) is set to a “1” in the register. To report any subsequent events, the reading count must first drop below the programmed threshold before reaching the threshold again. Once this bit is set, it remains set until cleared by the STATus:OPER:EVENt? command or *CLS (clear status) command.
The :THReshold? query returns the number of readings currently specified as the memory threshold.
Miscellaneous Status Register Commands
Clear the event register in all register groups. This command also clears the error queue and the alarm queue.
STATus:PRESet
Clear all bits in the Questionable Data enable register, the Alarm enable register, and the Standard Operation enable register.
Power-On Status Clear. Clear the Standard Event enable register and Status Byte condition register at power on (*PSC 1). When *PSC 0 is in effect, these two registers are not cleared at power on. The *PSC? query returns the power-on status clear setting. Returns “0” (do not clear at power on) or “1” (clear at power on).
Set the “Operation Complete” bit (bit 0) in the Standard Event register at the completion of the current scan.

Chapter 5 Remote Interface Reference Calibration Commands
For an overview of the calibration features of the instrument, refer to “Calibration Overview” in chapter 4 starting on page 155. For a more detailed discussion of the instrument’s calibration procedures, see chapter 4 in the 34970A Service Guide.
Perform a calibration of the instrument using the specified calibration value (CALibration:VALue command). Before you can calibrate the instrument, you must unsecure it by entering the correct security code. Returns “0” (PASS) or “1” (FAIL).
CALibration:COUNt?
Query the instrument to determine the number of times it has been calibrated. Note that your instrument was calibrated before it left the factory. When you receive your instrument, read the count to determine its initial value. The calibration count is stored in non-volatile memory in the mainframe. The calibration count increments up to a maximum of 65,535 after which it rolls over to “0”. Since the value increments by one for each calibration point, a complete calibration may increase the value by many counts. The calibration count is also incremented by calibrations of the DAC channels on the multifunction module.
CALibration:SECure:CODE
Enter a new security code. To change the security code, you must first unsecure the instrument using the old security code, and then enter a new code. The security code is set to “HP034970” when the instrument is shipped from the factory. The security code is stored in non-volatile memory in the mainframe. The security code may contain up to 12 alphanumeric characters. The first character must be a letter, but the remaining characters can be letters, numbers, or an underscore ( _ ). You do not have to use all 12 characters but the first character must always be a letter.
CALibration?

Chapter 5 Remote Interface Reference Calibration Commands
CALibration:SECure:STATe {OFF|ON}, CALibration:SECure:STATe?
Unsecure or secure the instrument for calibration. The security code may contain up to 12 alphanumeric characters. The :STAT? query reads the secured state of the instrument. Returns “0” (unsecured) or “1” (secured).
CALibration:STRing
Store a message in calibration memory in the mainframe. Storing a calibration message will overwrite any message previously stored in memory. The following statement shows how to store a message in calibration memory.
CALibration:STRing?
Query the calibration message and return a quoted string. Returns a string in the form “CAL: 06-01-98”.
CALibration:VALue CALibration:VALue?
Specify the value of the known calibration signal as outlined in the calibration procedures in the 34970A Service Guide. The :VAL? command reads present calibration value. Returns a number in the form “+1.00000000E+01”.

Chapter 5 Remote Interface Reference Service-Related Commands
INSTrument :DMM {OFF|ON} :DMM?
Disable or enable the internal DMM. When you change the state of the internal DMM, the instrument issues a Factory Reset (*RST command). The :DMM? query returns the state of the internal DMM. Returns “0” (disabled) or “1” (enabled).
INSTrument:DMM:INSTalled?
Query the instrument to determine if the internal DMM is installed. Returns “0” (not installed) or “1” (installed).
DIAGnostic:DMM:CYCLes?
Query the cycle count of the three backplane relays on the internal DMM. These relays open or close when a function or range is changed on a module. Returns three numbers indicating the cycle count on relays “1”, “2”, and “3” (which correspond to relays K102, K103, and K104 respectively).
DIAGnostic:DMM:CYCLes:CLEar {1|2|3}
Reset the relay cycle count on the specified internal DMM relay. Note that the instrument must be unsecured to reset the cycle count (to unsecure the instrument, see the calibration section on page 292).
DIAGnostic:RELay:CYCLes? [(@)]
Query the cycle count on the specified channels. In addition to the channel relays, you can also query the count on backplane relays and bank relays. Note that you cannot control the state of these relays from the front panel but you can query the count. For more information on channel numbering and layout, refer to “Module Overview” starting on page 163.
DIAGnostic:RELay:CYCLes:CLEar [(@)]
Reset the cycle count on the specified channels. Note that the instrument must be unsecured to reset the cycle count (to unsecure the instrument, see the calibration section on page 292).

Chapter 5 Remote Interface Reference Service-Related Commands
Reset the instrument to the Factory configuration. See “Factory Reset State” on page 160 in chapter 4 for a complete listing of the instrument’s Factory Reset state. This command is equivalent to selecting FACTORY RESET from the front-panel Sto/Rcl Menu.
SYSTem:PRESet
Preset the instrument to a known configuration. See “Instrument Preset State” on page 161 in chapter 4 for a complete listing of the instrument’s preset state. This command is equivalent to selecting PRESET from the front-panel Sto/Rcl Menu.
SYSTem:CPON {100|200|300|ALL}
Reset the module in the specified slot to its power-on state (CPON means “card power on”). To reset all three slots, specify ALL.
SYSTem:VERSion?
Query the instrument to determine the present SCPI version. Returns a string in the form “YYYY.V”, where “YYYY” represents the year of the version, and “V” represents a version number for that year (e.g., 1994.0).
Perform a complete self-test of the instrument. Returns “0” if the self-test is successful, or “1” if the test fails.
Wait until the completion of the current scan to process any further commands. To abort the scan, send a Device Clear command. Note that this command will wait until the entire scan is complete (may hang indefinitely if a continuous scan is in progress).
Set the “Operation Complete” bit (bit 0) in the Standard Event register at the completion of the current scan. Note that this command will wait until the entire scan is complete (may hang indefinitely if a continuous scan is in progress).

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
SCPI (Standard Commands for Programmable Instruments) is an ASCII-based instrument command language designed for test and measurement instruments. Refer to “Simplified Programming Overview,” starting on page 201, for an introduction to the basic techniques used to program the instrument over the remote interface.
SCPI commands are based on a hierarchical structure, also known as a tree system. In this system, associated commands are grouped together under a common node or root, thus forming subsystems. A portion of the SENSE subsystem is shown below to illustrate the tree system.
SENSe: VOLTage :DC:RANGe {|MINimum|MAXimum}[,(@)] VOLTage :DC:RANGe? [{(@)|MINimum|MAXimum}]
FREQuency :VOLTage:RANGe {|MINimum|MAXimum}[,(@)] FREQuency :VOLTage:RANGe? [{(@)|MINimum|MAXimum}]
RESistance :OCOMpensated {OFF|ON}[,(@)] RESistance :OCOMpensated? [(@)]
TEMPerature :RJUNction? [(@)]
SENSe is the root keyword of the command, VOLTage and FREQuency are second-level keywords, and DC and VOLTage are third-level keywords. A colon ( : ) separates a command keyword from a lower-level keyword.

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
The format used to show commands in this manual is shown below:
VOLTage:DC:RANGe {|MINimum|MAXimum}[,(@)]
The command syntax shows most commands (and some parameters) as a mixture of upper- and lower-case letters. The upper-case letters indicate the abbreviated spelling for the command. For shorter program lines, send the abbreviated form. For better program readability, send the long form.
For example, in the above syntax statement, VOLT and VOLTAGE are both acceptable forms. You can use upper- or lower-case letters. Therefore, VOLTAGE, volt, and Volt are all acceptable. Other forms, such as VOL and VOLTAG, will generate an error.
Braces ( { } ) enclose the parameter choices for a given command string. The braces are not sent with the command string.
A vertical bar ( | ) separates multiple parameter choices for a given command string.
Triangle brackets ( < > ) indicate that you must specify a value for the enclosed parameter. For example, the above syntax statement shows the range parameter enclosed in triangle brackets. The brackets are not sent with the command string. You must specify a value for the parameter (such as "VOLT:DC:RANG 10").
Some parameters are enclosed in square brackets ( [ ] ). The brackets indicate that the parameter is optional and can be omitted. The brackets are not sent with the command string. If you do not specify a value for an optional parameter, the instrument chooses a default value.

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
A colon ( : ) is used to separate a command keyword from a lower-level keyword. You must insert a blank space to separate a parameter from a command keyword. If a command requires more than one parameter, you must separate adjacent parameters using a comma as shown below:
A semicolon ( ; ) is used to combine commands into one message string, and can also minimize typing. For example, sending the following command string:
... is the same as sending the following two commands:
Use a colon and a semicolon to link commands from different subsystems. For example, in the following command string, an error is generated if you do not use both the colon and semicolon:
Using the MIN and MAX Parameters
You can substitute MINimum or MAXimum in place of a parameter for many commands. For example, consider the following command:
VOLTage:DC:RANGe {|MINimum|MAXimum}[,(@)]
Instead of selecting a specific range, you can substitute MIN to set the range to its minimum value or MAX to set the range to its maximum value.

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
You can query the current value of most parameters by adding a question mark ( ? ) to the command. For example, the following command sets the scan count to 10 sweeps:
You can query the scan count value by executing:
You can also query the minimum or maximum scan count allowed as follows:
SCPI Command Terminators
A command string sent to the instrument may be terminated with a character. The IEEE-488 EOI (end-or-identify) message can be used to terminate a command string in place of a character. A followed by a is also accepted. Command string termination will always reset the current SCPI command path to the root level.
The IEEE-488.2 standard defines a set of common commands that perform functions like factory reset, self-test, and status operations. Common commands always begin with an asterisk ( * ), are four to five characters in length, and may include one or more parameters. The command keyword is separated from the first parameter by a blank space. Use a semicolon ( ; ) to separate multiple commands as shown below:

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
The SCPI language defines several different data formats to be used in program messages and response messages.
Numeric Parameters Commands that require numeric parameters will accept all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation. Special values for numeric parameters like MINimum, MAXimum, and DEFault are also accepted. You can also send engineering unit suffixes with numeric parameters (e.g., M, K, or u). If only specific numeric values are accepted, the instrument will automatically round the input numeric parameters. The following command uses a numeric parameter:
VOLTage:DC:RANGe {|MINimum|MAXimum}[,(@)]
Discrete Parameters Discrete parameters are used to program settings that have a limited number of values (like BUS, IMMediate, EXTernal). They have a short form and a long form just like command keywords. You can mix upper- and lower-case letters. Query responses will always return the short form in all upper-case letters. The following command uses discrete parameters:
UNIT:TEMPerature {C|F|K}[,(@)]
Boolean Parameters Boolean parameters represent a single binary condition that is either true or false. For a false condition, the instrument will accept “OFF” or “0”. For a true condition, the instrument will accept “ON” or “1”. When you query a boolean setting, the instrument will always return “0” or “1”. The following command uses a boolean parameter:
INPut:IMPedance:AUTO {OFF|ON}[,(@)]

Chapter 5 Remote Interface Reference An Introduction to the SCPI Language
String Parameters String parameters can contain virtually any set of ASCII characters. A string must begin and end with matching quotes; either with a single quote or with a double quote. You can include the quote delimiter as part of the string by typing it twice without any characters in between. The following command uses a string parameter:
DISPlay:TEXT
Channel List Parameters Channel list parameters specify one or more channel numbers on the module in the specified slot. The channel list must be preceded with the “ @ ” symbol and enclosed in parentheses. The following command uses a channel list parameter:
ROUTe:CHANnel:DELay? (@)

Chapter 5 Remote Interface Reference Using Device Clear
Device Clear is an IEEE-488 low-level bus message which you can use to return the instrument to a responsive state. Different programming languages and IEEE-488 interface cards provide access to this capability through their own unique commands. The status registers, the error queue, the alarm queue, and all configuration states are left unchanged when a Device Clear message is received. Device Clear performs the following actions.
For RS-232 operation, sending the character will perform the equivalent operations of the IEEE-488 Device Clear message.


If the ERROR annunciator is on, press to view the errors. Use the knob to scroll through the error numbers. Press to view the text of the error message. Press again to increase the scrolling speed (the final key press cancels the scroll). All errors are cleared when you exit the menu.
Errors have the following format (the error string may contain up to 80 characters):
-113,"Undefined header"

Chapter 6 Error Messages Execution Errors
-101 Invalid character An invalid character was found in the command string. You may have used an invalid character such as #, {, $, or % in the command header or within a parameter. Example: CONF:VOLT:DC {@101)
-102 Syntax error Invalid syntax was found in the command string. You may have inserted a blank space before or after a colon in the command header, or before a comma. Or you may have omitted the “@” character in the channel list syntax. Examples: ROUT:CHAN: DELAY 1 or CONF:VOLT:DC ( 101)
-103 Invalid separator An invalid separator was found in the command string. You may have used a comma instead of a colon, semicolon, or blank space – or you may have used a blank space instead of a comma. Examples: TRIG:COUNT,1 or CONF:FREQ 1000 0.1
-105 GET not allowed A Group Execute Trigger (GET) is not allowed within a command string.
-108 Parameter not allowed More parameters were received than expected for this command. You may have entered an extra parameter or added a parameter to a command that does not require a parameter. Example: READ? 10
-109 Missing parameter Fewer parameters were received than expected for this command. You have omitted one or more parameters that are required for this command. Example: ROUT:CHAN:DELAY
-112 Program mnemonic too long A command header was received which contained more than the maximum 12 characters allowed. Example: CONFIGURATION:VOLT:DC
-113 Undefined header A command was received that is not valid for this instrument. You may have misspelled the command or it may not be a valid command. If you are using the shortened form of this command, remember that it may contain up to four letters. Or you may have inserted an extra colon where one is not required. Examples: TRIGG:COUN 3 or CONF:VOLT:DC: (@101)

Chapter 6 Error Messages Execution Errors
-114 Header suffix out of range A header suffix is the number that can be appended to the end of some command headers. This error is generated if an invalid number is used. Example: OUTP:ALARM5:SOURCE (“5” is not a valid alarm number)
-121 Invalid character in number An invalid character was found in the number specified for a parameter. Example: TRIG:TIMER 12..34
-123 Numeric overflow A numeric parameter was found whose exponent was too large for this command. Example: CALC:SCALE:GAIN 1E34000
-124 Too many digits A numeric parameter was found whose mantissa contained more than 255 digits, excluding leading zeros.
-128 Numeric data not allowed The wrong parameter type was found in the command string. You may have specified a number where a string or expression was expected, or vice versa. Examples: DISP:TEXT 5.0 or ROUT:CLOSE 101
-131 Invalid suffix A suffix was incorrectly specified for a numeric parameter. You may have misspelled the suffix. Example: ROUT:CHAN:DELAY 5 SECS
-134 Suffix too long A header suffix is the number that can be appended to the end of some command headers. This error is generated if the header suffix contains more than 12 characters.
-148 Character data not allowed A discrete parameter was received but a character string or a numeric parameter was expected. Check the list of parameters to verify that you have used a valid parameter type. Examples: ROUTE:CLOSE CH101 or DISP:TEXT TESTING (the string must be enclosed in quotes)
-151 Invalid string data An invalid character string was received. Check to see if you have enclosed the character string in quotation marks and verify that the string contains valid ASCII characters. Example: DISP:TEXT ’TESTING (the ending quote is missing)
-158 String data not allowed A character string was received but is not allowed for this command. Check the list of parameters to verify that you have used a valid parameter type. Example: CALC:SCALE:STATE ’ON’

Chapter 6 Error Messages Execution Errors
-168 Block data not allowed Data was sent to the instrument in SCPI definite length block format but this command does not accept this format. Example: SOUR:DIG:DATA #128
-178 Expression data not allowed A channel list was received but is not allowed for this command. Example: SYST:CTYPE? (@100)
-211 Trigger ignored More than one trigger was received while the instrument was scanning. Triggers are occurring too frequently and you may need to slow them down. Also make sure that you have selected the proper trigger source.
-213 INIT ignored An INITiate command was received but could not be executed because a scan was already in progress. Send an ABORt command or bus Device Clear to stop a scan in progress.
-214 Trigger deadlock A trigger deadlock occurs when the trigger source is “BUS” and a READ? command is received.
-221 Settings conflict An invalid configuration was requested. This error is most commonly generated when setting alarm limits. Note that the lower limit must always be less than or equal to the upper limit, even if you are using only one of the limits. This error is also generated if you send the MEASure? or CONFigure command with autorange enabled with a fixed resolution.
-222 Data out of range A numeric parameter value is outside the valid range for this command. Example: TRIG:COUNT -3
-223 Too much data A character string was received but could not be executed because the string length was more than 12 characters. This error can be generated by the CAL:STRing and DISPlay:TEXT commands.
-224 Illegal parameter value A discrete parameter was received which was not a valid choice for this command. You may have used an invalid parameter choice. Example: TRIG:SOURCE ALARM (ALARM is not a valid choice)

Chapter 6 Error Messages Execution Errors
-230 Data stale A FETCh? or DATA:REMove? command was received but internal reading memory was empty. The readings retrieved may be invalid.
-310 System error A firmware defect has been found. This is not a fatal error but you should contact your nearest Hewlett-Packard Service Center if this error is reported.
-350 Error queue overflow The error queue is full because more than 10 errors have occurred. No additional errors are stored until you remove errors from the queue. The error queue is cleared by the *CLS (clear status) command or when power is cycled. The errors are also cleared when you read the queue.
-410 Query INTERRUPTED A command was received which sends data to the output buffer, but the output buffer contained data from a previous command (the previous data is not overwritten). The output buffer is cleared when power has been off or after a bus Device Clear.
-420 Query UNTERMINATED The instrument was addressed to talk (i.e., send data over the interface) but a command has not been received which sends data to the output buffer. For example, you may have executed a CONFigure command (which does not generate data) and then attempted to read data from the remote interface.
-430 Query DEADLOCKED A command was received which generates too much data to fit in the output buffer and the input buffer is also full. Command execution continues but all data is lost.
-440 Query UNTERMINATED after indefinite response The *IDN? command must be the last query command within a command string. The *IDN? command returns an indefinite length string which cannot be combined with any other query command. Example: *IDN?;*STB?

Chapter 6 Error Messages Instrument Errors
111 Channel list: slot number out of range The specified slot number is invalid. The channel number has the form (@scc), where s is the slot number (100, 200, or 300) and cc is the channel number. Example: CONF:VOLT:DC (@404)
112 Channel list: channel number out of range The specified channel number is invalid for the module in the selected slot. The channel number has the form (@scc), where s is the slot number (100, 200, or 300) and cc is the channel number. Example: ROUT:CLOSE (@134)
113 Channel list: empty scan list Before you can initiate a scan, you must set up a scan list which includes all configured multiplexer or digital channels in the instrument. Use the MEASure?, CONFigure, or ROUTe:SCAN commands to set up your scan list.
201 Memory lost: stored state This error is reported at power-on to indicate that a stored state has become unusable. This error is most likely caused by a dead battery (memory is battery-backed). Refer to the 34970A Service Guide to replace the internal battery.
202 Memory lost: power-on state This error is reported at power-on to indicate that the power-down state of the instrument (normally recalled when power is turned on) has become unusable. This error is most likely caused by a dead battery (memory is battery-backed). Refer to the 34970A Service Guide to replace the internal battery.
203 Memory lost: stored readings This error is reported at power-on to indicate that readings stored in memory from a previous scan have been lost. This error is most likely caused by a dead battery (memory is battery-backed). Refer to the 34970A Service Guide to replace the internal battery.
204 Memory lost: time and date This error is reported at power-on to indicate that the time and date settings have been lost (they are reset to JAN 1, 1996 00:00:00). This error is most likely caused by a dead battery (memory is battery-backed). Refer to the 34970A Service Guide to replace the internal battery.

Chapter 6 Error Messages Instrument Errors
221 Settings conflict: calculate limit state forced off If you plan to use scaling on a channel which will also use alarms, be sure to configure the scaling values first. This error is generated if you attempt to assign the alarm limits first and the instrument will turn off alarms and clear the limit values.
222 Settings conflict: module type does not match stored state Before recalling a stored state, the instrument verifies that the same module types are installed in each slot. The instrument has detected a different module type in one or more slots.
223 Settings conflict: trig source changed to IMM This error is generated if you attempt to set the channel advance source (ROUTe:CHAN:ADVance:SOURce command) to the same source used for the scan trigger (TRIGger:SOURce command). The command has been accepted and executed but the scan trigger source is reset to “IMMediate”.
224 Settings conflict: chan adv source changed to IMM This error is generated if you attempt to set the scan trigger source (TRIGger:SOURce command) to the same source used for the channel advance source (ROUTe:CHAN:ADVance:SOURce command). The command has been accepted and executed but the channel advance source is reset to “IMMediate”.
225 Settings conflict: DMM disabled or missing This command is valid only when the internal DMM is installed and enabled. Use the INSTrument:DMM? command to determine the state of the internal DMM. For more information, see “Internal DMM Disable” on page 145.
226 Settings conflict: DMM enabled When the internal DMM is enabled, the ROUTe:CHAN:ADVance:SOURce and ROUTe:CHAN:FWIRe commands are not allowed. Use the INSTrument:DMM? command to determine the state of the internal DMM. For more information, see “Internal DMM Disable” on page 145.
251 Unsupported temperature transducer type An invalid RTD or thermistor type has been specified. The following RTDs are supported: α = 0.00385 (“85”) and α = 0.00391 (“91”). The following thermistors are supported: 2.2 kΩ (“2252”), 5 kΩ (“5000”), and 10 kΩ (“10000”). Example: CONF:TEMP RTD,1,(@101)

Chapter 6 Error Messages Instrument Errors
261 Not able to execute while scan initiated While a scan is running, you cannot change any parameters that affect the scan (channel configuration, scan interval, scaling values, alarm limits, issue a Card Reset, or recall a stored state). To stop a scan in progress, send the ABORt command or a bus Device Clear.
271 Not able to accept unit names longer than 3 characters For Mx+B scaling, you can specify a custom label with up to three characters. You can use letters (A-Z), numbers (0-9), an underscore ( _ ), or the “#” character which displays a degree symbol ( ° ) on the front panel.
272 Not able to accept character in unit name For Mx+B scaling, you can specify a custom label with up to three characters. The first character must be a letter or the “#” character (the “#” character is allowed only as the leftmost character in the label). The remaining two characters can be letters, numbers, or an underscore.
281 Not able to perform on more than one channel You can perform this operation on only one channel at a time. Check the channel list that you sent with this command to see if it contains more than one channel. This error is generated by the ROUTe:MON and DATA:LAST? commands.
291 Not able to recall state: it is empty You can only recall a state from a location that contains a previously stored state. The state location that you attempted to recall is empty. The storage locations are numbered 0 through 5.
292 Not able to recall state: DMM enable changed The enable/disable state of the internal DMM has been changed since the instrument state was stored. Use the INSTrument:DMM? command to determine the state of the internal DMM. For more information, see “Internal DMM Disable” on page 145.
301 Module currently committed to scan When you add a multiplexer channel to a scan list, that entire module is dedicated to the scan. You cannot perform low-level close or open operations on any channels on that module (even those channels that are not configured). To stop a scan in progress, send the ABORt command or a bus Device Clear.

Chapter 6 Error Messages Instrument Errors
303 Module not able to perform requested operation A command was received which is not valid for the specified module. This error is most commonly generated when you send a command intended for the multifunction module to a switching module.
305 Not able to perform requested operation The requested operation is not valid for the specified channel. You may have tried to a configure a channel for current measurements (valid only on channels 21 and 22 on the 34901A module). Or you may have tried to configure scaling on a module that does not connect to the internal DMM.
306 Part of a 4-wire pair For 4-wire resistance measurements, the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. To change the configuration on the upper channel in a 4-wire pair, you must first reconfigure the lower channel to a measurement function other than 4-wire resistance.
307 Incorrectly configured ref channel For thermocouple measurements using an external reference, the instrument automatically reserves channel 01 on the multiplexer in the lowest slot as the reference channel. Before configuring a thermocouple channel with an external reference, you must configure the reference channel (channel 01) for a thermistor or RTD measurement.
This error is also generated if you change the function on the reference channel (channel 01) after selecting the external reference source on a thermocouple channel.

Chapter 6 Error Messages Instrument Errors
514 RS-232 only: unable to execute using HP-IB There are three commands which are allowed only with the RS-232 interface: SYSTem:LOCal, SYSTem:REMote, and SYSTem:RWLock.
532 Not able to achieve requested resolution The instrument cannot achieve the requested measurement resolution. You may have specified an invalid resolution in the CONFigure or MEASure? command.
540 Not able to null channel in overload The instrument cannot store an overload reading (9.90000000E+37) as the offset for Mx+B scaling using a null measurement.
550 Not able to execute command in local mode The instrument has received a READ? or MEASure? command while in the local mode.

Chapter 6 Error Messages Self-Test Errors
The following errors indicate failures that may occur during a self-test. Refer to the 34970A Service Guide for more information.

Chapter 6 Error Messages Calibration Errors
The following errors indicate failures that may occur during a calibration. Refer to the 34970A Service Guide for more information.
701 Cal: security disabled by jumper The calibration security feature has been disabled with a jumper inside the instrument. When applicable, this error will occur at power-on to alert you that the instrument is unsecured.
702 Cal: secured The instrument is secured against calibration.
703 Cal: invalid secure code You have entered an invalid calibration security code. You must use the same security code to unsecure the instrument that was used to secure it, and vice versa. The security code may contain up to 12 alphanumeric characters. The first character must be a letter, but the remaining characters can be letters, numbers, or an underscore ( _ ). You do not have to use all 12 characters but the first character must always be a letter. The security code is set to “HP034970” when the instrument is shipped from the factory.
704 Cal: secure code too long The security code may contain up to 12 alphanumeric characters. A security code was received which contained more than 12 characters.
705 Cal: aborted A calibration in progress is aborted when you turn off the instrument or send a bus Device Clear.
706 Cal: value out of range The specified calibration value (CALibration:VALue) is not valid for the present measurement function and range.
707 Cal: signal measurement out of range The specified calibration value (CALibration:VALue) does not match the signal applied to the instrument.
708 Cal: signal frequency out of range The input signal frequency for an ac calibration does not match the required input frequency for this calibration.
709 Cal: no cal for this function or range You cannot perform calibrations for most ac current ranges, the 100 MΩ resistance range, and period.

Chapter 6 Error Messages Calibration Errors
749 DMM relay count data lost

Chapter 6 Error Messages Plug-In Module Errors
910 Module reported an unknown module type
911 Module reported command buffer overflow
912 Module reported command syntax error
913 Module reported nonvolatile memory fault
914 Module reported temperature sensor fault
915 Module reported firmware defect
916 Module reported incorrect firmware installed




This chapter contains several example programs to help you develop programs for your specific measurement application. Chapter 5, “Remote Interface Reference,” starting on page 179, lists the syntax for the SCPI (Standard Commands for Programmable Instruments) commands available to program the 34970A.
The examples in this chapter have been tested on a PC running on Windows 95. The examples are written for use over the GPIB interface and require a VISA (Virtual Instrument Software Architecture) library for use with your GPIB interface card in your PC. You will want to make sure that you have the visa32.dll file in your c:\windows\system directory for the examples to work properly.

Chapter 7 Application Programs Example Programs for Excel 7.0
This section contains two example programs written using Excel macros (Visual Basic ® for Applications) to control the 34970A. Using Excel, you can send SCPI commands to configure the instrument and then record measurement data on the Excel spreadsheet.
To write an Excel macro you must first open a module in Excel. Go to the Insert menu, choose Macro, and then Module. Name this module “Send Commands” by clicking on the tab with the right mouse button. Create another module and name it “Port Configuration”. You will use the “Port Configuration” module to configure all of the overhead required to communicate with the instrument over the interface. You will use the “Send Commands” module to send the SCPI commands to the instrument using the “Port Configuration” module.
Two Excel examples are included in this section. To enter the first example (“takeReadings”), type the text as shown on page 322 into the “Send Commands” module. Then type the text for configuring the interface as shown on page 323 into the “Port Configuration” module.
After entering the information for both modules, go to a spreadsheet and run the example program. Note that you must run the macro from a spreadsheet. With the cursor in the spreadsheet, select Macro from the Tools menu. Then double-click on the “takeReadings” macro in the Macro dialog box.
To run the second example (“ScanChannels”), type the text as shown on page 325 into the “Send Commands” module and reuse the “Port Configuration” module from the first example (page 323).
Make any changes necessary to suit your application in the “Send Commands” module. You must enter the information in the modules exactly as shown or an error will be generated. If several system errors occur while attempting to run a macro, you may have to reboot your PC to get the GPIB port to work properly.

Chapter 7 Application Programs Example Programs for Excel 7.0
’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ This Excel Macro (Visual Basic) configures the 34970A for scanning with the 34901A, ’ 34902A, or 34908A multiplexer modules. When this subroutine is executed, it will ’ take the specified number of readings on the selected channel. You can easily modify the ’ number of readings, channel delay, and channel number. To make these changes, modify the ’ code in the section titled ’SET UP’. Note that you must have one of the above ’ modules installed in slot 100 for this program to run properly. You must also have an ’ GPIB interface card installed in your PC with the VISA or VTL library. ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ Option Explicit Sub takeReadings() Columns(1).ClearContents Columns(2).ClearContents Dim I As Integer ’ Used for counter in For-Next loop Dim numberMeasurements As Integer ’ Number of readings Dim measurementDelay As Single ’ Delay between relay closure and measurement Dim points As Integer ’ ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ To change the GPIB address, modify the variable ’VISAaddr’ below. VISAaddr = "9" OpenPort ’ Open communications on GPIB SendSCPI "*RST" ’ Issue a Factory Reset to the instrument ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ SET UP: Modify this section to select the number of readings, channel delay, ’ and channel number to be measured. numberMeasurements = 10 ’ Number of readings measurementDelay = 0.1 ’ Delay (in secs) between relay closure and measurement ’ Configure the function, range, and channel (see page 201 for more information). SendSCPI "CONF:VOLT:DC (@103)" ’ Configure channel 103 for dc voltage ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ Select channel delay and number of readings SendSCPI "ROUT:CHAN:DELAY " & Str$(measurementDelay) SendSCPI "TRIG:COUNT " & Str$(numberMeasurements) ’ Set up the spreadsheet headings Cells(2, 1) = "Chan Delay:" Cells(2, 2) = measurementDelay Cells(2, 3) = "sec" Cells(3, 1) = "Reading #" Cells(3, 2) = "Value"
SendSCPI "INIT" ’ Start the readings and wait for instrument to put Do ’ one reading in memory SendSCPI "DATA:POINTS?" ’ Get the number of readings stored points = Val(getScpi()) Loop Until points >= 1 ’ Remove one reading at a time from memory For I = 1 To numberMeasurements SendSCPI "DATA:REMOVE? 1" ’ Request 1 reading from memory Cells(I + 3, 1) = I ’ The reading number Cells(I + 3, 2) = Val(getScpi()) ’ The reading value Do ’ Wait for instrument to put another reading in memory SendSCPI "DATA:POINTS?" ’ Get the number of readings stored points = Val(getScpi()) Loop Until points >= 1 Or I >= numberMeasurements Next I ClosePort ’ Close communications on GPIB End Sub

Chapter 7 Application Programs Example Programs for Excel 7.0
Option Explicit ’ Declarations for VISA.DLL ’ Basic I/O Operations Private Declare Function viOpenDefaultRM Lib "VISA32.DLL" Alias "#141" (sesn As Long) As Long Private Declare Function viOpen Lib "VISA32.DLL" Alias "#131" (ByVal sesn As Long, _ ByVal desc As String, ByVal mode As Long, ByVal TimeOut As Long, vi As Long) As Long Private Declare Function viClose Lib "VISA32.DLL" Alias "#132" (ByVal vi As Long) As Long Private Declare Function viRead Lib "VISA32.DLL" Alias "#256" (ByVal vi As Long, _ ByVal Buffer As String, ByVal Count As Long, retCount As Long) As Long Private Declare Function viWrite Lib "VISA32.DLL" Alias "#257" (ByVal vi As Long, _ ByVal Buffer As String, ByVal Count As Long, retCount As Long) As Long
’ Error Codes Global Const VI_SUCCESS = 0 ’ Global Variables Global videfaultRM As Long ’ Resource manager id for VISA GPIB Global vi As Long ’ Stores the session for VISA Dim errorStatus As Long ’ VTL error code Global VISAaddr As String
’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ This routine requires the file ’VISA32.DLL’ which typically resides in the ’ c:\windows\system directory on your PC. This routine uses the VTL Library to send ’ commands to the instrument. A description of these and additional VTL commands can be ’ found in the Agilent VISA User’s Guide. ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Public Sub SendSCPI(SCPICmd As String) ’ This routine sends a SCPI command string to the GPIB port. If the command is a ’ query command (contains a question mark), you must read the response with ’getScpi’
Dim commandstr As String ’ Command passed to instrument Dim actual As Long ’ Number of characters sent/returned
’Write the command to the instrument terminated by a line feed commandstr = SCPICmd & Chr$(10) errorStatus = viWrite(vi, ByVal commandstr, Len(commandstr), actual) End Sub
Function getScpi() As String Dim readbuf As String * 2048 ’ Buffer used for returned string Dim replyString As String ’ Store the string returned Dim nulpos As Integer ’ Location of any nul’s in readbuf Dim actual As Long ’ Number of characters sent/returned
’ Read the response string errorStatus = viRead(vi, ByVal readbuf, 2048, actual) replyString = readbuf ’ Strip out any nul’s from the response string nulpos = InStr(replyString, Chr$(0)) If nulpos Then replyString = Left(replyString, nulpos - 1) End If getScpi = replyString End Function
Continued on next page

Chapter 7 Application Programs Example Programs for Excel 7.0
Sub OpenPort() ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ Be sure that the GPIB address has been set in the ’VISAaddr’ variable ’ before calling this routine. ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ Open the VISA session errorStatus = viOpenDefaultRM(videfaultRM) ’ Open communications to the instrument errorStatus = viOpen(videfaultRM, "GPIB0::" & VISAaddr & "::INSTR", 0, 2500, vi) ’ If an error occurs, give a message If errorStatus < VI_SUCCESS Then Range("A2").Select Cells(1, 1) = "Unable to Open Port" End If End Sub
Sub ClosePort() errorStatus = viClose(vi) ’ Close the session errorStatus = viClose(videfaultRM) End Sub
’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ This subroutine is used to create delays. The input is in seconds and ’ fractional seconds are allowed. ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Sub delay(delay_time As Single) Dim Finish As Single Finish = Timer + delay_time Do Loop Until Finish

Chapter 7 Application Programs Example Programs for Excel 7.0
’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ This Excel Macro (Visual Basic) configures the 34970A for scanning with the 34901A, ’ 34902A, or 34908A multiplexer modules. When this subroutine is executed, it will ’ scan 5 channels and display the readings on a spreadsheet. You can easily modify the ’ channels in the scan list, number of scans, channel delay, and scan delay. To make these ’ changes, modify the code in the section titled ’SET UP’. Note that you must have one of ’ the above modules installed in slot 100 for this program to run properly. You must also ’ have an GPIB interface card installed in your PC with the VISA or VTL library. ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ Option Explicit Sub ScanChannels() Dim columnIndex As Integer ’ The column number of the data ’ "1" indicates the first data column Dim numberScans As Integer ’ Total number of scans Dim numberChannels As Integer ’ Total number of scanned channels Dim ScanInterval As Single ’ Time interval in seconds between scans Dim points As Integer ’ Reading count in instrument memory Dim replyString As String ’ Store the string returned from instrument Dim scanList As String ’ List of channels included in scan Dim channelDelay As Single ’ Delay between relay closure and measurement Dim Channel As Integer Range("a1:ba40").ClearContents ’ Clear the spreadsheet ’ ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ To change the GPIB address, modify the variable ’VISAaddr’ below. VISAaddr = "9" OpenPort ’ Open communications on GPIB SendSCPI "*RST" ’ Issue a Factory Reset to the instrument ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ’ SET UP: Modify this section to select the scan interval, the scan count, ’ and channel delay. ’ ’ These are variables that are used to set the scan parameters ScanInterval = 10 ’ Delay (in secs) between scans numberScans = 3 ’ Number of scan sweeps to measure channelDelay = 0.1 ’ Delay (in secs) between relay closure and measurement ’ To delete channels from the scan list, modify the scan list string variable ’ ’scanList’ below. To add channels to the scan list, modify ’scanList’ and then ’ configure the channel using the CONFigure command. ’ ’ ’scanList’ is the list of channels in the scan list; note that this does not have ’ to include all configured channels in the instrument. scanList = "(@101,102,110:112)" SendSCPI "CONF:TEMP TC,T,(@101)" ’ Configure channel 101 for temperature SendSCPI "CONF:TEMP TC,K,(@102)" ’ Configure channel 102 for temperature SendSCPI "CONF:TEMP THER,5000,(@103)" ’ Configure channel 103 for temperature SendSCPI "CONF:VOLT:DC (@110,111,112)" ’ Configure three channels for dc volts ’"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" SendSCPI "ROUTE:SCAN " & scanList ’ Select the list of channels to scan SendSCPI "ROUTE:SCAN:SIZE?" ’ Query the number of channels in scan list and numberChannels = Val(GetSCPI()) ’ set variable equal to number of channels SendSCPI "FORMAT:READING:CHAN ON" ’ Return channel number with each reading SendSCPI "FORMAT:READING:TIME ON" ’ Return time stamp with each reading ’ Set the delay (in seconds) between relay closure and measurement SendSCPI "ROUT:CHAN:DELAY " & Str$(channelDelay) & "," & scanList
Continued on next page

Chapter 7 Application Programs Example Programs for Excel 7.0
’ Set up the scan trigger parameters after configuring the channels in the scan list ’ using the CONFigure command. The following commands configure the scan interval. SendSCPI "TRIG:COUNT " & Str$(numberScans) SendSCPI "TRIG:SOUR TIMER" SendSCPI "TRIG:TIMER " & Str$(ScanInterval) Cells(2, 1) = "Start Time" ’ Put headings on spreadsheet Cells(4, 1) = "Channel" ’ Put headings on spreadsheet ’ Start the scan and retrieve the scan start time SendSCPI "INIT;:SYSTEM:TIME:SCAN?" replyString = GetSCPI() ’ Put time into string variable ’ Convert the time to Excel format and put into cells B2 and C2 Cells(2, 2) = ConvertTime(replyString) Cells(2, 3) = Cells(2, 2) Cells(2, 3).NumberFormat = "d-mmm-yy" ’ Format for date Cells(2, 2).NumberFormat = "hh:mm:ss" ’ Format for time Range("a1:ba1").ClearContents ’ Clear out row 1 ’ Step through the number of scan sweeps For columnIndex = 1 To numberScans ’ Start of scan data Do ’ Wait for instrument to put a reading in memory SendSCPI "DATA:POINTS?" ’ Get the number of readings stored points = Val(GetSCPI()) Loop Until points >= 1 ’ Remove one reading at a time from memory For Channel = 1 To numberChannels SendSCPI "DATA:REMOVE? 1" ’ Request one reading from memory Application.ScreenUpdating = False ’ Get readings from buffer and store in cell A1 Cells(1, 1) = GetSCPI() ’ Parse the string in cell A1 and put into row ’1’ Range("a1").TextToColumns Destination:=Range("a1"), comma:=True ’ Call routine to organize the data in row 1 into a table makeDataTable Channel, columnIndex Range("a1:ba1").ClearContents ’ Clear out row 1 Application.ScreenUpdating = True Do ’ Wait for instrument to put another reading in memory SendSCPI "DATA:POINTS?" ’ Get the number of readings stored points = Val(GetSCPI()) Loop Until points >= 1 Or Channel >= numberChannels Next Channel Next columnIndex ClosePort ’ Close communications on GPIB End Sub
Continued on next page

Chapter 7 Application Programs Example Programs for Excel 7.0
Sub makeDataTable(Channel As Integer, columnIndex As Integer) ’ This routine will take the parsed data in row ’1’ for a channel and put it into a ’ table. ’Channel’ determines the row of the table and ’columnIndex’ determines the ’ column (scan sweep count). ’ The number of comma-delimited fields returned per channel is determined by the ’ FORMat:READing commands. The number of fields per channel is required to locate ’ the data in row 1. In this example, there are three cells (fields) per channel. ’ Set up the heading while scanning the first channel. If Channel = 1 Then ’ Label the top of the data column and time stamp column Cells(4, columnIndex * 2) = "Scan " & Str(columnIndex) Cells(4, columnIndex * 2).Font.Bold = True Cells(3, columnIndex * 2 + 1) = "time stamp" Cells(4, columnIndex * 2 + 1) = "min:sec" End If ’ Get channel number, put in column ’A’ for first scan only If columnIndex = 1 Then Cells(Channel + 4, 1) = Cells(1, 3) End If ’ Get the reading data and put into the column Cells(Channel + 4, columnIndex * 2) = Cells(1, 1) ’ Get the time stamp and put into the column to the right of data; to convert relative ’ time to Excel time, divide by 86400. Cells(Channel + 4, columnIndex * 2 + 1) = Cells(1, 2) / 86400 Cells(Channel + 4, columnIndex * 2 + 1).NumberFormat = "mm:ss.0" End Sub
Function ConvertTime(TimeString As String) As Date ’ This routine will take the string returned from the SYSTem:TIME:SCAN? command and ’ return a number compatible with the Excel format. When loaded into a cell, it can ’ be formatted using the Excel ’Format’ menu. Dim timeNumber As Date ’ Decimal or time portion of the number Dim dateNumber As Date ’ Integer or date portion of the number Cells(1, 1).ClearContents Cells(1, 1) = TimeString Range("a1").TextToColumns Destination:=Range("a1"), comma:=True dateNumber = DateSerial(Cells(1, 1), Cells(1, 2), Cells(1, 3)) timeNumber = TimeSerial(Cells(1, 4), Cells(1, 5), Cells(1, 6)) ConvertTime = dateNumber + timeNumber End Function
Sub GetErrors() ’ Call this routine to check for instrument errors. The GPIB address variable ’ ’VISAaddr’ must be set. Dim DataString As String OpenPort SendSCPI "SYSTEM:ERROR?" ’ Read one error from the error queue Delay (0.1) DataString = GetSCPI() MsgBox DataString ClosePort End Sub 7

Chapter 7 Application Programs Example Programs for C and C++
The following C programming examples show you how to send and receive formatted I/O. For more information on non-formatted I/O, refer to the Agilent VISA User’s Guide. The examples in this section show you how to use the SCPI commands for the instrument with the VISA functionality and does not include error trapping. Error trapping, however, is good programming practice and is recommended for your application. For more information on error trapping, refer to the Agilent VISA User’s Guide.
The example programs are written in Microsoft® Visual C++ Version 1.52 using project type “QuickWin application”, and using the large memory model. Be sure to have access in the project to visa.lib or visa32.lib usually found in the c:\vxipnp or c:\visa directory.

Chapter 7 Application Programs Example Programs for C and C++
/* dac_out.c /*************************************************************************** * Required: 34907A Multifunction Module in slot 200; VISA library * * This program uses the VISA library to communicate with the 34970A. * * The program queries slot 200 and displays the response. It then resets * * the instrument and sends the value ’voltage’ to the DAC on channel 205. * ****************************************************************************/
#include #include #include #define ADDR "9" /* Set GPIB address for instrument */
void main () { ViSession defaultRM; /* Resource manager id */ ViSession dac; /* Identifies instrument */ char reply_string [256]; /* String returned from instrument */ char Visa_address[40]; /* VISA address sent to module */ double voltage; /* Value of voltage sent to DAC */ /* Build the address required to open communication with GPIB card. The address format looks like this "GPIB0::9::INSTR". */ strcpy(Visa_address,"GPIB0::"); strcat(Visa_address, ADDR); strcat(Visa_address, "::INSTR");
/* Open communication (session) with the 34970A */
viOpenDefaultRM (&defaultRM); viOpen (defaultRM, Visa_address,VI_NULL,VI_NULL, &dac); /* Query the module id in slot 200; Read response and print. */ viPrintf (dac, "SYST:CTYPE? 200\n"); viScanf (dac, "%s", &reply_string); printf("Instrument identification string:\n %s\n\n", reply_string); viPrintf (dac, "*RST\n"); /* Set power-on condition */ voltage = 5; /* Set variable to voltage setting */ viPrintf (dac, "SOURCE:VOLTAGE %f,(@205)\n",voltage); /* Set output voltage */ /* Close communication session */ viClose (dac); viClose (defaultRM); }

Chapter 7 Application Programs Example Programs for C and C++
/* stat_reg.c /***************************************************************************** * Required: VISA library. * * This program demonstrates the use of the 34970A Status Registers * * for an alarm and Operation Complete (OPC) and for enabling and receiving * * an SRQ interrupt. This program also shows how to configure a scan for * * 10 readings on one channel. * ******************************************************************************/
#include #include #include
ViSession defaultRM; /* Resource manager id */ ViSession DataAcqu; /* Variable to identify an instrument */ char reply_string [256]= {0}; /* string returned from instrument */ double volt [10]; int index, count; int srqFlag = {0};
/* Function prototypes for SRQ handler */ ViStatus _VI_FUNCH SRQ_handler(ViSession DataAcqu, ViEventType eventType, ViEvent context,ViAddr userHdlr); void main ()
{ /* Open communication with DataAcqu using GPIB address "9" */ viOpenDefaultRM (&defaultRM); viOpen (defaultRM,"GPIB0::9::INSTR",VI_NULL,VI_NULL, &DataAcqu);
/* Reset instrument to power-on and clear the Status Byte */ viPrintf (DataAcqu, "*RST;*CLS\n"); /* Configure the Status Registers to generate an interrupt whenever an alarm is detected on Alarm 1 or when the operation is complete */ viPrintf (DataAcqu, "STATUS:ALARM:ENABLE 1\n"); /* Enable Alarm 1 */ viPrintf (DataAcqu, "*ESE 1\n"); /* Enable the Operation Complete bit */ /* Enable Status Byte Register bit 1 (2) and 5 (32) for SRQ */ viPrintf (DataAcqu, "*SRE 34\n"); /* Enable the interrupt handler for SRQ from the instrument */
viInstallHandler(DataAcqu, VI_EVENT_SERVICE_REQ, SRQ_handler, (ViAddr)10); viEnableEvent(DataAcqu,VI_EVENT_SERVICE_REQ, VI_HNDLR, VI_NULL); /* Configure the instrument to take 10 dc voltage readings on channel 103. Set the alarm and set SRQ if the voltage is greater than 5 volts.*/ viPrintf (DataAcqu, "CONF:VOLT:DC 10,(@103)\n"); viPrintf (DataAcqu, "TRIG:SOURCE TIMER\n"); viPrintf (DataAcqu, "TRIG:TIMER 1\n"); viPrintf (DataAcqu, "TRIG:COUNT 10\n"); viPrintf (DataAcqu, "CALC:LIMIT:UPPER 5,(@103)\n"); viPrintf (DataAcqu, "CALC:LIMIT:UPPER:STATE ON,(@103)\n"); viPrintf (DataAcqu, "OUTPUT:ALARM1:SOURCE (@103)\n"); viPrintf (DataAcqu, "INIT;*OPC\n"); /* Wait for the instrument to complete its operations so waste time and stay in the program in case there is an SRQ */
Continued on next page

Chapter 7 Application Programs Example Programs for C and C++
do{ /* Stay in loop until the srqFlag goes negative */ index = 1; for (count = 0; count =0); /* A negative srqFlag indicates scan is done */ /* The instrument is done, so close the SRQ handler */ viDisableEvent(DataAcqu,VI_EVENT_SERVICE_REQ,VI_HNDLR); viUninstallHandler (DataAcqu,VI_EVENT_SERVICE_REQ,SRQ_handler,(ViAddr)10); viPrintf (DataAcqu,"FETCH?\n"); /* Get all the readings */ viScanf(DataAcqu,"%,10lf",&volt); /* Put readings into an array */ for (index = 0;index
{ ViUInt16 statusByte; viReadSTB(DataAcqu,&statusByte); /* Read status byte register and clear SRQ */ /* Bit 6 (64) indicates this SRQ is for our instrument, bit 1 (2) indicates an alarm, and bit 5 (32) indicates the standard event register; so alarm 64+2=66; OPC 64+32=96; both 64+32+2=98 */
srqFlag = 1; /* Set flag to indicate this is an alarm */ viPrintf (DataAcqu,"STATUS:ALARM:EVENT?\n"); /* Check and clear alarm */ viScanf(DataAcqu,"%s",&reply_string); printf("alarm event; bit = %s\n",reply_string); } if ((statusByte==96)|(statusByte==98)){
srqFlag = -1; /* Set flag to indicate end of operation */
viPrintf (DataAcqu,"*ESR?\n"); /* Check and clear ESR bit */ viScanf(DataAcqu,"%s",&reply_string); printf("Standard Event Register; bit %s\n",reply_string);
} return VI_SUCCESS; }
if ((statusByte==66)|(statusByte==98)){




This chapter describes methods that you can use to reduce errors that can affect your measurements. You will also find information to help you better understand how the 34970A makes measurements and what you can do to get the best results. This chapter is divided into the following sections:

Chapter 8 Tutorial System Cabling and Connections
This section describes methods to reduce measurement errors that can be introduced by your system cabling. Many system cabling errors can be reduced or eliminated by selecting the proper cable and grounding scheme for your system.
A wide variety of general-purpose and custom cables are available. The following factors influence the type of cable that you choose.
Cables are specified in a variety of ways. Be sure to check the following specifications for the cable type you intend to use (continued on the following page).

Chapter 8 Tutorial System Cabling and Connections
Ω / ft (2 conductors)
at 25 °C
14 16 18 20 *
5 mΩ 10 mΩ 15 mΩ 20 mΩ 30 mΩ 50 mΩ
* Recommended wire size for the screw terminals on 34970A plug-in modules.
The table below lists typical cable specifications.
Cable Type Nominal Impedance Capacitance Attenuation Twisted Pair 100Ω at 1 MHz 10 to 20 pF/ft Up to 1 dB/100 ft at 1 MHz
Shielded Twisted Pair 100Ω at 1 MHz 10 to 20 pF/ft Up to 1 dB/100 ft at 1 MHz
Coaxial 50Ω or 75Ω at 100 MHz 15 to 25 pF/ft Up to 6 dB/100 ft at 100 MHz
Twisted Pair Ribbon 100Ω at 1 MHz 15 to 20 pF/ft Up to 1 dB/100 ft at 1 MHz

Chapter 8 Tutorial System Cabling and Connections
One purpose of grounding is to avoid ground loops and minimize noise. Most systems should have at least three separate ground returns.
In general, for frequencies below 1 MHz or for low-level signals, use single-point grounding (see below). Parallel grounding is superior but is also more expensive and more difficult to wire. If single-point grounding is adequate, the most critical points (those with the lowest levels and/or the most precise measurement requirements) should be positioned near the primary ground point. For frequencies above 10 MHz, use the separate grounding system. For signals between 1 MHz and 10 MHz, you can use a single-point system if the longest ground return path is kept to less than 1/20 of a wavelength. In all cases, return-path resistance and inductance should be minimized.

Circuit A Circuit B Circuit C Circuit A Circuit B Circuit C
Circuit A Circuit B Circuit C
Single-Point Ground · Parallel Grounds · Separate Grounds

Chapter 8 Tutorial System Cabling and Connections
Shielding against noise must address both capacitive (electrical) and inductive (magnetic) coupling. The addition of a grounded shield around the conductor is highly effective against capacitive coupling. In switching networks, this shielding often takes the form of coaxial cables and connectors. For frequencies above 100 MHz, double-shielded coaxial cable is recommended to maximize shielding effectiveness.
Reducing loop area is the most effective method to shield against magnetic coupling. Below a few hundred kilohertz, twisted pairs may be used against magnetic coupling. Use shielded twisted pair for immunity from magnetic and capacitive pickup. For maximum protection below 1 MHz, make sure that the shield is not one of the signal conductors.
Shield Braid Shield Foil
Signals whose levels exceed a 20-to-1 ratio should be physically separated as much as possible. The entire signal path should be examined including cabling and adjacent connections. All unused lines should be grounded (or tied to LO) and placed between sensitive signal paths. When making your wiring connections to the screw terminals on the module, be sure to wire like functions on adjacent channels.
Center Conductor · Shield Twisted Pair · PVC Jacket

Chapter 8 Tutorial System Cabling and Connections
Radio Frequency Interference Most voltage-measuring instruments can generate false readings in the presence of large, high-frequency signals. Possible sources of high-frequency signals include nearby radio and television transmitters, computer monitors, and cellular telephones. High-frequency energy can also be coupled to the internal DMM on the system cabling. To reduce the interference, try to minimize the exposure of the system cabling to high-frequency RF sources.
If your application is extremely sensitive to RFI radiated from the instrument, use a common mode choke in the system cabling as shown below to attenuate instrument emissions.


Chapter 8 Tutorial System Cabling and Connections
Thermal EMF Errors Thermoelectric voltages are the most common source of error in low-level dc voltage measurements. Thermoelectric voltages are generated when you make circuit connections using dissimilar metals at different temperatures. Each metal-to-metal junction forms a thermocouple, which generates a voltage proportional to the junction temperature difference. You should take the necessary precautions to minimize thermocouple voltages and temperature variations in low-level voltage measurements. The best connections are formed using copper-to-copper crimped connections. The table below shows common thermoelectric voltages for connections between dissimilar metals.
Copper-to- Approx. µV / °C
Copper Gold Silver Brass Beryllium Copper Aluminum Kovar or Alloy 42 Silicon Copper-Oxide Cadmium-Tin Solder Tin-Lead Solder
0.5 0.5 3 5 5 40 500 1000 0.2 5
Noise Caused by Magnetic Fields If you are making measurements near magnetic fields, you should take precautions to avoid inducing voltages in the measurement connections. Voltage can be induced by either movement of the input connection wiring in a fixed magnetic field or by a varying magnetic field. An unshielded, poorly dressed input wire moving in the earth’s magnetic field can generate several millivolts. The varying magnetic field around the ac power line can also induce voltages up to several hundred millivolts. You should be especially careful when working near conductors carrying large currents.
Where possible, you should route cabling away from magnetic fields. Magnetic fields are commonly present around electric motors, generators, televisions, and computer monitors. Also make sure that your input wiring has proper strain relief and is tied down securely when operating near magnetic fields. Use twisted-pair connections to the instrument to reduce the noise pickup loop area, or dress the wires as close together as possible.

Chapter 8 Tutorial System Cabling and Connections
Noise Caused by Ground Loops When measuring voltages in circuits where the internal DMM and the device-under-test are both referenced to a common earth ground, a ground loop is formed. As shown below, any voltage difference between the two ground reference points (Vground) causes a current to flow through the LO measurement lead. This causes an error voltage (VL) which is added to the measured voltage.

Where: RL = Lead resistance Ri = DMM isolation resistance Ci = DMM isolation capacitance Vground = Ground noise voltage
Vground RL + Z
I = Current flow caused by Vground =
Z ≈ ZCi = 1 2 π f C ≈ 10 MΩ at 50 or 60 Hz
VL = I x RL
To minimize ground loop errors:

Chapter 8 Tutorial System Cabling and Connections
Low-Level AC Measurement Errors When measuring ac voltages less than 100 mV, be aware that these measurements are especially susceptible to errors introduced by extraneous noise sources. An exposed test lead will act as an antenna and the internal DMM will measure the signals received. The entire measurement path, including the power line, act as a loop antenna. Circulating currents in the loop will create error voltages across any impedances in series with the instrument’s input. For this reason, you should apply low-level ac voltages to the instrument through shielded cables. You should also connect the shield to the input LO terminal.
Be sure to minimize the area of any ground loops that cannot be avoided. A high-impedance source is more susceptible to noise pickup than a low-impedance source. You can reduce the high-frequency impedance of a source by placing a capacitor in parallel with the instrument’s input terminals. You may have to experiment to determine the correct capacitance value for your application.
Most extraneous noise is not correlated with the input signal. You can determine the error as shown below.
Voltage Measured = √ Vin 2 + Noise 2
Correlated noise, while rare, is especially detrimental. Correlated noise will always add directly to the input signal. Measuring a low-level signal with the same frequency as the local power line is a common situation that is prone to this error.
You should use caution when switching high-level and low-level signals on the same module. It is possible that high-level charged voltages may be discharged onto a low-level channel. It is recommended that you either use two different modules or separate the high-level signals from the low-level signals with an unused channel connected to ground.

Chapter 8 Tutorial Measurement Fundamentals
This section explains how the 34970A makes measurements and discusses the most common sources of error related to these measurements.
The internal DMM provides a universal input front-end for measuring a variety of transducer types without the need for additional external signal conditioning. The internal DMM includes signal conditioning, amplification (or attenuation), and a high resolution (up to 22 bits) analog-to-digital converter. A simplified diagram of the internal DMM is shown below. For complete details on the operation of the internal DMM, refer to “Measurement Input” on page 60.
To / From Earth Referenced Section
Signal Conditioning Amp Main Processor
The internal DMM can directly make the following types of measurements. Each of these measurements is described in the following sections of this chapter.

Chapter 8 Tutorial Measurement Fundamentals
Rejecting Power-Line Noise Voltages A desirable characteristic of an integrating analog-to-digital (A/D) converter is its ability to reject spurious signals. Integrating techniques reject power-line related noise present with dc signals on the input. This is called normal mode rejection or NMR. Normal mode noise rejection is achieved when the internal DMM measures the average of the input by “integrating” it over a fixed period. If you set the integration time to a whole number of power line cycles (PLCs) of the spurious input, these errors (and their harmonics) will average out to approximately zero.
When you apply power to the internal DMM, it measures the power-line frequency (50 Hz or 60 Hz), and uses this measurement to determine the integration time. The table below shows the noise rejection achieved with various configurations. For better resolution and increased noise rejection, select a longer integration time.
60 Hz (50 Hz) NMR
0.02 0.2 1 2 10 20 100 200
41⁄2 51⁄2 51⁄2 61⁄2
15 18 20 21 24 25 26 26
400 µs (400 µs) 3 ms (3 ms) 16.7 ms (20 ms) 33.3 ms (40 ms) 167 ms (200 ms) 333 ms (400 ms) 1.67 s (2 s) 3.33 s (4 s)
0 dB 0 dB 60 dB 90 dB 95 dB 100 dB 105 dB 110 dB
The following graph shows the attenuation of ac signals measured in the dc voltage function for various A/D integration time settings. Note that signal frequencies at multiples of 1/T exhibit high attenuation.

0.1 1 10
Signal Frequency x T

Chapter 8 Tutorial Measurement Fundamentals
A temperature transducer measurement is typically either a resistance or voltage measurement converted to an equivalent temperature by software conversion routines inside the instrument. The mathematical conversion is based on specific properties of the various transducers. The mathematical conversion accuracy (not including the transducer accuracy) for each transducer type is shown below.
0.05 °C 0.02 °C 0.05 °C
Errors associated with temperature measurements include all of those listed for dc voltage and resistance measurements elsewhere in this chapter. The largest source of error in temperature measurements is generally the transducer itself.
Your measurement requirements will help you to determine which temperature transducer type to use. Each transducer type has a particular temperature range, accuracy, and cost. The table below summarizes some typical specifications for each transducer type. Use this information to help select the transducer for your application. The transducer manufacturers can provide you with exact specifications for a particular transducer.
Parameter Thermocouple RTD Thermistor Temperature Range
-210°C to 1820°C
-200°C to 850°C
-80°C to 150°C
6 µV/°C to 60 µV/°C
≈ R0 x 0.004 °C
0.5 °C to 5 °C
0.01 °C to 0.1 °C
0.1 °C to 1 °C
Cost (U.S. Dollars)
$20 to $100 each
$10 to $100 each

Chapter 8 Tutorial Measurement Fundamentals
RTD Measurements An RTD is constructed of a metal (typically platinum) that changes resistance with a change in temperature in a precisely known way. The internal DMM measures the resistance of the RTD and then calculates the equivalent temperature.
An RTD has the highest stability of the temperature transducers. The output from an RTD is also very linear. This makes an RTD a good choice for high-accuracy, long-term measurements. The 34970A supports RTDs with α = 0.00385 (DIN / IEC 751) using ITS-90 software conversions and α = 0.00391 using IPTS-68 software conversions. “PT100” is a special label that is sometimes used to refer to an RTD with α = 0.00385 and R0 = 100Ω.
The resistance of an RTD is nominal at 0 °C and is referred to as R0. The 34970A can measure RTDs with R0 values from 49Ω to 2.1 kΩ.
You can measure RTDs using a 2-wire or 4-wire measurement method. The 4-wire method (with offset compensation) provides the most accurate way to measure small resistances. Connection lead resistance is automatically removed using the 4-wire method.
Thermistor Measurements A thermistor is constructed of materials that non-linearly changes resistance with changes in temperature. The internal DMM measures the resistance of the thermistor and then calculates the equivalent temperature.
Thermistors have a higher sensitivity than thermocouples or RTDs. This makes a thermistor a good choice when measuring very small changes in temperature. Thermistors are, however, very non-linear, especially at high temperatures and function best below 100 °C.
Because of their high resistance, thermistors can be measured using a 2-wire measurement method. The internal DMM supports 2.2 kΩ (44004), 5 kΩ (44007), and 10 kΩ (44006) thermistors. The thermistor conversion routines used by the 34970A are compatible with the International Temperature Scale of 1990 (ITS-90).

Chapter 8 Tutorial Measurement Fundamentals
Thermocouple Measurements A thermocouple converts temperature to voltage. When two wires composed of dissimilar metals are joined, a voltage is generated. The voltage is a function of the junction temperature and the types of metals in the thermocouple wire. Since the temperature characteristics of many dissimilar metals are well known, a conversion from the voltage generated to the temperature of the junction can be made. For example, a voltage measurement of a T-type thermocouple (made of copper and constantan wire) might look like this:

If the temperature of the thermocouple created at J2 (the LO input terminal) is known, the temperature of the T-type thermocouple can be calculated. One way to do this is to connect two T-type thermocouples together to create only copper-to-copper connections at the internal DMM’s input terminals, and to hold the second thermocouple at a known temperature.
Internal DMM

Chapter 8 Tutorial Measurement Fundamentals
An ice bath is used to create a known reference temperature (0 °C). Once the reference temperature and thermocouple type are known, the temperature of the measurement thermocouple can be calculated.

The T-type thermocouple is a unique case since one of the conductors (copper) is the same metal as the internal DMM’s input terminals. If another type of thermocouple is used, two additional thermocouples are created. For example, take a look at the connections with a J-type thermocouple (iron and constantan):


Two additional thermocouples have been created where the iron (Fe) lead connects to the internal DMM’s copper (Cu) input terminals. Since these two junctions will generate opposing voltages, their effect will be to cancel each other. However, if the input terminals are not at the same temperature, an error will be created in the measurement.
Internal DMM · Internal DMM

Chapter 8 Tutorial Measurement Fundamentals
To make a more accurate measurement, you should extend the copper test leads of the internal DMM closer to the measurement and hold the connections to the thermocouple at the same temperature.

This circuit will give accurate temperature measurements. However, it is not very convenient to make two thermocouple connections and keep all connections at a known temperature. The Law of Intermediate Metals eliminates the need for the extra connection. This empirical law states that a third metal (iron (Fe) in this example) inserted between two dissimilar metals will have no effect upon the output voltage, provided the junctions formed are at the same temperature. Removing the reference thermocouple makes the connections much easier.

This circuit is the best solution for accurate thermocouple connections.

Chapter 8 Tutorial Measurement Fundamentals
In some measurement situations, however, it would be nice to remove the need for an ice bath (or any other fixed external reference). To do this, an isothermal block is used to make the connections. An isothermal block is an electrical insulator, but a good heat conductor. The additional thermocouples created at J1 and J2 are now held at the same temperature by the isothermal block.
Once the temperature of the isothermal block is known, accurate temperature measurements can be made. A temperature sensor is mounted to the isothermal block to measure its temperature.

Isothermal Block (Internal or External Reference)
Thermocouples are available in a variety of types. The type is specified by a single letter. The table on the following page shows the most commonly used thermocouple types and some key characteristics of each.
Measurement Thermocouple

Chapter 8 Tutorial Measurement Fundamentals
T/C Type Pos (+) Lead Neg (-) Lead
Platinum-30% Rhodium Gray N/A Red Red N/A
Platinum-60% Rhodium Red N/A Gray Gray N/A
250°C - 1820°C ±0.5°C High Temperature. Beware of contamination. Do not insert in metal tubes.
B U.S. British
J U.S. British
Iron White Yellow Red Red Yellow
Constantan Red Blue Blue White Black
-210°C - 1200°C ±1.1°C - 2.2°C For vacuum, inert environments. Least expensive. Not recommended for low temperature.
Nickel-Chromium Yellow Brown Red Red Yellow
Nickel-Aluminum Red Blue Green White Purple
K U.S. British
-200°C - 1370°C ±1.1°C - 2.2°C For oxidizing environments. Good linearity above 8 °C.
T U.S. British
Copper Blue White Red Red Yellow
Constantan Red Blue Brown White Blue
-200°C - 400°C ±0.5°C - 1°C Withstands moisture. Has a copper lead. Low temperature applications.
Nickel-Chromium Purple Brown Red Red Yellow
Constantan Red Blue Black White Blue
E U.S. British
-200°C - 1000°C ±1°C - 1.7°C Highest output voltage. Highest resolution.
N U.S. British
Nicrosil Orange N/A
Nisil Red N/A
-200°C - 1300°C ±1.1°C - 2.2 °C Superior stability to K type at higher temperatures.
Platinum-13% Rhodium Black White Red Red Yellow
Rhodium Red Blue White White Green
R U.S. British
-50°C - 1760°C ±0.6°C - 1.5 °C High Temperature. Beware of contamination. Do not insert in metal tubes.
S U.S. British
Platinum-10% Rhodium Black White Red Red Yellow
Platinum Red Blue White White Green
-50°C - 1760 °C ±0.6°C - 1.5 °C Low error, good stability. High temperature. Beware of contamination. Do not insert in metal tubes.
Constantan = Copper-Nickel; Nicrosil = Nickel-Chromium-Silicon; Nisil = Nickel-Silicone-Magnesium; N/A = Not Available

Chapter 8 Tutorial Measurement Fundamentals
Reference Junction Error A thermocouple is typically formed by welding or soldering two wires together to make the junction. Soldering introduces a third metal into the junction. Provided that both sides of the thermocouple are at the same temperature, the third metal has little effect.
Commercial thermocouples are welded using a capacitive-discharge technique. This technique is used to prevent overheating of the thermocouple wire near the junction and to prevent the diffusion of the welding gas and atmosphere into the thermocouple wire.
A poor weld or bad solder connection can also cause errors in a thermocouple measurement. Open thermocouple junctions can be detected by checking the resistance of the thermocouple. A resistance measurement of more than 5 kΩ typically indicates a defective thermocouple. The 34970A contains a built-in, automatic thermocouple check feature. If you enable this feature, the instrument measures the channel resistance after each thermocouple measurement to ensure a proper connection. For more information on using the thermocouple check feature, see page 107.
Diffusion Error Diffusion in a thermocouple wire is the process of changing the alloy type along the wire itself. Atmospheric particles can actually diffuse into the metal. These changes in the wire alloy introduce small voltage changes in the measurement. Diffusion is caused by exposure to high temperatures along the wire or by physical stress to the wire such as stretching or vibration.
Temperature errors due to diffusion are hard to detect since the thermocouple will still respond to temperature changes and give nearly correct results. The diffusion effects are usually detected as a drift in the temperature measurements.
Replacing a thermocouple which exhibits a diffusion error may not correct the problem. The extension wire and connections are all subject to diffusion. Examine the entire measurement path for signs of temperature extremes or physical stress. If possible, keep the temperature gradient across the extension wire to a minimum.

Chapter 8 Tutorial Measurement Fundamentals
Shunt Impedance The insulation used for thermocouple wire and extension wire can be degraded by high temperatures or corrosive atmospheres. These breakdowns appear as a resistance in parallel with the thermocouple junction. This is especially apparent in systems using a small gauge wire where the series resistance of the wire is high.
Shielding Shielding reduces the effect of common mode noise on a thermocouple measurement. Common mode noise is generated by sources such as power lines and electrical motors. The noise is coupled to the unshielded thermocouple wires through distributed capacitance. As the induced current flows to ground through the internal DMM, voltage errors are generated along the distributed resistance of the thermocouple wire. Adding a shield to the thermocouple wire will shunt the common mode noise to earth ground and preserve the measurement.
R R R
R R R
LO
WITHOUT SHIELD
HI
LO
WITH SHIELD
DMM
Common mode noise can dramatically affect the internal DMM. A typical thermocouple output is a few millivolts and a few millivolts of common mode noise can overload the input to the internal DMM.
Calculation Error An error is inherent in the way a thermocouple voltage is converted to a temperature. These calculation errors are typically very small compared to the errors of the thermocouple, wiring connections, and reference junction (see page 345).

Chapter 8 Tutorial Measurement Fundamentals
To make a useful dc meter, a “front-end” is required to condition the input before the analog-to-digital conversion. Signal conditioning increases the input resistance, amplifies small signals, and attenuates large signals to produce a selection of measuring ranges.
Signal Conditioning for DC Measurements Input signal conditioning for dc voltage measurements includes both amplification and attenuation. A simplified input to the internal DMM is shown below.

+/- 12 Vdc to Analog-to-Digital Converter
For input voltages less than 12 Vdc, the Low V switch is closed and applies the input signal directly to the input amplifier. For higher voltages, the High V switch is closed and the signal is attenuated 100:1 before being applied to the input amplifier. The input amplifier gain is set to one of three values (x1, x10, or x100) to yield a signal in the range of ±12 Vdc for the analog-to-digital converter.
For the lower voltage ranges, the internal DMM’s input resistance is essentially that of the input amplifier. The input amplifier uses a low-bias current (less than 50 pA) FET input stage yielding an input resistance greater than 10 GΩ. On the 100V and 300V input ranges, the input resistance is determined by the total resistance of the 100:1 divider. You can also set the input resistance to 10 MΩ by continuously closing the High V switch (for more information on dc input resistance, see page 113).
Ranging

Chapter 8 Tutorial Measurement Fundamentals
Common Mode Rejection Ideally, the internal DMM is completely isolated from earth-referenced circuits. However, there is finite resistance and capacitance between the input LO terminal and earth ground. If the input terminals are both driven by an earth-referenced signal (Vf) then a current will flow through RS and create a voltage drop VL as shown below.
Any resulting voltage (VL) will appear as an input to the internal DMM. As the value of RS approaches zero, so does the error. Additionally, if Vf is at the power line frequency (50 Hz or 60 Hz), the noise can be greatly reduced by setting the internal DMM’s integration time to 1 PLC or greater (see page 103 for a discussion of integration time).

Where: Vf = Common mode float voltage Rs = LO lead resistance Ri = Isolation resistance Ci = Isolation capacitance Zi = Parallel impedance of Ri + Ci
Vf x RS
Error (VL) =
Vtest · Vf

Chapter 8 Tutorial Measurement Fundamentals
Noise Caused by Injected Current Residual capacitances in the instrument’s power transformer cause small currents to flow from the LO terminal of the internal DMM to earth ground. The frequency of the “injected current” is the power line frequency or possibly harmonics of the power line frequency. The injected current is dependent upon the power line configuration and frequency. A simplified circuit is shown below.
DMM
LO
Injected Current (50 / 60 Hz ac line leakage current)
With Connection A (see below), the injected current flows from the earth connection provided by the circuit to the LO terminal of the internal DMM. This configuration adds no noise to the measurement. However, with Connection B, the injected current flows through the resistor R thus adding noise to the measurement. With Connection B, larger values of R will make the problem worse.
R
HI
HI
DMM DMM V S
V S
LO
LO
Connection A Connection B
The measurement noise caused by injected current can be significantly reduced by setting the integration time of the internal DMM to 1 PLC or greater (see page 103 for a discussion of integration time).

Chapter 8 Tutorial Measurement Fundamentals
Loading Errors Due to Input Resistance Measurement loading errors occur when the resistance of the device-under-test (DUT) is an appreciable percentage of the instrument’s own input resistance. The diagram below shows this error source.
HI
V S
LO
Where: Vs = Ideal DUT voltage Rs = DUT source resistance Ri = Input resistance (10 MΩ or >10 GΩ)
−100 x Rs
Rs + Ri
To minimize loading errors, set the DMM’s dc input resistance to greater than 10 GΩ when needed (for more information on dc input resistance, see page 113).
Ri DMM · Error (%) =

Chapter 8 Tutorial Measurement Fundamentals
Loading Errors Due to Input Bias Current The semiconductor devices used in the input circuits of the internal DMM have slight leakage currents called bias currents. The effect of the input bias current is a loading error at the internal DMM’s input terminals. The leakage current will approximately double for every 10 °C temperature rise, thus making the problem much more apparent at higher temperatures.

HI
V S
LO
Where: Ib = DMM bias current Rs = DUT source resistance Ri = Input resistance (10 MΩ or >10 GΩ) Ci = DMM input capacitance
Error (V) = Ib x Rs

Chapter 8 Tutorial Measurement Fundamentals
The main purpose of an ac “front end” is to change an ac voltage input into a dc voltage which can be measured by the ADC.
Signal Conditioning for AC Measurements Input signal conditioning for ac voltage measurements includes both attenuation and amplification. An input coupling capacitor (C) blocks the dc portion of the input signal so that only the ac component is measured. Ranging is accomplished by combining signal attenuation from the first-stage amplifier and gain from the second-stage amplifier.

LO
The first stage implements a high input impedance (1 MΩ) switchable compensated attenuator. The second stage provides variable-gain signal amplification to scale the input to the ac converter to the full-scale level. Any residual dc offset from the attenuator and amplifier stages is blocked by a capacitor.
An ac voltage front end similar to the one discussed above is also used to measure ac current. Shunt resistors convert the ac current into an ac voltage which can then be measured. Current shunts are switched to provide selectable ac current ranges.

Chapter 8 Tutorial Measurement Fundamentals
True RMS AC Measurements True RMS responding multimeters measure the “heating” potential of an applied voltage. Unlike an “average responding” measurement, a true RMS measurement is used to determine the power dissipated in a resistor. The power is proportional to the square of the measured true RMS voltage, independent of waveshape. An average responding ac multimeter is calibrated to read the same as a true RMS meter for sinewave inputs only. For other waveform shapes, an average responding meter will exhibit substantial errors as shown below.
The internal DMM’s ac voltage and ac current functions measure the ac-coupled true RMS value. This is in contrast to the ac+dc true RMS value shown above. Only the “heating value” of the ac component of the input waveform is measured (dc is rejected). For sinewaves, triangle waves, and square waves, the ac and ac+dc values are equal since these waveforms do not contain a dc offset. Non-symmetrical waveforms, such as pulse trains, contain dc voltages which are rejected by ac-coupled true RMS measurements.
An ac-coupled true RMS measurement is desirable in situations where you are measuring small ac signals in the presence of large dc offsets. For example, this situation is common when measuring ac ripple present on dc power supplies. There are situations, however, where you might want to know the ac+dc true RMS value. You can determine this value by combining results from dc and ac measurements as shown below. You should perform the dc measurement using at least 10 power line cycles of integration (61⁄2 digit mode) for best ac rejection.
ac + dc = √ ac 2 + dc 2

Chapter 8 Tutorial Measurement Fundamentals
Making High-Speed AC Measurements The internal DMM’s ac voltage and ac current functions implement three low-frequency filters. These filters allow you to trade-off low frequency accuracy for faster scanning speed. The fast filter settles in 0.12 seconds and is useful for measurements above 200 Hz. The medium filter settles in 1 second and is useful for measurements above 20 Hz. The slow filter settles in 7 seconds and is useful for measurements above 3 Hz.
With a few precautions, you can perform ac measurements at speeds up to 100 readings per second (use manual ranging to eliminate autoranging delays). By setting the preprogrammed channel settling delays to zero, each filter will allow up to 100 channels per second. However, the measurement might not be very accurate since the filter is not fully settled. In scanning applications where sample-to-sample levels vary widely, the medium filter (20 Hz) will settle at 1 reading per second, and the fast filter (200 Hz) will settle at 10 readings per second.
If the sample-to-sample levels are similar, little settling time is required for each new reading. Under this specialized condition, the medium filter (20 Hz) will provide reduced accuracy results at 5 readings per second, and the fast filter (200 Hz) will provide reduced accuracy results at 50 readings per second. Additional settling time may be required when the dc level varies from sample to sample.
The internal DMM’s dc blocking circuitry has a settling time constant of 0.2 seconds. This settling time only affects measurement accuracy when dc offset levels vary from sample to sample. If maximum measurement speed is desired in a scanning system, you may want to add an external dc blocking circuit to those channels with significant dc voltages present. This circuit can be as simple as a resistor and a capacitor.
AC Filter Channel Delay Settling Time
200 Hz (Fast) 20 Hz (Medium) 3 Hz (Slow)
0.12 seconds 1 second 7 seconds
200 Hz (Fast) 20 Hz (Medium) 3 Hz (Slow)
0.02 seconds 0.2 seconds 1.5 seconds

Chapter 8 Tutorial Measurement Fundamentals
Many of the errors associated with dc voltage measurements also apply to ac voltage measurements. Additional errors unique to ac voltage measurements are described in this section.
Crest Factor Errors (non-sinusoidal inputs) A common misconception is that “since the internal DMM is true RMS, its sinewave accuracy specifications apply to all waveforms.” Actually, the shape of the input signal can dramatically affect measurement accuracy. A common way to describe signal waveshapes is crest factor. Crest factor is the ratio of the peak value to the RMS value of a waveform.
For a pulse train, for example, the crest factor is approximately equal to the square root of the inverse of the duty cycle as shown in the table on page 360. In general, the greater the crest factor the greater the energy contained in higher frequency harmonics. All multimeters exhibit measurement errors that are crest factor dependent. Crest factor errors are shown in the specifications in chapter 9 on page 407. Note that the crest factor errors do not apply for input signals below 100 Hz when using the slow ac filter.
You can estimate the measurement error due to signal crest factor as shown below:
Total Error = Errorsine + Errorcrest factor + Errorbandwidth
Errorcrest factor = DMM’s crest factor (see page 407)
Errorbandwidth = Estimated bandwidth error as shown below:
Errorbandwidth = – C.F. 2 x F
4 π x BW
F = Fundamental input signal frequency
BW = DMM’s -3 dB bandwidth (1 MHz for the 34970A)

Chapter 8 Tutorial Measurement Fundamentals
Calculate the approximate measurement error for a pulse train input with a crest factor of 3 and a fundamental frequency of 20 kHz. The internal DMM is set to the 1 V range. For this example, use the 90-day accuracy specifications of ± (0.05% of reading + 0.04% of range), as shown in chapter 9 on page 406.
Errorsine = ±(0.05% + 0.04%) = ±0.09%
Errorcrest factor = 0.15%
Errorbandwidth = – 3 2 x 20000 4 x 3.14159 x 1000000 * 100 = 1.4%
Total Error = 0.09% + 0.15% + 1.4% = 1.6%

Chapter 8 Tutorial Measurement Fundamentals
AC Loading Errors In the ac voltage function, the input of the internal DMM appears as a 1 MΩ resistance in parallel with 150 pF of capacitance. The cabling that you use to connect signals to the instrument will also add additional capacitance and loading. The table below shows the approximate input resistance at various frequencies.
Input Frequency Input Resistance
100 Hz 1 kHz 10 kHz 100 kHz
700 kΩ 600 kΩ 100 kΩ 10 kΩ
For low frequencies:
− 100 x Rs
Rs + 1 M Ω
Additional error for high frequencies:
Error (%) = 100 x
√ 1 + ( 2 π x F x Rs x Cin ) 2
F = Input frequency Rs = Source resistance Cin = Input capacitance (150 pF) + Cable capacitance
Use low-capacitance cable when measuring high-frequency ac signals (see page 336).
Error (%) = · − 1

Chapter 8 Tutorial Measurement Fundamentals
Low-Level AC Measurement Errors When measuring ac voltages less than 100 mV, be aware that these measurements are especially susceptible to errors introduced by extraneous noise sources. An exposed test lead will act as an antenna and the internal DMM will measure the signals received. The entire measurement path, including the power line, act as a loop antenna. Circulating currents in the loop will create error voltages across any impedances in series with the instrument’s input. For this reason, you should apply low-level ac voltages to the instrument through shielded cables. You should also connect the shield to the input LO terminal.
Be sure to minimize the area of any ground loops that cannot be avoided. A high-impedance source is more susceptible to noise pickup than a low-impedance source. You can reduce the high-frequency impedance of a source by placing a capacitor in parallel with the instrument’s input terminals. You may have to experiment to determine the correct capacitance value for your application.
Most extraneous noise is not correlated with the input signal. You can determine the error as shown below.
Voltage Measured = √ Vin 2 + Noise 2
Correlated noise, while rare, is especially detrimental. Correlated noise will always add directly to the input signal. Measuring a low-level signal with the same frequency as the local power line is a common situation that is prone to this error.
You should use caution when switching high-level and low-level signals on the same module. It is possible that high-level charged voltages may be discharged onto a low-level channel. It is recommended that you either use two different modules or separate the high-level signals from the low-level signals with an unused channel connected to ground.

Chapter 8 Tutorial Measurement Fundamentals
Measurements Below Full Scale You can make the most accurate ac measurements when the internal DMM is at full scale of the selected range. Autoranging occurs at 10% and 120% of full scale. This enables you to measure some inputs at full scale on one range and 10% of full scale on the next higher range. Note that the measurement accuracy will be significantly different for the two cases. For highest accuracy, you should use manual ranging to select the lowest range possible for the measurement.
Temperature Coefficient and Overload Errors The internal DMM uses an ac measurement technique that periodically measures and removes internal offset voltages when you select a different function or range. When manual ranging to a new range in an overload condition, the internal offset measurement may be degraded for the selected range. Typically, an additional 0.01% of range error may be introduced. This additional error will remain until the next periodic removal (typically 15 minutes).

Chapter 8 Tutorial Measurement Fundamentals
Current measurements are allowed only on the 34901A module.
An ammeter senses the current flowing through its input connections – approximating a short circuit between its input terminals. An ammeter must be connected in series with the circuit or device being measured such that current flows through both the meter and the test circuit.
A resistor, Rs in the diagram below, is connected across the input terminals such that a voltage drop proportional to the input current is generated. The value of Rs is selected as low as possible to minimize the instrument’s burden voltage, or IR drop. This voltage drop is sensed by the internal DMM and scaled to the proper current value to complete the measurement (see the discussion on the following page).

+/- Vdc to Input Amplifier and Analog-to-Digital Converter
AC current measurements are very similar to dc current measurements. The output of the current-to-voltage sensor is measured by an ac voltmeter. The input terminals are direct coupled (ac+dc coupled) to the shunt so that the internal DMM maintains dc continuity in the test circuit. Performing ac current measurements demands additional care. The burden voltage (loading) varies with frequency and input inductance, often causing unexpected behavior in the test circuit (see the discussion on the following page).
On-Card · Fuse S1

Chapter 8 Tutorial Measurement Fundamentals
When you connect the internal DMM in series with a test circuit to measure current, a measurement error is introduced. The error is caused by the DMM’s series burden voltage. A voltage is developed across the wiring resistance and current shunt resistance of the internal DMM as shown below.

V S
Vs = Source voltage Rs = Source resistance Vb = Burden voltage R = Current shunt resistance
−100 % x Vb
Burden voltage errors, which apply to dc current, also apply to ac current measurements. However, the burden voltage for ac current is larger due to the internal DMM’s series inductance and the measurement connections. The burden voltage increases as the input frequency increases. Some circuits may oscillate when performing current measurements due to the internal DMM’s series inductance and the measurement connections.
Error (%) = · Vs

Chapter 8 Tutorial Measurement Fundamentals
An ohmmeter measures the dc resistance of a device or circuit connected to its input. Resistance measurements are performed by supplying a known dc current to an unknown resistance and measuring the dc voltage drop.
To Amplifier and Analog-to-Digital Converter I

The internal DMM offers two methods for measuring resistance: 2-wire and 4-wire ohms. For both methods, the test current flows from the input HI terminal through the resistor being measured. For 2-wire ohms, the voltage drop across the resistor being measured is sensed internal to the DMM. Therefore, test lead resistance is also measured. For 4-wire ohms, separate “sense” connections are required. Since no current flows in the sense leads, the resistance in these leads does not give a measurement error.
4-Wire Ohms Measurements The 4-wire ohms method provides the most accurate way to measure small resistances. Test lead, multiplexer, and contact resistances are automatically reduced using this method. The 4-wire ohms method is often used in automated test applications where long cable lengths, input connections, and a multiplexer exist between the internal DMM and the device-under-test.
The recommended connections for 4-wire ohms measurements are shown in the diagram on the following page. A constant current source, forcing current I through unknown resistance R, develops a voltage measured by a dc voltage front end. The unknown resistance is then calculated using Ohm’s Law.
Runknown

Chapter 8 Tutorial Measurement Fundamentals
The 4-wire ohms method is used in systems where lead resistances can become quite large and variable and in automated test applications where cable lengths can be quite long. The 4-wire ohms method has the obvious disadvantage of requiring twice as many switches and twice as many wires as the 2-wire method. The 4-wire ohms method is used almost exclusively for measuring lower resistance values in any application, especially for values less than 10Ω and for high-accuracy requirements such as RTD temperature transducers.


Chapter 8 Tutorial Measurement Fundamentals
Offset Compensation Most connections in a system use materials that produce small dc voltages due to dissimilar metal-to-metal contact (thermocouple effect) or electrochemical batteries (for a description of the thermocouple effect, see page 340). These dc voltages also add errors to resistance measurements. The offset-compensated measurement is designed to allow resistance measurements in the presence of small dc voltages.
Offset compensation makes two measurements on the circuit connected to the input channel. The first measurement is a conventional resistance measurement. The second is the same except the internal DMM’s test current source is turned off (essentially a normal dc voltage measurement). The second measurement is subtracted from the first prior to scaling the result, thus giving a more accurate resistance measurement. Refer to “Offset Compensation” on page 115 for more information.
Offset compensation can be used for 2-wire or 4-wire ohms measurements (but not for RTD or thermistor measurements). The 34970A disables offset compensation when the measurement function is changed or after a Factory Reset (*RST command). An Instrument Preset (SYSTem:PRESet command) or Card Reset (SYSTem:CPON command) does not change the setting.
If the resistor being measured does not respond quickly to changes in current, offset compensation will not produce an accurate measurement. Resistors with very large inductances or resistors with large parallel capacitance would fall into this category. In these cases, the channel delay parameter can be increased to allow more settling time after the current source is switched on or off, or offset compensation can be turned off. For more information on channel delay, see page 88.

Chapter 8 Tutorial Measurement Fundamentals
External Voltages Any voltages present in the system cabling or connections will affect a resistance measurement. The effects of some of these voltages can be overcome by using offset compensation (as described on the previous page).
Settling Time Effects The internal DMM has the ability to insert automatic measurement settling delays. These delays are adequate for resistance measurements with less than 200 pF of combined cable and device capacitance. This is particularly important if you are measuring resistances above 100 kΩ. Settling due to RC time constant effects can be quite long. Some precision resistors and multifunction calibrators use large parallel capacitances (1000 pF to 0.1 µF) with high resistance values to filter out noise currents injected by their internal circuitry. Non-ideal capacitances due to dielectric absorption (soak) effects in cables and other devices may have much longer settling times than expected just by RC time constants. Errors will be measured when settling after the initial connection, after a range change, or when using offset compensation. You may need to increase the channel delay time before a measurement in these situations (for more information on channel delay, see page 88).
High-Resistance Measurement Errors When you are measuring large resistances, significant errors can occur due to insulation resistance and surface cleanliness. You should take the necessary precautions to maintain a “clean” high-resistance system. Test leads and fixtures are susceptible to leakage due to moisture absorption in insulating materials and “dirty” surface films. Nylon and PVC are relatively poor insulators (109 ohms) when compared to PTFE Teflon insulators (1013 ohms). Leakage from nylon or PVC insulators can easily contribute a 0.1% error when measuring a 1 MΩ resistance in humid conditions. The table below shows several common insulating materials and their typical resistances.
Insulating Material Resistance Range Moisture Absorbing
Teflon® (PTFE) Nylon PVC Polystyrene Ceramic Glass Epoxy (FR-4, G-10) Phenolic, Paper
1 TΩ to 1 PΩ 1 GΩ to 10 TΩ 10 GΩ to 10 TΩ 100 GΩ to 1 PΩ 1 GΩ to 1 PΩ 1 GΩ to 10 TΩ 10 MΩ to 10 GΩ

Chapter 8 Tutorial Measurement Fundamentals
Although the instrument does not directly support strain measurements, you can measure a strain gage using a 4-wire resistance measurement with scaling. However, BenchLink Data Logger software has built-in strain gage measurement capability.
When a force is applied to a body, the body deforms. The deformation per unit length is called strain (ε). Strain may be either tensile (+) or compressive (-). Practical strain values are usually quite small (typically less than 0.005 inch/inch for most metals) and are often expressed in micro-strains (µε). There are three common types of strain measurements as shown below.
Normal Strain (ε) is a measure of the deformation along the axis of the applied force. ε = ∆L / L
(F)
L + ∆ L
Shearing Strain (γ) is a measure of the angular distortion of a body. It is approximated by the tangent of the angle formed by the angular change between two line segments that were parallel in the undeformed state.
Poisson Strain (ν) measures a property of materials known as the Poisson Ratio. It is the negative ratio of transverse and longitudinal normal strain when a body has a longitudinal tensile force applied. ν = -εt / ε, where εt = ∆D / D and ε = ∆L / L
L + ∆ L D - ∆ D
Stress Stress is a term used to compare the loading applied to a material with its ability to carry the load. Stress (σ) in a material can not be measured directly; it must be computed from material properties and measurable quantities such as strain and force.
Force · Force · γ F

Chapter 8 Tutorial Measurement Fundamentals
Strain Sensors The metal foil resistance strain gage is by far the most widely used strain measurement sensor. It consists of a thin metallic foil grid bonded to a thin insulating, adhesive backing. The resistance of the foil varies linearly with strain. Strain in the test body is simply the ratio of the foil’s strained to unstrained resistance: ε = ∆R / R.
The Gage Factor (GF) indicates the sensitivity of a strain gage and is a measure of the fractional resistance change per strain: GF = (∆R / R) / ε . Devices with a higher gage factor will exhibit a greater resistance change per strain applied.
Strain gages are available in many patterns with various numbers and configurations of elements. The most common element is the single gage form shown below. Multi-element strain gages, also called rosettes, are used to measure components of strain in different directions. Two-element (90°) and three-element (45° or 60°) configurations are the most common.

Common Uses for Strain Gages Strain gages are used to sense many types of physical parameters. Strain gages are primarily a force-sensing device. Force is measured indirectly by measuring the deformation of a test body to a known applied force thus producing a resistance change proportional to the applied force. Many other physical quantities can be measured through force measurements. Common applications of strain gages include weight, pressure, flow, and level measurements.

Chapter 8 Tutorial Measurement Fundamentals
Making Strain Gage Measurements A Wheatstone bridge is commonly used to enable instruments with low-sensitivity measuring capabilities to measure small resistance changes common in strain measurements. Instruments with high-resolution resistance measuring capabilities, like the 34970A internal DMM, can directly measure small resistance changes with high precision and linearity. You should also use the 4-wire resistance method when measuring strain gages to eliminate system cabling errors.
An initial, unstrained, gage resistance measurement is used as the reference (R0) measurement from which strain (∆R / R0) is measured. For best results, you should perform this reference measurement after the strain gage has been mounted to the test body. The table below shows the resistance changes corresponding to 1 µε strain for common gage factor and unstrained gage resistance values.
Strain GF R0 ∆R DMM Sensitivity
1 µε 2.0 120Ω 0.24 mΩ 0.1 mΩ (0.4 µε)
1 µε 2.0 350Ω 0.70 mΩ 1.0 mΩ (1.4 µε)
1 µε 2.0 1000Ω 2.0 mΩ 1.0 mΩ (0.5 µε)
Using the Mx+B scaling function with the equations shown below will allow you to display results directly in strain on the 34970A front-panel display. You can use a custom measurement label to display readings in “uE” (micro-strain) directly. The instrument will automatically add the micro (“u”) prefix based upon actual calculated values. For more information on scaling, see page 119.
M = 1 GF x R0 B = − 1
Temperature Effects The resistive element of a strain gage will produce a resistance change ∆R due to measured strain as well as changes in gage temperature. This will create an “apparent” strain change which is undesirable. A second gage of similar type can be used to detect temperature changes and thus remove this error source. You should mount the second gage in close proximity and at 90° to the first gage, thus responding to local temperature changes but rejecting strain changes. Subtracting measurements from the second gage will remove any undesirable strain errors. 8

Chapter 8 Tutorial Measurement Fundamentals
The internal DMM uses a reciprocal counting technique to measure frequency and period. This method generates constant measurement resolution for any input frequency. The internal DMM’s ac voltage measurement section performs input signal conditioning for frequency and period measurements.
.01s .1s 1s
6 MHz Timebase and Divider
The timebase is divided to provide a gate signal. The gate signal and input signal are combined to enable the counter. During the “on” time, the counter counts the 6 MHz timebase signal. At the end of each gate period, the total count is latched and the result is divided by the known timebase frequency to determine the input frequency. The counter is then reset before the next gate period. The resolution of the measurement is tied to the timebase, and not the input frequency. This increases measurement speed especially at low frequencies.
The reciprocal counter has the advantage of a constant number of digits of display, no matter what the input frequency is. With a reciprocal counter, the number of digits of resolution scales with the gate time. If a 1-second gate gives six digits of resolution, a 0.1-second gate gives five digits, and so forth.
1st Edge Last Edge

Chapter 8 Tutorial Measurement Fundamentals
Sources of Error in Frequency and Period Measurements The internal DMM’s ac voltage measurement section performs input signal conditioning. All frequency counters are susceptible to errors when measuring low-voltage, low-frequency signals. The effects of both internal noise and external noise pickup are critical when measuring “slow” signals. The error is inversely proportional to frequency. Measurement errors will also occur if you attempt to measure the frequency (or period) of an input following a dc offset voltage change. You must allow the internal DMM’s input dc blocking capacitor to fully settle before making frequency measurements.

0.5%
1 mV 2 mV 3 mV
Input Random Noise (RMS)
If the external noise pickup becomes large enough to exceed the hysteresis of the measuring circuitry, the frequency function may actually become unusable. External shielding and low-pass filtering may help.
1% · Input Error

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
Low-level multiplexers are available in the following types: one-wire, 2-wire, and 4-wire. The following sections in this chapter describe each type of multiplexer. The following low-level multiplexer modules are available with the 34970A.
An important feature of a multiplexer used as a DMM input channel is that only one channel is connected at a time. For example, using a multiplexer module and the internal DMM, you could configure a voltage measurement on channel 1 and a temperature measurement on channel 2. The instrument first closes the channel 1 relay, makes the voltage measurement, and then opens the relay before moving on to channel 2 (called break-before-make switching).
Other low-level switching modules available with the 34970A include the following:

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
On the 34908A multiplexer, all of the 40 channels switch the HI input only, with a common LO for the module. The module also provides a thermocouple reference junction for making thermocouple measurements (for more information on the purpose of an isothermal block, see page 350).
The 34901A and 34902A multiplexers switch both HI and LO inputs, thus providing fully isolated inputs to the internal DMM or an external instrument. These modules also provide a thermocouple reference junction for making thermocouple measurements (for more information on the purpose of an isothermal block, see page 350).

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
You can make 4-wire ohms measurements using the 34901A and 34902A multiplexers. For a 4-wire ohms measurement, the channels are divided into two independent banks by opening the bank relay.
For 4-wire measurements, the instrument automatically pairs channel n with channel n+10 (34901A) or n+8 (34902A) to provide the source and sense connections. For example, make the source connections to the HI and LO terminals on channel 2 and the sense connections to the HI and LO terminals on channel 12.
When making a 4-wire measurement, the test current flows through the source connections from the HI terminal through the resistor being measured. To eliminate the test lead resistance, a separate set of sense connections are used as shown below.
R
LO

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
When used stand-alone for signal routing (not scanning or connected to the internal DMM), multiple channels on the 34901A and 34902A multiplexers can be closed at the same time. You must be careful that this does not create a hazardous condition (for example, connecting two power sources together).
COM H
GND
COM L
Module Reference

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
Noise can be coupled inside a switch by the drive circuitry, by switch thermal EMFs, or by coupling among signal paths. Noise can also be generated outside the network and conducted or coupled into the switch. Although noise problems apply to the entire system, they can become especially acute for switching. Switch networks contain a high concentration of signals, which magnify the errors. Most problems with electric noise can be traced to improper grounding and shielding (for more information on grounding and shielding, see page 337).
Noise can be capacitively coupled between physically adjacent channels in a switching system. Noise can be coupled between the switch contacts themselves (Csw) or between adjacent cabling (Cadj).
Capacitive noise coupling is a function of area and proximity. A simple method to reduce the noise coupling is to physically separate the switches and cables from each other. However, this may not be practical for all applications.
Another solution is to keep large amplitude signals and small amplitude signals away from each other. Group similar signals together (high voltages, low voltages, analog, and digital). If possible, use two separate switch modules; one for high-level signals and one for low-level signals. If you are using a single module for mixed-signal switching, leave one unused, grounded channel between the groups. Also, ground any unused channels on the module.

Chapter 8 Tutorial Low-Level Signal Multiplexing and Switching
The 34901A and 34902A multiplexers have an additional relay, called a bank switch or tree switch, which helps reduce channel-to- channel noise (Cadj). The multiplexer channels are divided into two banks. The bank switch isolates one bank of channels from the other, effectively removing any parallel adjacent capacitance from the isolated bank. During a scan, the instrument automatically controls the bank switches.
If you are not using all of the channels on the multiplexer, divide the input signals equally between Bank 1 and Bank 2. For example, if you are multiplexing eight channels using the 16-channel multiplexer, use four channels in the lower bank and four channels in the upper bank. For even better noise immunity, leave one unused, grounded channel between each input channel.
Module Bank 1 Bank 2
34901A Channels 1 through 10 Channels 11 through 20
34902A Channels 1 through 8 Channels 9 through 16
34908A Channels 1 through 20 Channels 21 through 40

Chapter 8 Tutorial Actuators and General-Purpose Switching
The 34903A Actuator provides 20 independent, isolated SPDT (single-pole, double-throw) or Form C switches. This module offers simple on-off switching which you can use to control power devices or for custom switching applications. For example, you can use an actuator to build a simple resistance ladder as shown below.
NO
10 Ω
COM
NO
10 Ω
COM
NO
10 Ω
COM
NO
10 Ω
COM
NO
10 Ω
NO = Normally Open
In the above diagram, the resistance is 60Ω when all of the actuator channels are open (not connected to COM). Note that when the actuator channels are open, as shown above, the normally-closed contacts (not shown above) are connected to COM. Values from 10Ω to 50Ω are selected by closing the appropriate channel(s) on the module.
Resistance Out · Actuator 10Ω

Chapter 8 Tutorial Actuators and General-Purpose Switching
Whenever a relay contact opens or closes, electrical breakdown or arching can occur between the contacts. This can cause high-frequency noise radiation, voltage and current surges, and physical damage to the relay contacts.
A breadboard area is provided on the 34903A to implement custom circuitry such as simple filters, snubbers, and voltage dividers. The breadboard area provides the space necessary to insert your own components but there are no circuit board traces here. You can build these networks to provide contact protection when actuating ac power line for reactive loads. Although many types of contact protection networks can be used, only RC networks and varistors are described in this section.

Module Reference
RC Protection Networks
When designing RC protection networks, the protection resistor Rp is selected as a compromise between two resistance values. The minimum value of Rp is determined by the maximum acceptable relay contact current (Imax). For the 34903A, the maximum allowable relay current (Imax) is 1A dc or ac rms. Thus, the minimum value for Rp is V/Io, where V is the peak value of the supply voltage.
Relay Contact · Rp = V · Imax

Chapter 8 Tutorial Actuators and General-Purpose Switching
The maximum value for Rp is usually made equal to the load resistance RL. Therefore, the limits on Rp can be stated as:
V Imax < Rp < RL
Io = V
Where V is the peak value of the source voltage and RL is the resistance of the load. The value for Io will be used to determine the value of the protection capacitor (Cp).
In determining the value of the protection network capacitor (Cp), there are several things that you will need to consider. First, the total circuit capacitance (Ctot) must be such that the peak voltage across the open relay contacts does not exceed 300 Vrms. The equation for determining the minimum allowable circuit capacitance is:
Ctot ≥ (Io / 300)2 x L
where L is the inductance of the load and Io is the current value calculated earlier.
The total circuit capacitance (C) is actually made up of the wiring capacitance plus the value of the protection network capacitor Cp. Therefore, the minimum value for Cp should be the value obtained for the total circuit capacitance (C). Note that the actual value used for Cp should be substantially greater than the value calculated for C.
Use a varistor to add an absolute voltage limit across the relay contacts. Varistors are available for a wide range of voltage and clamp energy ratings. Once the circuit reaches the voltage rating of the varistor, the varistor’s resistance declines rapidly. A varistor can supplement an RC network and is especially useful when the required capacitance (Cp) is too large.

Chapter 8 Tutorial Actuators and General-Purpose Switching
Provisions have been made on the 34903A circuit board for installing simple attenuators or filter networks. An attenuator is composed of two resistors that act as a voltage divider. A typical attenuator circuit is shown below.
Vsignal Vatt
LO
R2
To select the attenuator components, use the following equation:
Vatt = Vsignal x
One typical use for the shunt component is with 4 to 20 mA transducers. A 50Ω, ±1%, 0.5 watt resistor can be installed in the R2 location. The resultant voltage drop (transducer current through the resistor) can be measured by the internal DMM. Thus, the 50Ω resistor converts the 4 to 20 mA current to a 0.2 to 1 volt signal.

Chapter 8 Tutorial Matrix Switching
A matrix switch connects multiple inputs to multiple outputs and therefore offers more switching flexibility than a multiplexer. Use a matrix for switching low-frequency (less than 10 MHz) signals only. A matrix is arranged in rows and columns. For example, a simple 3x3 matrix could be used to connect three sources to three test points as shown below.
Test 1 Test 2 Test 3
Any one of the signal sources can be connected to any one of the test inputs. Be aware that with a matrix, it is possible to connect more than one source at the same time. It is important to make sure that dangerous or unwanted conditions are not created by these connections.
Source 1 · Source 2 · Source 3

Chapter 8 Tutorial Matrix Switching
You can combine two or more matrix switches to provide more complex switching. For example, the 34904A provides a 4-row by 8-column matrix. You can combine two of these modules as either a 4-row by 16-column matrix or an 8-row by 8-column matrix. An 8x8 matrix is shown below.
Col 1 Col 8
Col 1 Col 8

Chapter 8 Tutorial RF Signal Multiplexing
A special type of multiplexer is the RF multiplexer. This type of multiplexer uses special components to maintain a 50Ω or 75Ω impedance in the signal line being switched. In a test system, these switches are often used to route a test signal from a signal source to the device-under-test. The switches are bi-directional. The diagram below shows two examples of a 4-to-1 channel RF multiplexer in a test system.
Test 1 Test 2 Test 3 Test 4
Source 1 Source 2 Source 3 Source 4
4 x 1 Multiplexer 4 x 1 Multiplexer
By using patch cables, you can expand RF multiplexers to provide additional test inputs or outputs. For example, you can combine two 4-to-1 multiplexers to create a 7-to-1 multiplexer as shown below.

Test 4 Test 5 Test 6 Test 7
4 x 1 Multiplexer
On the 34905A (50Ω) and 34906A (75Ω) RF multiplexers, you can close only one channel per bank at a time; closing one channel in a bank will open the previously closed channel. These modules respond only to the CLOSE command (OPEN does not apply). To open a channel, send the CLOSE command to another channel in the same bank.
Signal Generator · External Power Meter

Chapter 8 Tutorial RF Signal Multiplexing
Impedance mismatching can cause a variety of errors in an RF multiplexing system. These errors can cause distorted waveforms, overvoltage, or undervoltage conditions.
To minimize RF impedance mismatching:
Insertion Loss (50Ω) Insertion Loss (75Ω)


Direct to Module Using provided adapter cables



Chapter 8 Tutorial Multifunction Module
The 34907A module has two non-isolated 8-bit input/output ports which you can use for reading digital patterns.
I/O Line (1 of 8)

Chapter 8 Tutorial Multifunction Module
The 34907A module has two non-isolated 8-bit input/output ports which you can use for outputting digital patterns. You can combine the two ports to output a 16-bit word. A simplified diagram of a single output bit is shown below.
+V
Output I/O Line (1 of 16)
External Circuit · 10 kΩ

Chapter 8 Tutorial Multifunction Module
In general, an external pull-up is required only when you want to set the output “high” value greater than TTL levels. For example, to use a +12V external power supply, the value of the external pull-up resistor is calculated as follows:
Vcc = 12 Vdc
Imax = Iout low x safety factor = 1 mA x 0.5 = 0.5 mA
= 12 0.0005 = 24 kΩ
The value of the logic “high” level with the external 24 kΩ pull-up resistor is calculated as follows:
R external R external + R internal
= 12 x 24 k Ω 24 k Ω + 10 k Ω = 8.47 Vdc
Vhigh = Vcc x
You can use two digital output channels to control an external switch. For example, you can drive the Agilent 876X series of microwave switches using an external power supply and two digital output channels. The state of the 2-to-1 multiplexer is changed by setting the appropriate output bit low (0).
Agilent 876X Microwave Switch Digital Output Channel
24 Volt Power Supply
R = Vcc · Imax · – +

Chapter 8 Tutorial Multifunction Module
The 34907A module has a 26-bit totalizer which can count pulses at a 100 kHz rate. You can manually read the totalizer count or you can configure a scan to read the count.
G
GND
TTL AC
2.5 V Threshold (TTL) 0 V Threshold (AC)

Chapter 8 Tutorial Multifunction Module
Input Signal (Rising Edge)

Gate Signal (High True)

Noise cause by bounce creates a false count Switch Closed +5 V
Totalizer Input · Add to Total · Limit Switch

Chapter 8 Tutorial Multifunction Module
The 34907A module has two analog outputs capable of outputting calibrated voltages between ±12 volts with 16 bits of resolution. Each DAC (Digital-to-Analog Converter) channel can be used as a programmable voltage source for analog input to other devices.
R L
Output Voltage · 16-Bit Digital Data

Chapter 8 Tutorial Multifunction Module
The output of a DAC varies with temperature. If possible, you should operate the instrument at a stable temperature and as close as possible to the calibration temperature of the DAC for greater accuracy.
The output of a DAC also exhibits two other types of errors: differential error and integral error.

Chapter 8 Tutorial Relay Life and Preventative Maintenance
The 34970A Relay Maintenance System automatically counts the cycles on each relay in the instrument and stores the total count in non-volatile memory on each switch module. Use this feature to track relay failures and predict system maintenance requirements. For more information on using this feature, refer to “Relay Cycle Count” on page 147.
Relays are electromechanical devices which are subject to wear-out failure modes. The life of a relay, or the number of actual operations before failure, is dependent upon how it is used – applied load, switching frequency, and environment.
You can use the graphs shown in this section to estimate relay lifetimes for your application. Additional background information is also provided to give you a better understanding of relay wear-out mechanisms. In general, relay lifetimes depend heavily upon the signals that are being switched and the types of measurements being performed.
The following table shows the time required to reach the specified number of switch operations for several switching speeds.
1 / Hour 1 / Minute 1 / Second 10 / Second
12 Years 10 Weeks 1 Day 3 Hours
2 Years 12 Days 1 Day
Continuous Switching Speed · Switch Operations · 100,000 1,000,000 10,000,000

Chapter 8 Tutorial Relay Life and Preventative Maintenance
As a relay is used, the contacts begin to wear and the resistance of the closed contacts increases. The initial contact resistance of a relay is typically 50 mΩ (plus lead resistance). When the contact resistance exceeds 20 to 50 times its initial value, the contact resistance becomes very erratic and the relay should probably be replaced. For most applications, a relay with contact resistance greater than 1Ω should be replaced. The graph below shows the typical contact resistance characteristics of the relays used on the 34970A switching modules.
Full Load Typical Signals No Load
1k 10k 100k 1M 10M 100M
For most applications, the load switched by the relay is the most important factor affecting relay life. As shown in the graph below, relay life is maximized by switching low power. As the power switched increases, relay life deteriorates.
0.2A 0.4A 0.6A 0.8A 1A Armature (34901A, 34903A, 34904A, 34908A)
10 mA 20 mA 30 mA 40 mA 50 mA Reed (34902A)

Chapter 8 Tutorial Relay Life and Preventative Maintenance
Relay contacts heat up as they switch significant power. The heat is dissipated through the leads and the body of the relay. As you increase the switching frequency to near its maximum, heat cannot dissipate before the next cycle. The contact temperature rises and the life of the relay is reduced.
There are essentially two strategies that you can use for preventative maintenance of the relays on the switching modules. The strategy that you choose depends upon your application, the consequences of a relay failure in your system, and the number of relay cycles during a measurement session.
The first strategy is to replace each relay as needed after it fails or becomes erratic. This is suitable if you are switching higher loads on only a few relays on the module. The disadvantage of this strategy is the inconvenience of continually replacing relays as they near the end of their life at different times.
The second strategy is to replace all relays on the module or simply purchase a new module as the relays near the end of their life. This strategy is best suited for those applications where all relays on the module are switching similar loads. The failure of several relays over a relatively short period of time may indicate impending failures on other relays switching similar loads. This strategy decreases the risk of failure during actual use at the expense of replacing some relays that may have useful life remaining.





Chapter 9 Specifications DC, Resistance, and Temperature Accuracy Specifications
± ( % of reading + % of range ) [1]
Includes measurement error, switching error, and transducer conversion error
90 Day 23 °C ± 5 °C
1 Year 23 °C ± 5 °C
Temperature Coefficient /°C
Function Range [3] Test Current or Burden Voltage
0 °C – 18 °C 28 °C – 55 °C
DC Voltage 100.0000 mV 1.000000 V 10.00000 V 100.0000 V 300.000 V
0.0030 + 0.0035 0.0020 + 0.0006 0.0015 + 0.0004 0.0020 + 0.0006 0.0020 + 0.0020
0.0040 + 0.0040 0.0030 + 0.0007 0.0020 + 0.0005 0.0035 + 0.0006 0.0035 + 0.0030
0.0050 + 0.0040 0.0040 + 0.0007 0.0035 + 0.0005 0.0045 + 0.0006 0.0045 + 0.0030
0.0005 + 0.0005 0.0005 + 0.0001 0.0005 + 0.0001 0.0005 + 0.0001 0.0005 + 0.0003
Resistance [4] 100.0000 Ω 1.000000 kΩ 10.00000 kΩ 100.0000 kΩ 1.000000 MΩ 10.00000 MΩ 100.0000 MΩ
1 mA current source 1 mA 100 µA 10 µA 5 µA 500 nA 500 nA || 10 MΩ
0.0030 + 0.0035 0.0020 + 0.0006 0.0020 + 0.0005 0.0020 + 0.0005 0.002 + 0.001 0.015 + 0.001 0.300 + 0.010
0.008 + 0.004 0.008 + 0.001 0.008 + 0.001 0.008 + 0.001 0.008 + 0.001 0.020 + 0.001 0.800 + 0.010
0.010 + 0.004 0.010 + 0.001 0.010 + 0.001 0.010 + 0.001 0.010 + 0.001 0.040 + 0.001 0.800 + 0.010
0.0006 + 0.0005 0.0006 + 0.0001 0.0006 + 0.0001 0.0006 + 0.0001 0.0010 + 0.0002 0.0030 + 0.0004 0.1500 + 0.0002
DC Current 34901A Only 10.00000 mA 100.0000 mA 1.000000 A
< 0.1 V burden < 0.6 V < 2 V
0.005 + 0.010 0.010 + 0.004 0.050 + 0.006
0.030 + 0.020 0.030 + 0.005 0.080 + 0.010
0.050 + 0.020 0.050 + 0.005 0.100 + 0.010
0.002 + 0.0020 0.002 + 0.0005 0.005 + 0.0010
Temperature Type Best Range Accuracy [5] Extended Range Accuracy [5]
Thermocouple [6] B E J K N R S T
1100°C to 1820°C -150°C to 1000°C -150°C to 1200°C -100°C to 1200°C
1.2°C 1.0°C 1.0°C 1.0°C 1.0°C 1.2°C 1.2°C 1.0°C
400°C to 1100°C
1.8°C 1.5°C 1.2°C 1.5°C 1.5°C 1.8°C 1.8°C 1.5°C
0.03°C 0.03°C 0.03°C 0.03°C
-200°C to -150°C -210°C to -150°C -200°C to -100°C -200°C to -100°C
-100°C to 1300°C 300°C to 1760°C 400°C to 1760°C -100°C to 400°C
-50°C to 300°C -50°C to 400°C -200°C to -100°C
RTD R0 from 49Ω
-200°C to 600°C 0.06°C 0.003°C
to 2.1 kΩ
Thermistor 2.2 k, 5 k, 10 k -80°C to 150°C 0.08°C 0.002°C
[1] Specifications are for 1 hour warm up and 61⁄2 digits [2] Relative to calibration standards [3] 20% over range on all ranges except 300 Vdc and 1 Adc ranges [4] Specifications are for 4-wire ohms function or 2-wire ohms using Scaling to remove the offset. Without Scaling, add 4Ω additional error in 2-wire ohms function. [5] 1 year accuracy. For total measurement accuracy, add temperature probe error. [6] Thermocouple specifications not guaranteed when 34907A module is present
24 Hour [2]

Chapter 9 Specifications DC Measurement and Operating Characteristics
DC Measurement Characteristics [1]
DC Operating Characteristics [5]
DC Voltage Measurement Method:
Additional Noise Error 0% of range 0% of range 0.001% of range 0.001% of range [7]
Continuously Integrating, Multi-slope III A/D Converter 0.0002% of reading + 0.0001% of range
Function DCV, DCI, and Resistance:
61⁄2 61⁄2 51⁄2 51⁄2 41⁄2
0.6 (0.5) 6 (5) 60 (50) 300 600
A/D Linearity: Input Resistance: 100 mV, 1 V, 10 V ranges 100 V, 300 V ranges Input Bias Current: Input Protection:
Selectable 10 MΩ or >10 GΩ 10 MΩ ±1% < 30 pA at 25 °C 300 V on all ranges
0.01% of range [7]
Single Channel Measurement Rates [8]
Function DCV, 2-Wire Ohms:
Resolution 61⁄2 (10 PLC) 51⁄2 (1 PLC) 41⁄2 (0.02 PLC)
Selectable 4-wire or 2-wire Ohms, Current source reference to LO input Selectable on 100Ω, 1 kΩ, 10 kΩ ranges 10% of range per lead for 100Ω and 1 kΩ ranges. 1 kΩ on all other ranges 300 V on all ranges
6 (5) 57 (47) 600
Thermocouple:
Input Protection:
RTD, Thermistor:
0.01 °C (10 PLC) 0.1 °C (1 PLC) 1 °C (0.02 PLC)
6 (5) 57 (47) 220
5Ω for 10 mA, 100 mA; 0.1Ω for 1A. 1.5A 250 V fuse on 34901A module
Autozero OFF Operation Following instrument warm-up at calibration temperature ±1 °C and < 10 minutes, add 0.0002% range additional error + 5 µV.
ITS-90 software compensation Internal, Fixed, or External Selectable per channel. Open > 5 kΩ
Settling Considerations Reading settling times are affected by source impedance, low dielectric absorption characteristics, and input signal changes.
RTD α = 0.00385 (DIN/IEC 751) using ITS-90 software compensation or α = 0.00391 using IPTS-68 software compensation.
Thermistor 44004, 44007, 44006 series
[1] 300 Vdc isolation voltage (ch-ch, ch-earth) [2] For 1 kΩ unbalance in LO lead [3] For power line frequency ±0.1% [4] For power line frequency ±1%, use 80 dB. For power line frequency ±3%, use 60 dB. [5] Reading speeds for 60 Hz and (50 Hz) operation; autozero OFF [6] 61⁄2 digits=22 bits, 51⁄2 digits=18 bits, 41⁄2 digits=15 bits [7] Add 20 µV for DCV, 4 µA for DCI, or 20 mΩ for resistance [8] For fixed function and range, readings to memory, scaling and alarms off, autozero OFF
Measurement Noise Rejection 60 Hz (50 Hz) [2]
Integration Time 200 PLC / 3.33s (4s) 100 PLC / 1.67s (2s) 20 PLC / 333 ms (400 ms) 10 PLC / 167 ms (200 ms) 2 PLC / 33.3 ms (40 ms) 1 PLC / 16.7 ms (20 ms) < 1 PLC
Normal Mode Rejection [3]
90 dB 60 dB 0 dB

Chapter 9 Specifications AC Accuracy Specifications
± ( % of reading + % of range ) [1]
Includes measurement error, switching error, and transducer conversion error
90 Day 23 °C ± 5 °C
1 Year 23 °C ± 5 °C
Temperature Coefficient /°C
Function Range [3] Frequency
0 °C – 18 °C 28 °C – 55 °C
True RMS AC Voltage [4] 100.0000 mV to 100 V
3 Hz – 5 Hz 5 Hz – 10 Hz 10 Hz – 20 kHz 20 kHz – 50 kHz 50 kHz – 100 kHz 100 kHz – 300 kHz [5]
1.00 + 0.03 0.35 + 0.03 0.04 + 0.03 0.10 + 0.05 0.55 + 0.08 4.00 + 0.50
1.00 + 0.04 0.35 + 0.04 0.05 + 0.04 0.11 + 0.05 0.60 + 0.08 4.00 + 0.50
1.00 + 0.04 0.35 + 0.04 0.06 + 0.04 0.12 + 0.05 0.60 + 0.08 4.00 + 0.50
0.100 + 0.004 0.035 + 0.004 0.005 + 0.004 0.011 + 0.005 0.060 + 0.008 0.20 + 0.02
300.0000 V 3 Hz – 5 Hz 5 Hz – 10 Hz 10 Hz – 20 kHz 20 kHz – 50 kHz 50 kHz – 100 kHz 100 kHz – 300 kHz [5]
1.00 + 0.05 0.35 + 0.05 0.04 + 0.05 0.10 + 0.10 0.55 + 0.20 4.00 + 1.25
1.00 + 0.08 0.35 + 0.08 0.05 + 0.08 0.11 + 0.12 0.60 + 0.20 4.00 + 1.25
1.00 + 0.08 0.35 + 0.08 0.06 + 0.08 0.12 + 0.12 0.60 + 0.20 4.00 + 1.25
0.100 + 0.008 0.035 + 0.008 0.005 + 0.008 0.011 + 0.012
0.060 + 0.020 0.20 + 0.05
Frequency and Period [6] 100 mV to 300 V
3 Hz – 5 Hz 5 Hz – 10 Hz 10 Hz – 40 Hz 40 Hz – 300 kHz
0.10 0.05 0.03 0.006
0.10 0.05 0.03 0.01
0.10 0.05 0.03 0.01
0.005 0.005 0.001 0.001
True RMS AC Current 34901A Only
10.00000 mA [4]
3 Hz – 5 Hz 5 Hz – 10 Hz 10 Hz – 5 kHz
1.00 + 0.04 0.30 + 0.04 0.10 + 0.04
1.00 + 0.04 0.30 + 0.04 0.10 + 0.04
1.00 + 0.04 0.30 + 0.04 0.10 + 0.04
0.100 + 0.006 0.035 + 0.006 0.015 + 0.006
and 1.000000 A [4]
100.0000 mA [7] 3 Hz – 5 Hz
1.00 + 0.5 0.30 + 0.5 0.10 + 0.5
1.00 + 0.5 0.30 + 0.5 0.10 + 0.5
1.00 + 0.5 0.30 + 0.5 0.10 + 0.5
0.100 + 0.06
5 Hz – 10 Hz 10 Hz – 5 kHz
0.035 + 0.06 0.015 + 0.06
Additional Low Frequency Error for ACV, ACI (% of reading) Additional Error for Frequency, Period (% of reading)
Frequency 10 Hz - 20 Hz 20 Hz - 40 Hz 40 Hz - 100 Hz 100 Hz - 200 Hz 200 Hz - 1 kHz > 1 kHz
Frequency 3 Hz - 5 Hz 5 Hz - 10 Hz 10 Hz - 40 Hz 40 Hz - 100 Hz 100 Hz - 300 Hz 300 Hz - 1 kHz > 1 kHz
61⁄2 Digits 0
51⁄2 Digits 0.12 0.17 0.2 0.06 0.03 0.01 0
41⁄2 Digits 0.12 0.17 0.2 0.21 0.21 0.07 0.02
0
0.74 0.22 0.06 0.01 0 0
— — 0.73 0.22 0.18 0
[1] Specifications are for 1 hour warm up and 61⁄2 digits, Slow ac filter [2] Relative to calibration standards [3] 20% over range on all ranges except 300 Vac and 1 Aac ranges [4] For sinewave input > 5% of range. For inputs from 1% to 5% of range and < 50 kHz, add 0.1% of range additional error. [5] Typically 30% of reading error at 1 MHz, limited to 1x108 V Hz [6] Input > 100 mV. For 10 mV inputs, multiply % of reading error x 10. [7] Specified only for inputs > 10 mA

Chapter 9 Specifications AC Measurement and Operating Characteristics
AC Measurement Characteristics [1]
AC Operating Characteristics [4]
True RMS AC Voltage Measurement Method:
Function ACV, ACI:
Readings/s 7 sec/reading 1 8 [6]
AC Filter Slow (3 Hz) Medium (20 Hz) Fast (200 Hz) Fast (200 Hz) Fast (200 Hz)
AC-coupled True RMS – measures the ac component of input with up to 300 Vdc of bias on any range Maximum 5:1 at Full Scale
61⁄2üxç31ç33 Çä 32é
Crest Factor 1-2: 0.05% of reading Crest Factor 2-3: 0.15% of reading Crest Factor 3-4: 0.30% of reading Crest Factor 4-5: 0.40% of reading
Single Channel Measurement Rates [8]
Function ACV:
Resolution 61⁄2 Slow (3 Hz) 61⁄2 Medium (20 Hz) 61⁄2 Fast (200 Hz) 61⁄2üxç31ç33 Çä 32é [7]
0.14 1 8 100
3 Hz – 300 kHz 20 Hz – 300 kHz 200 Hz – 300 kHz 1 MΩ ± 2%, in parallel with 150 pF 300 Vrms on all ranges
Frequency, Period:
61⁄2 Digits (1s gate) 61⁄2 Digits (1s gate) [7]
0.77 1 2.5 9 3.2 70
Reciprocal counting technique Same as AC Voltage function 1s, 100 ms, or 10 ms Selectable 3 Hz, 20 Hz, 200 Hz LF limit
51⁄2 Digits (100 ms) 51⁄2 Digits (100 ms) [7]
41⁄2 Digits (10 ms) 41⁄2 Digits (10 ms) [7]
True RMS AC Current Measurement Method:
Direct coupled to the fuse and shunt. AC-coupled True RMS measurement (measures the ac component only) 5Ω for 10 mA; 0.1Ω for 100 mA, 1A 1.5A 250 V fuse on 34901A module
[1] 300 Vrms isolation voltage (ch-ch, ch-earth) [2] For frequencies below 100 Hz, slow AC filter specified for sinewave input only [3] For 1 kΩ unbalance in LO lead [4] Maximum reading rates for 0.01% of ac step additional error. Additional settling delay required when input dc level varies. [5] 61⁄2 digits=22 bits, 51⁄2 digits=18 bits, 41⁄2 digits=15 bits [6] For external trigger or remote operation using default settling delay (Delay Auto) [7] Maximum limit with default settling delays defeated [8] For fixed function and range, readings to memory, scaling and alarms turned off
Measurement Noise Rejection [3]
Measurement Considerations (Frequency and Period) All frequency counters are susceptible to error when measuring low-voltage, low-frequency signals. Shielding inputs from external noise pickup is critical for minimizing measurement errors.
Digits [5] · 10 100 [7] · Readings/s

Chapter 9 Specifications Measurement Rates and System Characteristics
Single Channel Measurement Rates [1] [2]
Function DCV, 2-Wire Ohms:
Resolution 61⁄2 (10 PLC) 51⁄2 (1 PLC) 41⁄2 (0.02 PLC)
Readings/s 6 (5) 53 (47) 490
1 to 50,000 or continuous 0 to 99 hours; 1 ms step size 0 to 60 seconds/channel; 1 ms step size < 300 µs; With Monitor On, < 200 ms < 2 ms
Thermocouple:
Alarms Alarm Outputs:
4 TTL compatible. Selectable TTL logic HI or LO on Fail 5 ms (typical)
RTD, Thermistor:
0.01 °C (10 PLC) 0.1 °C (1 PLC) 1 °C (0.02 PLC)
6 (5) 47 (47) 280
Latency:
Battery Backed, 4 year typical life [6]
61⁄2 Slow (3 Hz) 61⁄2 Medium (20 Hz) 61⁄2 Fast (200 Hz) 61⁄2 [3]
0.14 1 8 100 1 9 70
1 ms 1 s 5 instrument states Up to 20 events
Frequency, Period:
61⁄2 Digits (1s gate) 51⁄2 Digits (100 ms) 41⁄2 Digits (10 ms)
100 V / 120 V / 220 V / 240 V ±10% 45 Hz to 66 Hz automatically sensed (12 W) 25 VA peak Full accuracy for 0 °C to 55 °C Full accuracy to 80% R.H. at 40 °C -40 °C to 70 °C [6] Net: 3.6 kg (8.0 lbs) Conforms to CSA, UL-1244, IEC 1010 Cat I CISPR 11, IEC 801/2/3/4 3 years
INTO Memory Ch/s Single Channel DCV 34902A Scanning DCV 34907A Scanning Digital Input 34902A Scanning DCV, scaling and 1 alarm fail 34907A Scanning Totalize 34902A Scanning Temperature 34902A Scanning ACV [3] 34902A Scanning DCV/Ohms, alternate channels 34901A/34908A Scanning DCV
490 250 250 220 170 160 100 90 60
[1] Reading speeds for 60 Hz and (50 Hz) operation; autozero OFF [2] For fixed function and range, readings to memory, scaling and alarms off, autozero OFF [3] Maximum limit with default settling delays defeated [4] Speeds are for 41⁄2 digits, delay 0, display off, autozero off. Using 115 kbaud RS-232 setting. [5] Assumes relative time format (time since start of scan) [6] Storage at temperatures above 40 °C will decrease battery life
INTO and OUT of Memory to GPIB or RS-232 (INIT, FETCh) 34902A Scanning DCV 34902A Scanning DCV with Time stamp
OUT of Memory to GPIB [5]
Readings Readings with Time stamp Readings with all Format Options ON
OUT of Memory to RS-232 Readings Readings with Time stamp Readings with all Format Options ON
This ISM device complies with Canadian ICES-001.
Cet appareil ISM est conforme à la norme NMB-001 du Canada.
DIRECT to GPIB or RS-232 Single Channel DCV 34902A Scanning DCV Single Channel MEAS DCV 10 or MEAS DCV 1 Single Channel MEAS DCV or MEAS OHMS
440 200 25 12

Chapter 9 Specifications Module Specifications
General 34901A 34902A 34908A 34903A 34904A
Number of Channels 20+2 16 40 20 4x8
2/4 wire 2/4 wire 1 wire SPDT 2 wire
Connects to Internal DMM Yes Yes Yes No No
Scanning Speed [1] 60 ch/s 250 ch/s 60 ch/s
Open/Close Speed 120/s 120/s 70/s 120/s 120/s
Voltage (dc, ac rms) 300 V 300 V 300 V 300 V 300 V
Current (dc, ac rms) 1 A 50 mA 1 A 1 A 1 A
Power (W, VA) 50 W 2 W 50 W 50 W 50 W
Isolation (ch-ch, ch-earth) dc, ac rms 300 V 300 V 300 V 300 V 300 V
Offset Voltage [2] < 3 µV < 6 µV < 3 µV < 3 µV < 3 µV
Initial Closed Channel R [2] < 1Ω < 1Ω < 1Ω < 0.2Ω < 1Ω
Isolation (ch-ch, ch-earth) > 10 GΩ > 10 GΩ > 10 GΩ > 10 GΩ > 10 GΩ
Bandwidth 10 MHz 10 MHz 10 MHz 10 MHz 10 MHz
Ch-Ch Cross Talk (dB) [3] 10 MHz -45 -45 -18 [4] -45 -33
Capacitance HI to LO < 50 pF < 50 pF < 50 pF < 10 pF < 50 pF
Capacitance LO to Earth < 80 pF < 80 pF < 80 pF < 80 pF < 80 pF
Volt-Hertz Limit 108
T/C Cold Junction Accuracy [2] [5] (typical) 0.8 °C 0.8 °C 0.8 °C [7]
Switch Life No Load (typical) 100M
Switch Life Rated Load (typical) [6] 100k
Temperature Operating All Modules – 0 °C to 55 °C
Temperature Storage All Modules – -20 °C to 70 °C
Humidity (non-condensing) All Modules – 40 °C / 80% R.H.
[1] Speeds are for 41⁄2 digits, delay 0, display off, autozero off. Using 115 kbaud RS-232 setting. [2] Errors included in the DMM measurement accuracy specifications [3] 50Ω source, 50Ω load [4] Isolation within channel 1 to 20 or 21 to 40 banks is -40 dB [5] Thermocouple specifications not guaranteed when 34907A module is present [6] Applies to resistive loads only [7] Thermocouple measurements not recommended with 34908A module due to common LO configuration.

Chapter 9 Specifications Module Specifications

The ac performance graphs are shown on the following page.
Ch-Ch Cross Talk (dB) [4] 10 MHz -100 -85
Temperature Operating 0 °C to 55 °C
Temperature Storage -20 °C to 70 °C
[1] Errors included in DMM measurement accuracy specifications [2] Applies to resistive loads only [3] Bandwidth direct to module SMB connectors [4] 50Ω source, 50Ω load

Chapter 9 Specifications Typical AC Performance Graphs
Insertion Loss (50Ω) Insertion Loss (75Ω)


Direct to Module Using provided adapter cables
VSWR (75 Ω )


Crosstalk (50Ω) Crosstalk (75Ω)



Chapter 9 Specifications Module Specifications
Software Specifications
Digital Input / Output
BenchLink Data Logger (not included with Option 001)
System Requirements [1] PC Hardware:
Port 1, 2: Vin(L): Vin(H): Vout(L): Vout(H): Vin(H) Max: Alarming: Speed Latency Read/Write Speed:
8 Bit, input or output, non-isolated < 0.8V (TTL) > 2.0V (TTL) < 0.8V @ Iout = - 400 mA > 2.4V @ Iout = 1 mA < 42V with external open drain pull-up Maskable pattern match or state change 4 ms (max) alarm sampling 5 ms (typical) to 34970A alarm output 95/s
486, 66 MHz, 16 MB RAM, 12 MB disk space Windows® 3.1, Windows 95, Windows NT® 4.0
Operating System:
Computer Interfaces [2] GPIB:
Agilent 82335B, 82340A/B/C, 82341A/B/C/D National Instruments AT-GPIB/TNT, PCI-GPIB Agilent E5810A (Windows 98/Me/ NT/2000/XP Professional) PC COM 1 to 4
LAN-to-GPIB:
100 ch/s, 2 strip charts displayed
226 - 1 (67,108,863) 100 kHz (max), rising or falling edge, programmable 1 Vp-p (min) 42 Vpk (max) 0V or TTL, jumper selectable TTL-Hi, TTL-Lo, or none Manual or Read+Reset 85/s
[1] Software provided on CD-ROM; includes utility to create floppy disks for installation [2] Interface and drivers must be purchased and installed separately [3] 90 MHz Pentium®, 20 MB RAM
Signal Level:
Analog Voltage (DAC) Output
DAC 1, 2: Resolution: Iout: Settling Time: Accuracy: 1 year ±5 °C Temp Coefficient:
±12V, non-isolated (earth referenced) 1 mV 10 mA max [1] 1 ms to 0.01% of output ±(% of output + mV) 0.25% + 20 mV ±(0.015% + 1 mV) / °C
[1] Limited to 40 mA total for all three slots (six DAC channels)
Totalize Input

Chapter 9 Specifications Product and Module Dimensions


Chapter 9 Specifications To Calculate Total Measurement Error
Each specification includes correction factors which account for errors present due to operational limitations of the internal DMM. This section explains these errors and shows how to apply them to your measurements. Refer to “Interpreting Internal DMM Specifications,” starting on page 416, to get a better understanding of the terminology used and to help you interpret the internal DMM’s specifications.
The internal DMM’s accuracy specifications are expressed in the form: (% of reading + % of range). In addition to the reading error and range error, you may need to add additional errors for certain operating conditions. Check the list below to make sure you include all measurement errors for a given function. Also, make sure you apply the conditions as described in the footnotes on the specification pages.
Understanding the “ % of reading ” Error The reading error compensates for inaccuracies that result from the function and range you select, as well as the input signal level. The reading error varies according to the input level on the selected range. This error is expressed in percent of reading. The following table shows the reading error applied to the internal DMM’s 24-hour dc voltage specification.
Reading Error (% of reading)
10 Vdc 10 Vdc 10 Vdc
10 Vdc 1 Vdc 0.1 Vdc
0.0015 0.0015 0.0015
≤ 150 µV
≤ 15 µV ≤ 1.5 µV
Reading Error Voltage · Range Input Level

Chapter 9 Specifications To Calculate Total Measurement Error
Understanding the “ % of range ” Error The range error compensates for inaccuracies that result from the function and range you select. The range error contributes a constant error, expressed as a percent of range, independent of the input signal level. The following table shows the range error applied to the DMM’s 24-hour dc voltage specification.
Range Error (% of range)
10 Vdc 10 Vdc 10 Vdc
10 Vdc 1 Vdc 0.1 Vdc
0.0004 0.0004 0.0004
≤ 40 µV ≤ 40 µV ≤ 40 µV
Total Measurement Error To compute the total measurement error, add the reading error and range error. You can then convert the total measurement error to a “percent of input” error or a “ppm (part-per- million) of input” error as shown below.
% of input error = Total Measurement Error
Input Signal Level × 100
ppm of input error = Total Measurement Error
Input Signal Level × 1,000,000
Assume that a 5 Vdc signal is input to the DMM on the 10 Vdc range. Compute the total measurement error using the 90-day accuracy specification of ±(0.0020% of reading + 0.0005% of range).
Reading Error = 0.0020% x 5 Vdc = 100 µV
Range Error = 0.0005% x 10 Vdc = 50 µV
Total Error = 100 µV + 50 µV = ± 150 µV = ± 0.0030% of 5 Vdc = ± 30 ppm of 5 Vdc
Range Error Voltage · Range Input Level

Chapter 9 Specifications Interpreting Internal DMM Specifications
This section is provided to give you a better understanding of the terminology used and will help you interpret the internal DMM’s specifications.
The “number of digits” specification is the most fundamental, and sometimes, the most confusing characteristic of a multimeter. The number of digits is equal to the maximum number of “9’s” the multimeter can measure or display. This indicates the number of full digits. Most multimeters have the ability to overrange and add a partial or “1⁄2” digit.
For example, the internal DMM can measure 9.99999 Vdc on the 10 V range. This represents six full digits of resolution. The internal DMM can also overrange on the 10 V range and measure up to a maximum of 12.00000 Vdc. This corresponds to a 61⁄2-digit measurement with 20% overrange capability.
Sensitivity is the minimum level that the internal DMM can detect for a given measurement. Sensitivity defines the ability of the internal DMM to respond to small changes in the input level. For example, suppose you are monitoring a 1 mVdc signal and you want to adjust the level to within ±1 µV. To be able to respond to an adjustment this small, this measurement would require a multimeter with a sensitivity of at least 1 µV. You could use a 61⁄2-digit multimeter if it has a 1 Vdc or smaller range. You could also use a 41⁄2-digit multimeter with a 10 mVdc range.
For ac voltage and ac current measurements, note that the smallest value that can be measured is different from the sensitivity. For the internal DMM, these functions are specified to measure down to 1% of the selected range. For example, the internal DMM can measure down to 1 mV on the 100 mV range.

Chapter 9 Specifications Interpreting Internal DMM Specifications
Resolution is the numeric ratio of the maximum displayed value divided by the minimum displayed value on a selected range. Resolution is often expressed in percent, parts-per-million (ppm), counts, or bits. For example, a 61⁄2-digit multimeter with 20% overrange capability can display a measurement with up to 1,200,000 counts of resolution. This corresponds to about 0.0001% (1 ppm) of full scale, or 21 bits including the sign bit. All four specifications are equivalent.
Accuracy is a measure of the “exactness” to which the internal DMM’s measurement uncertainty can be determined relative to the calibration reference used. Absolute accuracy includes the internal DMM’s relative accuracy specification plus the known error of the calibration reference relative to national standards (such as the U.S. National Institute of Standards and Technology). To be meaningful, the accuracy specifications must be accompanied with the conditions under which they are valid. These conditions should include temperature, humidity, and time.
There is no standard convention among instrument manufacturers for the confidence limits at which specifications are set. The table below shows the probability of non-conformance for each specification with the given assumptions.
Mean ± 2 sigma Mean ± 3 sigma
4.5% 0.3%
Variations in performance from reading to reading, and instrument to instrument, decrease for increasing number of sigma for a given specification. This means that you can achieve greater actual measurement precision for a specific accuracy specification number. The 34970A is designed and tested to meet performance better than mean ±3 sigma of the published accuracy specifications.

Chapter 9 Specifications Interpreting Internal DMM Specifications
The 24-hour accuracy specification indicates the internal DMM’s relative accuracy over its full measurement range for short time intervals and within a stable environment. Short-term accuracy is usually specified for a 24-hour period and for a ±1 °C temperature range.
These long-term accuracy specifications are valid for a 23 °C ± 5 °C temperature range. These specifications include the initial calibration errors plus the internal DMM’s long-term drift errors.
Accuracy is usually specified for a 23 °C ± 5 °C temperature range. This is a common temperature range for many operating environments. You must add additional temperature coefficient errors to the accuracy specification if you are operating the internal DMM outside a 23 °C ± 5 °C temperature range (the specification is per °C).

Chapter 9 Specifications Configuring for Highest Accuracy Measurements
The measurement configurations shown below assume that the internal DMM is in its Factory Reset state. It is also assumed that manual ranging is enabled to ensure proper full scale range selection.
DC Voltage, DC Current, and Resistance Measurements:
AC Voltage and AC Current Measurements:
Frequency and Period Measurements:






























© Copyright Agilent Technologies, Inc. 1997-2003
The material contained in this document is provided “as is,” and is subject to being changed, without notice, in future editions. Further, to the maximum extent permitted by applicable law, Agilent disclaims all warranties, either express or implied with regard to this manual and any information contained herein, including but not limited to the implied warranties of mer- chantability and fitness for a particular purpose. Agilent shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or performance of this document or any information contained herein. Should Agilent and the user have a separate written agreement with warranty terms covering the material in this document that conflict with these terms, the warranty terms in the separate agreement will control.
Do not defeat power cord safety ground feature. Plug in to a grounded outlet.
No part of this manual may be repro- duced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies as governed by the United States and international copyright laws.
Do not use product in any manner not specified by the manufacturer.
Do not install substitute parts or perform any unauthorized modification to the product. Return the product to an Agilent Technologies Sales and Service Office for service and repair to ensure that safety features are maintained.
34970-90003, March 2003 (order as 34970-90101 manual set)
A WARNING notice denotes a hazard. It calls attention to an operating proce- dure, practice, or the like that, if not correctly performed or adhered to, could result in personal injury or death. Do not proceed beyond a WARNING notice until the indicated conditions are fully understood and met.
Edition 3, March 2003 Edition 2, October 1997 Edition 1, July 1997
Agilent Technologies, Inc. 815 14th Street S.W. Loveland, Colorado 80537 U.S.A.
The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license.
A CAUTION notice denotes a hazard. It calls attention to an operating proce- dure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met.
Product maintenance agreements and other customer assistance agreements are available for Agilent Technologies products. For assistance, contact your nearest Agilent Technologies Sales and Service Office. Further information is available on the Agilent web site at www.agilent.com/find/assist.
If software is for use in the performance of a U.S. Government prime contract or subcontract, Software is delivered and licensed as “Commercial computer soft- ware” as defined in DFAR 252.227-7014 (June 1995), or as a “commercial item” as defined in FAR 2.101(a) or as “Restricted computer software” as defined in FAR 52.227-19 (June 1987) or any equivalent agency regulation or contract clause. Use, duplication or disclosure of Software is subject to Agilent Technologies’ standard commer- cial license terms, and non-DOD Departments and Agencies of the U.S. Government will receive no greater than Restricted Rights as defined in FAR 52.227-19(c)(1-2) (June 1987). U.S. Government users will receive no greater than Limited Rights as defined in FAR 52.227-14 (June 1987) or DFAR 252.227-7015 (b)(2) (November 1995), as applicable in any technical data.
Microsoft® and Windows® are U.S. registered trademarks of Microsoft Corporation. All other brand and product names are trademarks or registered trademarks of their respective companies.
Agilent Technologies certifies that this product met its published specifications at the time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology, to the extent allowed by that organiza- tion’s calibration facility, and to the calibration facilities of other Interna- tional Standards Organization members.
Risk of electric shock
Main power disconnect: Unplug product from wall outlet and remove power cord before servicing. Only quali- fied, service-trained personnel should remove the cover from the instrument or connect external wiring to a module.
For continued protection against fire, replace the line fuse only with a fuse of the specified type and rating.
![Page 438 of the Agilent Technologies Data Acquisition Switch Unit (34970A) user manual — IEC 61326-1:1997+A1:1998 / EN 61326-1:1997+A1:1998 [1]](/cdn/reader/fa/fa93d151321fc3f91bd35e782a1cf396bd41b951fcf35403880ae3cf527678d4/images/page-438.webp?w=400)
Manufacturer’s Name:
Agilent Technologies, Inc.
Manufacturer’s Address:
815 14th Street SW Loveland, Colorado 80537 U.S.A.
Declares, that the product
Product Name: Data Acquisition / Switch Unit and Associated Modules Model Number: 34970A and 34901A through 34908A Product Options: This declaration covers all options of the above product.
Conforms with the following European Directives:
The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC (including 93/68/EEC) and carries the CE Marking accordingly.
Conforms with the following product standards:
CISPR 11:1990 / EN 55011:1991 IEC 61000-4-2:1995+A1:1998 / EN 61000-4-2:1995 IEC 61000-4-3:1995 / EN 61000-4-3:1995 IEC 61000-4-4:1995 / EN 61000-4-4:1995 IEC 61000-4-5:1995 / EN 61000-4-5:1995 IEC 61000-4-6:1996 / EN 61000-4-6:1996 IEC 61000-4-11:1994 / EN 61000-4-11:1994
Group 1 Class A 4kV CD, 8kV AD 3 V/m, 80-1000 MHz 0.5kV signal lines, 1kV power lines 0.5 kV line-line, 1 kV line-ground 3V, 0.15-80 MHz Dips: 30% 10ms; 60% 100ms Interrupt > 95%@5000ms
[1] The product was tested in a typical configuration with Agilent Technologies test systems. [2] This ISM device complies with Canadian ICES-001-1998.
Cet appareil ISM est conforme à la norme NMB-001-1998 du Canada.
Safety IEC 61010-1:1990+A1:1992+A2:1995 / EN 61010-1:1993+A2:1995 Canada: CSA C22.2 No. 1010.1:1992 UL 3111-1: 1994
![Agilent Technologies Data Acquisition Switch Unit (34970A) — IEC 61326-1:1997+A1:1998 / EN 61326-1:1997+A1:1998 [1] diagram (page 438)](/cdn/reader/fa/fa93d151321fc3f91bd35e782a1cf396bd41b951fcf35403880ae3cf527678d4/images/rimg-9.webp)
Date Ray Corson Product Regulations Program Manager
For further information, please contact your local Agilent Technologies sales office, agent or distributor.
EMC Standard Limit · July 18, 2001
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.