Operator`s manual
Signametrics 46
Value Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
DMM_E_RANGE
DMM over range error occurred.
Example char cBuf[64]; int status = DMMReadingStr(0, cBuf);
DMMSetAutoRange
Description Enable/Disable autorange operation of DMM
#include "SMU2060.H"
int DMMSetAutoRange(int nDmm, int bAuto)
Remarks This function enables or disables autorange operation of the DMM.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
bAuto
int Determines whether or not autoranging is done. The value TRUE
(1) enables autoranging, FALSE (0) disables it.
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Function succeeded.
Negative Value
Error code
Example status = DMMSetAutoRange(0, TRUE); /* enable autoranging */
DMMSetFunction
Description Set the DMM function.
#include "SMU2060.H"
#include "DMMUser.h"
int DMMSetFunction(int nDmm, int nFunc)
Remarks This function selects the DMM’s measurement function. The DMMUser.h file contains a
table of values defined as VDC, VAC, IAC, IDC, OHMS4W, OHMS2W etc... Not all
functions are available for all DMM types.