Signametrics
102
marks
To use this function the DMM must be in ACV measurement function, and a valid range
must be selected. A double-precision floating-point Median voltage result is stored in the
cation pointed to by
lpdResult
.
This measurement is a composite function which
ke over 10 seconds to perform. See the
Parame
Re
lo
utilizes several sub functions, and could ta
Median measurement section of the manual for more detail.
ter
Type/Description
nDmm
the DMM. DMMs are numbered starting with zero.
lpdResul
Return Value
Value
int
Identifies
t
double *
Points to the location to hold the median voltage.
The return value is one of the following constants.
Meaning
DMM_O
alue
Example
double Median; int status = DMMReadMedian(0, &Median);
adNor
SM2060
;
SM2064
;
Description
Take a reading that is in base value.
#include "SM206032.h"
int DMMReadNorm(int nDmm, double *lpdRead)
Remarks
This function is similar to
DMMRead()
. It returns a double floating-point reading. The
Parameter
KAY
Operation successfully completed.
Negative V
Error code
DMMRe
m
returned value is in base units. That is, it returns 0.2 for a 200 mV input and 1e6 for a 1.0
M
Ω
. Very large values are indication of over range condition.
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
double *
Pointer to a location where the reading is saved.
Return Value
teger value version code or an error code.
Value
lpdRead
In
Meaning
DMM_E_RANGE
Over/Under range error.
Negative Value
Error code
KAY
Valid return.
DMM_O
Example
double reading; int status = DMMReadNorm(0, &reading);
DMMReadPeakToPeak
SM2060
SM2064
;