Signametrics
40
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iIndex
int
Index to the stored reading, can be 0 to the total of number of
readings taken mins 1.
lpdRdmg
double *
Pointer where the reading value is to be saved.
Return Value
Integer error code..
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double v;
int status = DMMGetStoredReading(0, 0, &v); // get the 1
st
reading
DMMGetType
Description
Get the type of the DMM.
#include "SMU2060.H"
int
DMMGetType
(
int
nDmm
)
Remarks
This function returns a value identifying the DMM model.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
DMM type Integer or an error code.
Value
Meaning
2055
SM2055 is at nDmm slot
Other positive value
Warning code
Negative Value
Error code
Example
int DMMtype = DMMGetType(0);
DMMGetVer
Description
Get DMM software driver version.
#include "SMU2060.H"
int
DMMGetVer
(
int
nDmm
, double
*
lpfResult
)
Remarks
This function returns the DMM software driver version, which is a double floating value.
Parameter
Type/Description