Operator`s manual

Table Of Contents
Signametrics 80
DMMGetBufferSize(0, & length); // read buffer size
DMMGetBusInfo
SMU2060 SMU2064
Description Returns the PCI Bus and Slot numbers for the selected DMM.
int DMMGetBusInfo(int nDmm, int *bus, int *slot)
Remarks This function reads the PCI bus and slot numbers for the selected DMM. . It provides
means to relate the physical card location to the nDmm value by detecting the location of
a DMM in the PCI system tree. This function scans the hardware for this informaiton.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
bus
int * a pointer to integer at which the bus number is stored (0 to 255)
slot
int * A pointer to an integer where the slot number is stored (0 to
15)
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Operation was successful.
Negative number
Error code
Example int bus, slot; // Find on which bus, and slot the DMM is at
DMMGetBusInfo(3, &bus, &slot); // DMM#3
DMMGetCalDate
SMU2060 SMU2064
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
Negative Value
Error code
Positive Value < 100
The length of the returned string