Specifications
81 Signametrics
Parameter 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
DMM is busy and can’t execute a polled read comm
FALSE
and.
Y
l. DMM entered busy state
e Value
Example t status
lledRe
SMX2040 ; SMX2042 ; SMX2044 ;
Description is ready DMM formatted for printing.
"sm204
lledR eading)
the string version of DMMPolledRead. See DMMPolledRead for more
Parame
DMM_OKA
Operation successfu
Negativ
Error code
in = DMMPolledReadCmd(0);
DMMPo adStr
If DMM
, return the next reading from the
#include 032.h"
int DMMPo eadStr(int nDmm, LPSTR lpszR
Remarks This function is
details.
ter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR Points to a buffer (at least 16 characters long) to hold the
, a
nt value in exponential notation, and a units specifier.
Return Value ng length is OK.
Value
converted result. The return value will consist of a leading sign
floating-poi
The return value is one of the following constants, or the stri
Meaning
DMM is not ready
DMM is ready, and reading is placed
FALSE
TRUE
at lpszReading
lue
Erro
Example char strMsg
MX2044",M
ad
SMX2040 ; SMX2042 ; SMX2044
Negative Va
r code
[32];
if(DMMPolledReadStr(0, strMsg)) MessageBox(0,strMsg,
"S B_OK); // display readings;
DMMRe
;
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com