Operator`s manual
37 Signametrics
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdMax
double * Pointer where the Min value is to be saved.
Return Value Integer error code..
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example double Min; int status = DMMGetMin(0, &Min);
DMMGetMinStr
Description Returns the minimum as a formatted string.
#include "SMU2060.H"
int DMMGetMinStr(int nDmm, LPSTR lpszReading)
Remarks This function is the string version of DMMGetMin. It returns the result as a string
formatted for printing. The print format is determined by the range and function. See
DMMGetMin for more details.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR Points to a buffer (at least 64 characters long) to hold the
result.
Return Value The return value is one of the following constants, or the string length is OK.
Value
Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
Example char cBuf[64];
int status = DMMGetMinStr(0, cBuf);
DMMGetNumDevices
Description Get the number of USB DMM devices connected to the USB structure.
#include "SMU2060.h"
int DMMGetNumDevices(int * nDevices)
Remarks This function retrieves the number of USB DMM devices connected to the USB bus. The
number of devices is saved at a location pointed to by nDevices. This function must be
used prior to opening the DMM. That is, prior to initialized or opening it by DMMInit()
or DMMOpenUSB(). See also DMMGetDevLocation().