Operator`s manual
Signametrics 84
Description Returns the minimum as a formatted string.
#include "SM206032.h"
int DMMGetMinStr(int nDmm, LPSTR lpszReading)
Remarks This function is the string version of DMMGetMin. It returns the result as a string
formatted for print int format is determined by the range and function. See
DMMGetMin for more details.
Parameter
ing. The pr
Type/Description
nDmm
MMs are numbered starting with zero.
lpszReading
LPSTR Points to a buffer (at least 64 characters long) to hold the
result.
urn value is one of the following constants, or the string length is OK.
Value
int Identifies the DMM. D
Return Value The ret
Meaning
DMM_OKAY
.
Negative Val
DMMGetRang
SM2060 ; SM2064 ;
Description Get DMM range code.
#include "SM206032.h"
#include "DM
int DMMGetRange(int nDmm)
Remarks This function returns the DMM range code. The range codes are in the sequence of 0, 1,
2, 3, … where 0 is the lowest range.
Parameter
Valid return
ue
Error code
Example char cBuf[64];
int status = DMMGetMinStr(0, cBuf);
e
MUser.h"
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting
with zero.
Return Value Integer value corresponding to the currently set DMM range, or an error code.
Value
Meaning
Zero or positive value
Range; zero being the lowest
a ;
GetRange == 0) printf("Lowest range selected");
Negative Value
Error code
Ex mple int id
if(DMM