Specifications

79 Signametrics
emarks This function makes a period measurement and returns the result as a string formatted for
g. The print format is fixed to five digits plus units, e.g., 150.01 ms. See
tr() for more details.
Parame
R
printin
DMMFrequencyS
ter
Type/Description
int Identi
nDmm
fies the DMM. DMMs are numbered starting with zero.
ters long) to hold the
t of a leading sign, a
Return Value
Value
lpszReading
LPSTR Points to a buffer (at least 16 charac
converted result. The return value will consis
floating-point value in exponential notation, and a units specifier.
The return value is one of the following constants.
Meaning
DMM_OKAY
lly terminated
ue
T_RNG
status = DMMPeriodStr(0, cBuf);
Operation successfu
Negative Val
Error code
DMM_CN
Period measurement H/W is over or under range.
Example char cBuf[17];
int status;
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com