MEASure:TOTalize?

34980A

MEASure:TOTalize?

Syntax

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

Description

This command configures the specified totalizer channels and immediately sweeps through the list one time. You can read the totalizer either with or without resetting the count. The results are sent directly to the instrument's output buffer.

Used With:

  • 34950A Digital I/O Module (counter channels only)

  • 34952A Multifunction Module (totalizer channels only)

Parameters

Name

Type

Range of Values

Default Value

<mode>

Discrete

{READ|RRESet}

READ (read without resetting the count)

<ch_list>

 

Numeric

 

One or more totalizer channels in the form (@sccc).

34950A: s301, s302
34952A: s005

This is a required parameter

 

Remarks

  • By default, the instrument scans the list of channels in ascending order from slot 1 through slot 8 (channels are reordered as needed). If your application requires non-ordered scanning of the channels in the present scan list, you can use the ROUTe:SCAN:ORDered command to enable the non-sequential scanning mode. In either mode, channels which are not in the scan list are skipped during the scan.

  • When you specify a range of channels with this command, any channels that are invalid will be ignored (no error will be generated) but the first and last channel in the range must be valid for the selected function.

  • The instrument performs a temporary scan of the specified channels, independent of the present scan list.

  • 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.

  • The *RST command will clear the scan list and set all measurement parameters to their factory settings. The Instrument Preset (SYSTem:PRESet command) will not clear the scan list; however, this command will clear reading memory and all stored statistical data.

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.

Examples

The following command reads the count on totalizer channel 301 on the 34950A in slot 2 (the count is not reset after it is read). The value is transferred to the instrument's output buffer.

MEAS:TOT? READ,(@2301)

Typical Response:  1.321300000E+03

The following command reads the count on totalizer channel 5 on the 34952A in slot 4 (the count is reset to "0" on both channels after it is read). The values are transferred to the instrument's output buffer.

MEAS:TOT? RRESET,(@4005)

Typical Response:  2.737300000E+02

See Also

ROUTe:SCAN:ORDered

STATus:MODule:SLOT[n]:CONDition?

STATus:MODule:SLOT[n]:EVENt?