Signametrics
36
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double Mx; int status = DMMGetMax(0, &Mx);
DMMGetMaxStr
Description
Returns the maximum as a formatted string.
#include "SMU2060.H"
int
DMMGetMaxStr
(
int
nDmm,
LPSTR
lpszReading
)
Remarks
This function is the string version of
DMMGetMax
. It returns the result as a string
formatted for printing. The print format is determined by the range and function. See
DMMGetMax
for more details.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR
Points to a buffer (at least 64 characters long) to hold the
result.
Return Value
The return value is one of the following constants, or the string length is OK.
Value
Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
Example
char
cBuf[64];
int status = DMMGetMaxStr(0, cBuf);
DMMGetMin
Description
Get Minimum reading history.
#include "SMU2060.H"
int
DMMGetMin(int
nDmm
, double *
lpdMax
)
Remarks
This function returns a double floating value that is the minimum (of the Min/Max
function) value since either a function change, range change or a call to the
DMMClearMinMax
() function was made. This value is updated every time a
measurement is performed using
DMMRead
,
DMMReadStr
or
DMMReadNorm
.