Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Трахтенберг М.Б. / Методички / Devices / Agilent-34401A-original.pdf
Скачиваний:
104
Добавлен:
29.06.2016
Размер:
2.37 Mб
Скачать

Chapter 4 Remote Interface Reference

Measurement Configuration Commands

Measurement Configuration Commands

See also “Measurement Configuration,” starting on page 51 in chapter 3.

FUNCtion "<function>"

Select a measurement function. The function must be enclosed in quotes in the command string (FUNC "VOLT:DC"). Specify one of the following strings.

VOLTage:DC

FRESistance (4-wire ohms)

VOLTage:DC:RATio

FREQuency

VOLTage:AC

PERiod

CURRent:DC

CONTinuity

CURRent:AC

DIODe

RESistance 2(-wire ohms)

 

 

 

FUNCtion?

4

Query the measurement function and return a quoted string.

 

<function>:RANGe {<range>|MINimum|MAXimum}

Select the range for the selected function. For frequency and period measurements, ranging applies to the signal’s input voltage, not its frequency (use FREQuency:VOLTage or PERiod:VOLTage). MIN selects the lowest range for the selected function. MAX selects the highest range. [Stored in volatile memory]

<function>:RANGe? [MINimum|MAXimum]

Query the range for the selected function.

<function>:RANGe:AUTO {OFF|ON}

Disable or enable autoranging for the selected function. For frequency

and period, use FREQuency:VOLTage or PERiod:VOLTage. Autorange thresholds: Down range at <10% of range; Up range at >120% of range. [Stored in volatile memory]

<function>:RANGe:AUTO?

Query the autorange setting. Returns “0” (OFF) or “1” (ON).

121

Chapter 4 Remote Interface Reference

Measurement Configuration Commands

<function>:RESolution {<resolution>|MINimum|MAXimum}

Select the resolution for the specified function (not valid for frequency, period, or ratio). Specify the resolution in the same units as the measurement function, not in number of digits. MIN selects the smallest value accepted, which gives the most resolution. MAX selects the largest value accepted which gives the least resolution. [Stored in volatile memory]

<function>:RESolution? [MINimum|MAXimum]

Query the resolution for the selected function. For frequency or period measurements, the multimeter returns a resolution setting based upon a 3 Hz input frequency.

<function>:NPLCycles {0.02|0.2|1|10|100|MINimum|MAXimum}

Select the integration time in number of power line cycles for the present function (the default is 10 PLC). This command is valid only for dc volts, ratio, dc current, 2-wire ohms, and 4-wire ohms. MIN = 0.02.

MAX = 100. [Stored in volatile memory]

<function>:NPLCycles? [MINimum|MAXimum]

Query the integration time for the selected function.

FREQuency:APERture {0.01|0.1|1|MINimum|MAXimum}

Select the aperture time (or gate time) for frequency measurements (the default is 0.1 seconds). Specify 10 ms (412 digits), 100 ms (default; 512 digits), or 1 second (612 digits). MIN = 0.01 seconds. MAX = 1 second.

[Stored in volatile memory]

FREQuency:APERture? [MINimum|MAXimum]

Query the aperture time for frequency measurements.

PERiod:APERture {0.01|0.1|1|MINimum|MAXimum}

Select the aperture time (or gate time) for period measurements

(the default is 0.1 seconds). Specify 10 ms (412 digits), 100 ms (default; 512 digits), or 1 second (612 digits). MIN = 0.01 seconds. MAX = 1 second.

[Stored in volatile memory]

PERiod:APERture? [MINimum|MAXimum]

Query the aperture time for period measurements.

122

Chapter 4 Remote Interface Reference

Measurement Configuration Commands

[SENSe:]DETector:BANDwidth {3|20|200|MINimum|MAXimum}

 

Specify the lowest frequency expected in the input signal. The multimeter

 

selects the slow, medium (default), or fast ac filter based on the frequency

 

you specify. MIN = 3 Hz. MAX = 200 Hz. [Stored in volatile memory]

 

[SENSe:]DETector:BANDwidth? [MINimum|MAXimum]

 

Query the ac filter. Returns “+3.000000E+00”, “+2.000000E+01”, or

 

“+2.000000E+02”.

 

[SENSe:]ZERO:AUTO {OFF|ONCE|ON}

 

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 multimeter goes to the

 

“wait-for-trigger” state. Autozero ONCE issues an immediate zero

 

 

measurement. [Stored in volatile memory]

 

[SENSe:]ZERO:AUTO?

 

Query the autozero mode. Returns “0” (OFF or ONCE) or “1” (ON).

4

 

INPut:IMPedance:AUTO {OFF|ON}

 

 

Disable or enable the automatic input resistance mode for dc voltage

 

measurements. With AUTO OFF (default), the input resistance is fixed

 

at 10 Mfor all ranges. With AUTO ON, the input resistance is set to

 

>10 Gfor the 100 mV, 1 V, and 10 V ranges. [Stored in volatile memory]

 

INPut:IMPedance:AUTO?

 

Query the input resistance mode. Returns “0” (OFF) or “1” (ON).

 

ROUTe:TERMinals?

 

Query the multimeter to determine if the front or rear input terminals

 

are selected. Returns “FRON” or “REAR”.

 

123

Chapter 4 Remote Interface Reference

Math Operation Commands

Math Operation Commands

See also “Math Operations,” starting on page 63 in chapter 3.

There are five math operations available, only one of which can be enabled at a time. Each math operation performs a mathematical operation on each reading or stores data on a series of readings.

The selected math operation remains in effect until you disable it, change functions, turn off the power, or perform a remote interface reset. The math operations use one or more internal registers. You can preset the values in some of the registers, while others hold the results of the math operation.

The following table shows the math/measurement function combinations allowed. Each “X” indicates an allowable combination. If you choose a math operation that is not allowed with the present measurement function, math is turned off. If you select a valid math operation and then change to one that is invalid, a “Settings conflict” error is generated over the remote interface. For null and dB measurements, you must turn on the math operation before writing to their math registers.

 

DC V

AC V

DC I

AC I

2W

4W

Freq

Per

Cont Diode Ratio

Null

X

X

X

X

X

X

X

X

 

Min-Max

X

X

X

X

X

X

X

X

X

dB

X

X

 

 

 

 

 

 

 

dBm

X

X

 

 

 

 

 

 

 

Limit

X

X

X

X

X

X

X

X

X

 

 

 

 

 

 

 

 

 

 

CALCulate:FUNCtion {NULL|DB|DBM|AVERage|LIMit}

Select the math function. Only one function can be enabled at a time. The default function is null. [Stored in volatile memory]

CALCulate:FUNCtion?

Query the present math function. Returns NULL, DB, DBM, AVER, or LIM.

CALCulate:STATe {OFF|ON}

Disable or enable the selected math function. [Stored in volatile memory]

CALCulate:STATe?

Query the state of the math function. Returns “0” (OFF) or “1” (ON).

124

Chapter 4 Remote Interface Reference

Math Operation Commands

CALCulate:AVERage:MINimum?

Read the minimum value found during a min-max operation. The multimeter clears the value when min-max is turned on, when power has been off, or after a remote interface reset. [Stored in volatile memory]

CALCulate:AVERage:MAXimum?

Read the maximum value found during a min-max operation. The multimeter clears the value when min-max is turned on, when power has been off, or after a remote interface reset. [Stored in volatile memory]

CALCulate:AVERage:AVERage?

Read the average of all readings taken since min-max was enabled. The multimeter clears the value when min-max is turned on, when power has been off, or after a remote interface reset. [Stored in volatile memory]

CALCulate:AVERage:COUNt?

Read the number of readings taken since min-max was enabled. The multimeter clears the value when min-max is turned on, when power 4 has been off, or after a remote interface reset. [Stored in volatile

memory]

CALCulate:NULL:OFFSet {<value>|MINimum|MAXimum}

Store a null value in the multimeter’s Null Register. You must turn on the math operation before writing to the math register. You can set the null value to any number between 0 and ±120% of the highest range, for the present function. MIN = –120% of the highest range. MAX = 120% of the highest range. [Stored in volatile memory]

CALCulate:NULL:OFFSet? [MINimum|MAXimum]

Query the null value.

CALCulate:DB:REFerence {<value>|MINimum|MAXimum}

Store a relative value in the dB Relative Register. You must turn on the math operation before writing to the math register. You can set the relative value to any number between 0 dBm and ±200 dBm.

MIN = –200.00 dBm. MAX = 200.00 dBm. [Stored in volatile memory]

CALCulate:DB:REFerence? [MINimum|MAXimum]

Query the dB relative value.

125

Chapter 4 Remote Interface Reference

Math Operation Commands

CALCulate:DBM:REFerence {<value>|MINimum|MAXimum}

Select the dBm reference value. Choose from: 50, 75, 93, 110, 124, 125, 135, 150, 250, 300, 500, 600, 800, 900, 1000, 1200, or 8000 ohms.

MIN = 50 Ω . MAX = 8000 Ω . [Stored in non-volatile memory]

CALCulate:DBM:REFerence? [MINimum|MAXimum]

Query the dBm reference resistance.

CALCulate:LIMit:LOWer {<value>|MINimum|MAXimum}

Set the lower limit for limit testing. You can set the value to any number between 0 and ±120% of the highest range, for the present function.

MIN = –120% of the highest range. MAX = 120% of the highest range.

[Stored in volatile memory]

CALCulate:LIMit:LOWer? [MINimum|MAXimum]

Query the lower limit.

CALCulate:LIMit:UPPer {<value>|MINimum|MAXimum}

Set the lower limit for limit testing. You can set the value to any number between 0 and ±120% of the highest range, for the present function.

MIN = –120% of the highest range. MAX = 120% of the highest range.

[Stored in volatile memory]

CALCulate:LIMit:UPPer? [MINimum|MAXimum]

Query the upper limit.

DATA:FEED RDG_STORE, {"CALCulate"|""}

Selects whether readings taken using the INITiate command are stored in the multimeter’s internal memory (default) or not stored at all. In the default state (DATA:FEED RDG_STORE, "CALC"), up to

512 readings are stored in memory when INITiate is executed.

The MEASure? and CONFigure commands automatically select "CALC". With memory disabled (DATA:FEED RDG_STORE, ""), readings taken using INITiate are not stored. This may be useful with the min-max operation since it allows you to determine an average of the readings without storing the individual values. An error will be generated if you attempt to transfer readings to the output buffer using the FETCh? command.

DATA:FEED?

Query the reading memory state. Returns "CALC" or "".

126

Соседние файлы в папке Devices