Operator`s manual

Table Of Contents
Signametrics 136
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
dPwidth
double Sets the width of the active part of the pulse in seconds.
dNwidth
double Sets the width of the (0V) portion of the pulse in secondss.
nPulses
int Sets the generation mode and pulse count to be issued.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
Positive Value
Warning code
Example DMMSetFunction(0, PULSE_GEN);
DMMSetPulseGen(0, 0.0005, 0.0005, 0); // 1kHz square wave
DMMSetDCVSource(0, 5.0); // 5V amplitued (0V to 5V)
DMMSetRange
SMU2060 SMU2064
Description Set the DMM range for the present function.
#include "SMU2060.h"
int DMMSetRange(int nDmm, int nRange)
Remarks This function sets the range used by the DMM for the present function. The table of
values is defined by the _240mV, _2400uA, etc. In general, the lowest range is 0, next is
1 etc. Each function has a pre defined number of ranges as specified in the specification
section of this manual. Not all ranges are available for all DMM types. For instance the
SMU2064 has a 24 Ohms and 240Meg range, while the SMU2060 and does not.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
nRange
int A pre-defined constant corresponding to the desired range.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_RNG
Invalid DMM range value.
Example status = DMMSetRange(0, _240mA);