85
Signametrics
lue
Value
Return Va
The return value is one of the following constants.
Meaning
DMM_OKAY
lly completed.
ue
Example
F; int st
SMX2040
SMX2042
;
SMX2044
Description
ercent
"sm2
FAR *lpdDcy
)
Remarks
on
measurement function, and a
us
signal. It is stored as
numbers in the location pointed to by
lpdDcy
. The
shold DAC.
Parameter
Operation successfu
Negative Val
Error code
double C
atus = DMMReadCrestFactor(0, &CF);
DMMReadDutyCycle
;
Return p
duty cycle of ACV signal.
#include
04032.h"
int DMMReadDutyCycle
(
int
nDmm, double
This is a
Sec
valid range m
dary
function and the DMM must be in AC
t be set. It returns percent duty cycle of the
double-precision floating-point
measured duty cycle is effected by the setting of the Thre
Type/Description
Identifies the DMM. DMMs are numbered starting with zero.
lpdDcy
double FAR *
Points to the location which holds the duty cycle.
Return Value
he return value is one of the following constants.
Value
nDmm
int
T
Meaning
DMM_OKAY
Operation successfully completed.
Negativ
Example
DMMReadFrequency
SMX2040
SMX2042
;
SMX2044
Description
he next
int DMMReadFrequency
(
int
nDmm, double
FAR *lpdResult
)
e Value
Error code
double dcy; int state; state = DMMReadDutyCycle(0, &dcy);
;
Return t
double floating-point frequency reading from the DMM.
#include "sm204032.h"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com