Operator`s manual

85 Signametrics
DMMReadFrequency
SM2040 SM 2044 ;
Description Return the next do
nclude "sm204
le *lpdResult)
Remarks If frequency count le frequency measurement,
and store the resul oint number in the location
pointed to by lpdResul for more details.
2042 ; SM
uble floating-point frequency reading from the DMM.
#i
032.h"
int DMMReadFrequency(int nDmm, doub
er is not engaged, select it. Make a sing
t as a 64-bit double-precision floating-p
t. See DMMFrequencyStr()
Parameter Type/Description
nDmm
int
do ts to the location to hold the frequency.
s.
Value
Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
uble * Poin
Return Value The return value is one of the following constant
Meaning
DMM_
DMM is uninitialized. Must be initialize prior to using any function.
Invalid DMM number.
adFrequency(0, &d);
DMMReadInd
SM2042
Description
DMMRead m, double *lpdResult)
Remarks This is a Secon t
function, and a valid inductance value must have been read prior to using this function.
esulting Q is s n pointed to
lpdResult.
Parameter
OKAY
Operation successfully completed.
DMM_E_INIT
DMM_E_DMM
Example double d;
int status = DMMRe
uctorQ
SM2040 SM2044 ;
Return inductor’s Q value.
#include "sm204032.h"
int InductorQ(int nDm
dary function and the DMM must be in the Inductance measuremen
R
by
tored as double-precision floating-point number in the locatio
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
hold the inductor’s Q.
eturn Value rn value i e following constants.
lpdResult
double * Points to the location to
R The retu s one of th
Value Meaning