MEASure:COUNter:TOTalize?

34980A

MEASure:COUNter:TOTalize?

Syntax

MEASure:COUNter:TOTalize? [<mode>,] (@<ch_list>)

Description

This command configures the specified counter channels on the 34950A Digital I/O Module for totalizer count measurements and immediately initiates the measurement. You can read the totalizer either with or without resetting the count. The results are sent directly to the instrument's output buffer.

The MEASure? command sets the counter parameters to their default values as shown below.

Parameter

MEASure? Settings

Slope

POSitive (rising edge)

Input Threshold Voltage

2.5 V

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<mode>

Discrete

{READ|RRESet}

READ (read without resetting the count)

<ch_list>

Numeric

One or more counter channels in the form (@sccc).
Select from s301 or s302.

This is a required parameter

Remarks

  • To read the totalizer without resetting the count, select the READ parameter. To read the totalizer and reset the count to "0" after it is read, select the RRESet parameter (this means "read and reset").

  • The maximum count is 4,294,967,295 (232 - 1). The count rolls over to "0" after reaching the maximum allowed value.

  • If the count rolls over to "0", the "Totalizer Overflow" bit is set in the Slot Event Registers group (see STATus:MODule:SLOT[n]:CONDition? and STATus:MODule:SLOT[n]:EVENt? commands). For more information on the SCPI Status System for the Agilent 34980A, see Status System Introduction.

  • Sending the MEASure? command clears reading memory and resets the triggering system.

Return Format

The command returns an unsigned decimal value representing the count on each totalizer channel specified (a full 32-bit count is returned). If you have specified RRESet, the count is reset to "0" after it is read. Multiple responses are separated by commas. The output from this command is affected by the settings of the FORMat:READing commands.

Example

The following command configures counter channel 301 on the module in slot 3 to be read without resetting its count. The value is transferred to the instrument's output buffer.

MEAS:COUN:TOT? READ,(@3301)

Typical Response:  1.321300000E+03

See Also

CONFigure:COUNter:TOTalize

FORMat:READing

STATus:MODule:SLOT[n]:CONDition?

STATus:MODule:SLOT[n]:EVENt?