Operator`s manual
Signametrics 84
Remarks This is a Secondary function and the DMM must be in ACV measurement function, and
nt Crest Factor is stored in the
location pointed to by lpdResult. This measurement is a composite function, utilizing
ub func ould take over 10 seconds to perform. See the Crest Factor
measurement section of the manual for more detail.
a valid range must be set. A double-precision floating-poi
several s tions, and c
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
uble * Points to the location to hold the Crest Factor.
Value
lpdResult
do
Return Value The return value is one of the following constants.
Meaning
DMM_OKAY
Operation successfully completed.
Negativ
Example double
DMMReadDut
SM2040 SM2042 ;
Description Return percent duty cycle of ACV signal.
#include "sm204032.h"
int DMMReadDutyCycle(int nDmm, double *lpdDcy)
Remarks This is a Secondary function and the DMM must be in AC measurement function, and a
valid range must be set. 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
e Value
Error code
CF; int status = DMMReadCrestFactor(0, &CF);
yCycle
SM2044 ;
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);