Operator`s manual

Table Of Contents
135 Signametrics
Remarks This function sets the Aperture to an integer multiple, iMultiple, of the specified power
line cycle. The line frequency, iLineFreq, can be 50Hz, 60Hz or 400Hz. The multiple
range can be 1 to 50. Also see DMMSetAperture().
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iLineFreq
int Identifies the powr line frequnecy. Can take a value of 50, 60 or
400.
bMultiple
int Defines the Aperture value as a multiple of power line cycles.
Can be set between 1 and 50.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Function succeeded.
Negative Value
Error code
Example status = DMMSetPLC(0, 60, 10); /* Set aperture to 166.667ms */
DMMSetPulseGen
2060 2064
Description Set the parameter of the pulse generator output.
#include "SMX2060.h"
#include "DMMUser.H"
int DMMSetPulseGen(int nDmm, double dPwidth, double dNwidth, int nPulses)
Remarks This function sets the parameters of the pulse generator source. dPwidth sets the positive,
or active width portion of the of the pulse, dNwidth sets the negative (0V) portion of the
pulse. nPulses sets the number of pulses to be generated, as well as the mode. Both
dPwidth and dNwidth are in seconds. dPwidth and dNwidth can be set between 25µ
(25.0e-6) and 3s (3.0). The value of nPulses can be set between 0 to 32,000. A value of
0 sets the pulse generator to a free running mode. Other values set the number of pulses
in a burst. The DMM must be set to the PULSE_GEN function prior to using this
function. The DMMSetDCVSource function controls the amplitude of the pulse (-10V
to +10V) while in pulse generator mode. If either dNwidth or dPwidth are greater than
0.0655s, the width resolution becomes 100us, and the minimum value of dNwidth and/or
dPwidth is 1.5ms. This function requires Driver version 1.60 and Microcode version 1.29
or higher.