Operator`s manual

Table Of Contents
85 Signametrics
Remarks This function is the same as the DMMGetDeviation(), with the exception that it returns
a string. See DMMGetDeviation() for more details.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszDev
LPCSTR Points to a buffer (at least 64 characters long) to hold the
result. The return value will consist of a leading sign a floating-point,
and a % units specifier
Return Value Integer string length if successful, or an error code.
Value
Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Postive Value 100
Warning code
Example char cBuf[64];
int strLength = DMMGetDeviatStr(0, cBuf);
DMMGetDevLocation
SMU2060 SMU2064
Description Get a string containing the location of the DMM in the USB structure.
#include "SMU2060.h"
int DMMGetDevLocation(int nDmm, LPCSTR lpszLoc)
Remarks This service function retrieves the location of the USB DMM specified by nDmm in the
USB bus. A zero terminated string of length 8 is returned in lpszLoc. This function must
be used prior to opening the DMM. That is, prior to initializing or opening it by
DMMInit() or DMMOpenUSB().
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszLoc
LPCSTR Points to a buffer (at least 8 characters long) to hold the
result.
Return Value Integer string length if successful, or an error code.
Value
Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Postive Value 100
Warning code
Example char cBuf[8];
int i = DMMGetDevLocation(0, cBuf);