Signametrics
104
ust be in ACV measurement function,
nd a valid range must be selected for this operation. It makes a single period
e result as a double-precision floating-point number in the
esult
. See
DMMFrequencyStr()
for more details.
Remarks
This is a
Secondary
function, that is the DMM m
a
measurement, and stores th
location pointed to by
lpdR
Parameter
Type/Description
nDmm
lpdResul
Return Value
int
Identifies the DMM. DMMs are numbered starting with zero.
t
double *
Points to the location which holds the period.
The return value is one of the following constants.
Value
Meaning
DMM_OKAY
e Value
Example
double d;
int status;
eadPeriod(0, &d);
DMMReadStr
SM2060
;
SM
Description
e
from the DMM formatted for printing.
em
ction is the string version of
DMMRead()
. It reads the next measurement result,
s all scaling and conversion required, and returns the result as a string formatted
nting. The print format is determined by the range and function. See
DMMRead()
for more details.
Parameter
Operation successfully completed.
Negativ
Error code
status = DMMR
2064
;
Return th next reading
#include "SM206032.h"
int
DMMReadStr
(
int
nDmm, LPSTR
lpszReading
)
R
arks
This fun
perform
for pri
Type/Description
nDmm
ies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR
Points to a buffer (at least 64 characters long) to hold the
floating-point value in exponential notation, and a units specifier.
Return Value
Value
int
Identif
converted result. The return value will consist of a leading sign, a
The return value is one of the following constants, or the string length is OK.
Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
DMM_E_RANGE
DMM over range error occurred.
Example
char cBuf[64]; int status = DMMReadingStr(0, cBuf);