Operator`s manual
Signametrics 80
Parame
ter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
Return Value DMM_OKAY if command accepted, else FALSE or an error code.
Value
Meaning
FALSE
DMM is busy and can’t execute a polled read command.
DMM_OKAY
Operation successful. DMM entered busy state
Negative Value
Error code
Example int status = DMMPolledReadCmd(0);
escription
int olledReadStr(int nDmm, LPSTR lpszReading)
is the string version of DMMPolledRead. See DMMPolledRead for more
Parameter
DMMPolledReadStr
SM2040 ; SM2042 ; SM2044 ;
D If DMM is ready, return the next reading from the DMM formatted for printing.
nclude
#i "sm204032.h"
DMMP
Remarks This function
details.
Type/Description
nDmm
starting with zero.
lpszRead
Return Value e return valu wing constants, or the string length is OK.
int Identifies the DMM. DMMs are numbered
ing
LPSTR Points to a buffer (at least 64 characters long) to hold the
converted result. The return value will consist of a leading sign, a
floating-point value in exponential notation, and a units specifier.
Th e is one of the follo
Value Meaning
FALSE
DM
TRUE
DMM is ready, and reading is placed at lpszReading
Negativ
Example char strMsg[64];
Polle sageBox(0,strMsg,
4",MB gs;
M is not ready
e Value
Error code
if(DMM
"SM204
dReadStr(0, strMsg)) Mes
_OK); // display readin