Signametrics
34
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
DMM hardware code or an error code.
Value
Meaning
Positive value
Hardware version code
Negative Value
Error code
Example
int HWOption = DMMGetHwOption(0);
DMMGetID
Description
Get DMM ID code.
#include "SMU2060.H"
int DMMGetID
(
int
nDmm
)
Remarks
This function returns the DMM identification code. Each DMM has a unique ID code
that must match the calibration file
card_ID
field in
SM60CAL.DAT
. This code must
reflect the last digits of the DMM serial number.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting
with zero.
Return Value
Integer value card ID code (serial number) or an error code.
Value
Meaning
DMM_E_DMM
Invalid DMM number.
Example
int id = DMMGetID(0);