CONFigure:COUNter:TOTalize
Syntax
CONFigure:COUNter:TOTalize [<mode>,] (@<ch_list>)
Description
This command enables or disables an automatic reset of the count on the specified counter channels on the 34950A Digital I/O Module. 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").
Since the totalizer count is not an initiated measurement, configuring the specified channels will automatically start the totalize operation (an internal gate is not required). You can, however, use the [SENSe:]COUNter:INITiate and [SENSe:]COUNter:ABORt commands to start and stop the totalize operation.
The CONFigure command sets the counter parameters to their default values as shown below.
Parameter |
CONFigure 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).
|
This is a required parameter |
Remarks
To read the count (measured in counts), use the [SENSe:]COUNter:DATA? or [SENSe:]COUNter:TOTalize[:DATA]? command.
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 CONFigure command clears reading memory and resets the triggering system.
Example
The following command configures counter channels 301 and 302 on the module in slot 3 to be read without resetting their count.
CONF:COUN:TOT
READ,(@3301,3302)
COUN:TOT:DATA? (@3301,3302)
Typical Response: 1.321300000E+03,4.762300000E+03
See Also
[SENSe:]COUNter:TOTalize[:DATA]?