Operator`s manual

29 Signametrics
DMMGetCalDate
Description Return the calibration date string from the DMM.
int DMMGetCalDate(int nDmm, LPSTR lpszCalDate)
Remarks This function reads the calibration date string from the structure. This is the date the
DMM was calibrated last.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCalDate
LPSTR Points to a buffer (at least 64 characters long) to hold the
cal date string.
Return Value The return value is one of the following constants.
Value
Meaning
any positive number
Length of the date string
Negative number
Error code
Example char cBuf[64];
int status;
status = DMMGetCalDate(0, cBuf);
DMMGetdB
Description Get dB deviation from the reading at the time relative was activated.
#include "SMU2060.H"
int DMMGetdB(int nDmm, double *lpdDev)
Remarks This function returns a double floating value that is the dB deviation relative to the
reading made just before the relative function was activated. This function is useful in
determining measurement errors in dB. It can be used for bandwidth measurements or
DC evaluation.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdDev
double * Pointer where the dB value is to be saved.
Return Value Integer error code..
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example double dB; int status = DMMGetdB(0, &dB);