CONFigure Subsystem Introduction
The CONFigure command provides the most flexible way to program the instrument for measurements. When you execute this command, the instrument uses default values for the requested measurement configuration (like the MEASure? command). However, the measurement is not automatically started and you can change some measurement attributes before actually initiating the measurement. This allows you to incrementally change the instrument's configuration from the default conditions.
Use the INITiate or READ? command to initiate the measurement. |
For a comparison of the MEASure? and CONFigure commands, see MEASure? Versus CONFigure. |
The CONFigure commands are valid only with the following Agilent 34980A plug-in modules which can be configured to be part of a scan. If the internal DMM is not installed or is disabled, then no DMM-related configurations are allowed. However, scanning is allowed on the digital input and totalizer channels even without the internal DMM.
34921A |
40-Channel Armature Multiplexer (including temperature and current) |
34922A |
70-Channel Armature Multiplexer |
34923A |
40/80-Channel Reed Multiplexer |
34924A |
70-Channel Reed Multiplexer |
34925A |
40/80-Channel FET Multiplexer |
34950A |
64-Bit Digital I/O Module (digital input and counter channels only) |
34952A |
Multifunction Module (digital input and totalizer channels only) |
Command Summary
Hold the mouse cursor over a command to view the full syntax statement. |
Default Settings for the CONFigure Command
With the CONFigure command, you can select the function, range, and resolution all in one command. All other measurement parameters are set to their default values as shown below. The CONFigure command does not redefine the scan list as set by the ROUTe:SCAN command.
Measurement Parameter |
CONFigure Setting |
Integration Time |
1 PLC |
Input Resistance |
10 MΩ (fixed for all DCV ranges) |
AC Filter / Frequency Timeout |
20 Hz (medium filter) |
Range |
Autorange Enabled |
Autozero |
Enabled |
Offset Compensation |
Disabled |
Channel Delay |
Automatic Delay |
Sample Count |
1 Sample per Trigger |
Sweep Count |
1 Scan Sweep |
Trigger Count |
1 Trigger |
Trigger Delay |
Automatic Delay |
Trigger Source |
Immediate |
Using the CONFigure Command
The following program segment shows how to use the CONFigure command with the READ? command to make externally-triggered measurements on two channels. The ROUTe:SCAN command adds the channels to the active scan list. Note that if ROUTe:SCAN was omitted, the program below would return a single internal DMM reading (no automatic channel switching would be involved). The CONFigure command configures the instrument for dc voltage measurements on two channels on the module in slot 3. Note that the CONFigure command 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 specified channels once when the rear-panel Ext Trig Input line is pulsed low, and then transfers the readings to reading memory and the instrument's output buffer. The default range (autorange) and resolution (1 PLC) are used for the measurements.
CONF:VOLT:DC
(@3010,3011)
ROUT:SCAN (@3010,3011)
TRIG:SOUR EXT
READ?
Typical Response: +4.27150000E-03
The following program segment is similar to the previous example but it uses the INITiate command 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 channels immediately (internal triggering), and sends the readings to reading memory. The FETCh? command transfers the readings from reading memory to the instrument's output buffer.
CONF:VOLT:DC (@3010,3011)
ROUT:SCAN (@3010,3011)
TRIG:SOUR IMM
INIT
FETC?
Typical Response: +5.34250000E-03
Storing readings in memory using the INITiate command is generally faster than sending readings to memory 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 at least 500,000 readings in internal reading memory.
To stop a scan that has been started using the INITiate command, send an ABORt command or Device Clear. |
The following program segment configures the instrument for 2-wire resistance measurements, triggers the internal DMM to scan two channels using the READ? command (channels 3 and 8 in slot 1), and then transfers the readings to reading memory and the instrument's output buffer. The 1 kΩ range is selected with 1Ω resolution.
CONF:RES 1000,1,(@1003,1008)
ROUT:SCAN (@1003,1008)
READ?
Typical Response: +3.27150000E+02,+1.32130000E+02
If you omit the <ch_list> parameter, the configuration applies to the internal DMM, independent of any channels or a scan list (the scan list is not redefined). The following program segment configures the instrument for 2-wire resistance measurements, triggers the internal DMM to make one measurement using the INITiate, and then stores the reading in memory. The 10 kΩ range is selected with 100Ω resolution.
CONF:RES 10000,100
INIT
FETC?
Typical Response: +5.95850000E+03