Operator`s manual

61 Signametrics
DMMGetBusInfo
SM2040 ; SM SM2044 ;
Description Returns the PCI
int DMMGetB , int *slot)
the selected DMM. . It provides
means to r ysical card location to the nDmm value by detecting the location of
a DMM in stem tree. This function actually scans the hardware rather then
he i n the registry.
2042 ;
Bus and Slot numbers for the selected DMM.
usInfo(int nDmm, int *bus
Remarks This function reads the PCI bus and slot numbers for
elate the ph
the PCI sy
look up t nformation i
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
int * a pointer to integer at which the bus number is stored (0 to 255)
slot
he slot number is stored (0 to
15)
Return Value he return value is one of the following constants.
Value
bus
int * A pointer to an integer where t
T
Meaning
DMM_
Operation was successful.
Negative number
Error code
Example int bus, slot; // Find on which bus, and slot the DMM is at
DMMGetBusIn
DMMGetCalDate
2042 ;
Description Return the calib string from the DMM.
MGetC te)
ration date string from the structure.
OKAY
fo(3, &bus, &slot); // DMM#3
SM2040 ; SM SM2044 ;
ration date
int DM
alDate(int nDmm, LPSTR lpszCalDa
Remarks tion reThis func ads the calib
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCalD
hold the
cal date string.
Return Value The return value is one of the following constants.
ate
LPSTR Points to a buffer (at least 64 characters long) to