Operator`s manual
Signametrics 32
int DMMGetDiffMnMxStr (int nDmm, LPSTR lpszReading)
Remarks This function return the difference between the current Max. and Min values, which is
the peak-to-peak range of recent readings. It returns the result as a string formatted for
printing. The print format is determined by the range and function.
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 = DMMGetDiffMnMxStr(0, cBuf);
DMMGetFunction
Description Get DMM function code.
#include "SMU2060.H"
#include "DMMUser.h"
int DMMGetFunction(int nDmm)
Remarks This function returns the DMM function code. The codes are defined in the DMMUser.h
file.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with
zero.
Return Value Integer value corresponding to the current function, or an error code.
Value
Meaning
Positive value
See DMMUser.h for function/range codes.
Negative Value
Error code
Example if(DMMGetFunction == VDC) printf("VDC Function selected");
DMMGetGrdVer
Description Get DMM firmware version.
#include "SMU2060.H"