Signametrics
96
d
ing
nction for base units read function, or
DMMReadStr()
to return
the results as formated string of the
DMMRead()
.Very large values are indication of
r range condition.
ter
Remarks
Executing
the
DMMRead
function causes the DMM to perform a single conversion an
retrieve the result. The DMM, performs all scaling and conversion required, and returns
the result as a 64-bit double-precision floating-point number in the location pointed to by
lpdResult
. It can read all the
Primary
functions (those that can be selected us
DMMSetFunction()
and
DMMSetRange()
). Returned result is a scaled value which is
normilized to the selected range. That is . That is, it returns 200 for 200mV input in the
240 mV range, and 100 for 100 k
Ω
input in the 330k
Ω
range. Alternatively use the
DMMReadNorm()
fu
ove
Parame
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdResul
hold the next reading.
Return Value
The return valu
the following constants.
Value
t
double *
Points to the location to
e is one of
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
Positive Value
Warning code, including over range.
xample
s;
100; i++)
DMMRead(0, &dResults[i]);// Read to a buffer
eadBuf
SM2060
;
SM2064
;
Description
internal buffer.
Remarks
ad the next m
e DMM internal buffer, pointed to by an internal
buffer pointer, and increment the pointer. Store the measurement as a 64-bit double-
precision floati
this
operation to the number of samples (size) of the buffer. See
DMMArmAnalogTrigger()
nctions for m
Parame
E
double dResults[100];
int statu
or(i=0; I <
F
DMMR
fer
Return the next double floating-point reading from the DMM
#include "SM206032.h"
int DMMReadBuffer
(
int
nDmm, double
*lpdResult
)
Re
easurement from th
ng-point number in the location pointed to by
lpdResult
. Limit using
fu
ore information about the buffer size.
ter
Type/Description
nDmm
fies the DMM. DMMs are numbered starting with zero.
ich holds the stored measuremnt.
Return Value
int
Identi
lpdResult
double *
Points to the location wh
The return value is one of the following constants.