111
Signametrics
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double CF; int status = DMMReadCrestFactor(0, &CF);
DMMReadDutyCycle
SMU2060
SMU2064
Description
Return percent duty cycle of ACV signal.
#include "SMU2060.h"
int DMMReadDutyCycle
(
int
nDmm,
double
*
lpdDcy
)
Remarks
To use this function the DMM must be in AC measurement mode, and a valid range must
be selected. It returns percent duty cycle of the signal. It is stored as double-precision
floating-point numbers in the location pointed to by
lpdDcy
. The measured duty cycle is
effected by the setting of the Threshold DAC.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdDcy
double *
Points to the location which holds the duty cycle.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double dcy; int state; state = DMMReadDutyCycle(0, &dcy);
DMMReadSR
SM2060
SM2064
Description
Measure the value of a resistor which is in series with a capacitor.
#include "SMX2060.h"
#include "DMMUser.H"
int DMMReadSR
(
int
nDmm,
double
dC,
double
*
lpdR
)