Signametrics
82
he DMM.
em
reads the next result from the DMM, performs all scaling and conversion
d returns the result as a 64-bit double-precision floating-point number in the
lpdResult
. It can read all the
Primary
functions (those that can be
selected using
DMMSetFunction()
and
DMMSetFuncRange()
)
Parameter
Description
Return the next floating-point reading from t
#include "sm204032.h"
int
Read(int
nDmm, double FAR *lpdResult)
DMM
R
arks
DMMRead
required, an
location pointed to by
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
double FAR *
Points to the location to hold the next reading.
Return Value
Value
The return value is one of the following constants.
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_RANGE
over range error occurred.
int status;
status = DMMRead(0, &d);
DMMRea
SMX2040
;
SMX2042 SMX2044
reading from the DMM internal buffer.
Rem
ext measurement from the DMM internal buffer, pointed to by an internal
increment the pointer. Store the measurement as a 64-bit double-
precision floating-point number in the location pointed to by
lpdResult
. See
Parame
DMM
Example
double d;
dBuffer
;
;
Description
Return the next double floating-point
#include "sm204032.h"
int DMMReadBuffer
(
int
nDmm, double
FAR *lpdResult
)
arks
Read the n
buffer pointer, and
DMMArmTrigger()
functions for more detail.
ter Type/Description
bered starting with zero.
lpdResult
double FAR *
Points to the location which holds the frequency.
Return Value
The return value is one of the following constants.
Value
nDmm
int
Identifies the DMM. DMMs are num
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error Code
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com