Signametrics
62
Parameter Type/Description
nDmm
bus
a pointer to integer at which the bus number is stored (0 to 255)
n integer where the slot number is stored (0 to
15)
Return Value
The return value is one of the following constants.
Value
int
Identifies the DMM. DMMs are numbered starting with zero.
int *
slot
int *
A pointer to a
Meaning
DMM_OKAY
Operation was successful.
Negative number
Error code
Example
int bus, slot; // Find on which bus, and slot the DMM is at
C
&bus, &slot); // DMM#3
DMMGetCalDate
MX2040
;
SMX2042
;
SMX2044
;
rn the calibration date string from the DMM.
Remarks
ibration date string from the structure.
DMMGet alDate(3,
S
Description
Retu
int DMMGetCalDate
(
int
nDmm, LPSTR
lpszCalDate
)
This function reads the cal
Parameter Type/Description
nDmm
lpszCalD
uffer (at least 16 characters long) to hold the
cal date string.
eturn Value
The return value is one of the following constants.
int
Identifies the DMM. DMMs are numbered starting with zero.
ate
LPSTR
Points to a b
R
Value Meaning
any positive number
e number
Example
char
cBuf[1
int status;
DMMGet
SMX2040
;
SM
2
n
e "sm204032.h"
Length of the date string
Negativ
Error code
6];
status = DMMGetCalDate(0, cBuf);
dB
X2042
;
SMX 044
;
Descriptio
Get dB deviation from the reading at the time relative was activated.
#includ
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com