105
Signametrics
DMMReadTotalizer
SM2060
SM
Description
Read the totalized value accumulated by the Totalizer function.
nclude "SM2
Remarks
This function reads the total value accumulated by the Totalizer function. For details see
DMMStartTot
2064
;
#i
06032.h"
long
DMMReadTotalizer(int
nDmm
)
alize
.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
lu
r if negative one of the following constants.
Value
The return va e is the totalized count, o
Meaning
Negative Value
Error code
eadWid
SM2060
SM2064
;
Description
Return the pulse width of the input signal.
MMReadWidth
i
Pol, double
*lpdWidth
)
Remarks
This is function requires the DMM to be in ACV measurement range appropriate for the
input signal amplitude. It makes a Positive or Negative signal width measurements,
depending on th
location pointed
Threshold DAC
Parame
Example
long total = DMMReadTotalizer(0);
DMMR
th
#include "SM206032.h"
int D
(
int
nDmm, int
e value of
iPol
, placing the double-precision floating-point result in a
to by
lpdWidth
. The measured widths are affected by the setting of the
.
ter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
int
0 indicates to the DMM to measure the negative part of the signal,
1 indicates the positive width.
lpdNwid
Return Value
e is one of the following constants.
iPol
double *
Points to the location which holds the negative width.
T
he return valu
Value
Meaning
DMM_
pleted.
Negativ
xample
double w; int state; state = DMMReadWidth(0, 1, &w);
OKAY
Operation successfully com
e Value
Error code
E