Operator`s manual

31 Signametrics
Remarks This function returns a double floating value that is the percent deviation relative to the
reading made just before the relative function was activated (DMMSetRelative). This
function is useful in quantifying measurement errors. It can be used for bandwidth
measurements or DC evaluation, or percent variation of a device under test over
temperature. The absolute value of lpdDev can be used as a pass/fail window for
production.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdDev
double * Pointer where the deviation value is to be saved.
Return Value Integer error code..
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example double error;
int status = DMMGetDeviation(0, &error);
DMMGetDeviatStr
Description Get percent deviation from the reading at the time relative was activated.
#include "SMU2060.H"
int DMMGetDeviatStr(int nDmm, LPCSTR lpszDev)
Remarks This function is the same as the DMMGetDeviation(), with the exception that it returns
a string. See DMMGetDeviation() for more details.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszDev
LPCSTR Points to a buffer (at least 64 characters long) to hold the
result. The return value will consist of a leading sign a floating-point,
and a % units specifier
Return Value Integer string length if successful, or an error code.
Value
Meaning
Negative Value
Error code
Example char cBuf[64];
int strLength = DMMGetDeviatStr(0, cBuf);
DMMGetDiffMnMxStr
Description Returns the difference between the max and min values as string.
#include "SMU2060.H"