Operator`s manual

111 Signametrics
be read using DMMReadTotalizer. A normal procedure would be to set the DMM to
the ACV function, select voltage range, set the Threshold DAC, start the totalizer, wait
for the time required, stop and read the total. The total number of events is limited to
1,000,000,000. The SM2044S product allows up to 90 kHz input, but reduces the
resolution of the count.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
Edge
int Identifies the edge of the counter. If TRAILING (0) count
negative edges, if LEADING (1) count positive edges
Return Value Integer error code.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example int status = DMMStartTotalizer(0, LEADING);
DMMStopTotalizer
SM2040 SM2042 ; SM2044 ;
Description Terminate the accumulation process of the Totalizer.
#include "sm204032.h"
int DMMStopTotalizer(int nDmm)
Remarks This function stops the accumulation process. Following this function, the totalized value
can be read. For details see DMMStartTotalizer.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Operation was successful.
Negative Value
Error code
Example int status = DMMStopTotalizer(0);
DMMTerminate
SM2040 ; SM2042 ; SM2044 ;