CONFigure:TOTalize
Syntax
CONFigure:TOTalize [<mode>,] (@<ch_list>)
Description
This command enables or disables an automatic reset of the count on the specified totalizer channels. To read the totalizer during a scan without resetting the count, select the READ parameter. To read the totalizer during a scan and reset the count to "0" after it is read, select the RRESet parameter (this means "read and reset").
The CONFigure command does not place the instrument in the "wait-for-trigger" state. Use the INITiate or READ? command in conjunction with CONFigure to place the instrument in the "wait-for-trigger" state.
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 |
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.
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.
Selecting the RRESet mode performs a synchronized read and reset operation on the specified totalizer channels. If you were to use discrete commands, such as READ? and [SENSe:]TOTalize:CLEar:IMMediate, you would likely lose counts occurring between the two commands.
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.
Examples
The following command configures totalizer channels 301 and 302 on the 34950A in slot 2 to be read without resetting their count.
CONF:TOT READ,(@2301,2302)
The following command configures totalizer channel 5 on the 34952A in slot 4 to be reset to "0" after it is read.
CONF:TOT RRES,(@4005)