[SENSe:]TOTalize:DATA?

34980A

[SENSe:]TOTalize:DATA?

Syntax

[SENSe:]TOTalize:DATA? (@<ch_list>)

Description

This command reads the count on the specified totalizer channels. If you have configured the count to be reset when it is read (see CONFigure:TOTalize and [SENSe:]TOTalize:TYPE commands), then this command will reset the count to "0" after it is read. The count is reset regardless of whether the specified channels are in a scan list or even whether a scan is in progress.

Used With:

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

  • 34952A Multifunction Module (totalizer channels only)

Parameters

Name

Type

Range of Values

Default Value

<ch_list>

Numeric

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

34950A: s301, s302
34952A: s005

This is a required parameter

Remarks

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

  • The output from this command is affected by the settings of the FORMat:READing commands. Depending on the formats selected, each reading may or may not be stored with measurement units, time stamp, channel number, and alarm status information.

Return Format

The command returns an unsigned decimal value representing the count on each totalizer channel specified (a full 32-bit count is returned). Multiple responses are separated by commas.

Examples

The following command reads the count on totalizer channels 301 and 302 on the 34950A in slot 3.

TOT:DATA? (@3301,3302)

Typical Response:  1.321300000E+03,3.874300000E+03

The following command reads the count on totalizer channel 5 on the 34952A in slot 5.

TOT:DATA? (@5005)

Typical Response:  5.764300000E+03

See Also

CONFigure:TOTalize

[SENSe:]TOTalize:TYPE