![Signametrics SMX2040 Operator'S Manual Download Page 87](http://html1.mh-extra.com/html/signametrics/smx2040/smx2040_operators-manual_1268484087.webp)
Signametrics
86
Rem
counter is not engaged, select it. Make a single frequency measurement,
t double-precision floating-point number in the location
sult
.
See
DMMFrequencyStr()
for more details.
Parame
arks
If frequency
and store the result as a 64-bi
pointed to by
lpdRe
ter Type/Description
nDmm
fies the DMM. DMMs are numbered starting with zero.
lpdResul
uency.
lue
Value
int
Identi
t
double FAR *
Points to the location to hold the freq
Return Va
The return value is one of the following constants.
Meaning
DMM_OKAY
lly completed.
E_INIT
.
DMM
DMM_C
range.
Example
double
d;
int status = DMMReadFrequency(0, &d);
DMMRea
ySt
SMX2040
SMX2042
;
SMX2044
;
Description
the DMM.
#include "sm204032.h"
equencyStr
(
int
nDmm, LPSTR
lpszFrequency
)
ated string
.
Operation successfu
DMM_
DMM is uninitialized. Must be initialize prior to using any function
DMM_E_
Invalid DMM number.
NT_RNG
Frequency counter is over or under
dFrequenc
r
Return the next string containing frequency reading from
DMMReadFr
int
Remarks
This is the string version of
DMMReadFrequency().
It returnes a form
containing the measured frequency. For more details read about
DMMReqadFrequency()
Parameter Type/Description
nDmm
lpszFreq
Return Value
Value
int
Identifies the DMM. DMMs are numbered starting with zero.
uency
LPSTR
Points to the location which holds the formatted reading
string. Allow minimum of 64.
The return value is one of the following constants.
Meaning
DMM_OKAY
Op
mpleted.
ue
Er
Example
char
buffer[64];
int status = DMMReadFrequencyStr(0, buffer);
eration successfully co
Negative val
ror code
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com