Signametrics
92
Negativ
Example
DMMPeriodSt
SM2060
SM2064
;
Description
clude "SM2
int DMMPeriodStr
Remarks
his function m
g formatted for
inting. The pr
e Value
Error code
int status = DMMOpenterminalCal(0);
r
Return the next DMM period reading, formatted for printing.
#in
06032.h"
(
int
nDmm, LPSTR
lpszReading
)
T
pr
akes a period measurement and returns the result as a strin
int format is fixed to five digits plus units, e.g., 150.01 ms. See
DMMFrequencyStr()
for more details.
Parameter
Type/Description
nDmm
int
umbered starting with zero.
LPSTR
ts to a buffer (at least 64 characters long) to hold the
converted result. The return value will consist of a leading sign, a
float
ion, and a units specifier.
ue
lowing constants.
Value
Identifies the DMM. DMMs are n
lpszReading
Poin
ing-point value in exponential notat
Return Val
The return value is one of the fol
Meaning
DMM_OKAY
Operation successfully terminated
e
Error code
DMM_CNT_RNG
Period measurement H/W is over or under range.
Example
char
tatus = DMMPeriodStr(0, cBuf);
DMMPolledRe
SM2060
;
SM2060
;
Negative Valu
cBuf[64];
int status;
s
ad
SM2064
;