Operator`s manual

Signametrics 88
entifies the DMM. DMMs are numbered starting with zero.
lpfResul
hich holds the version.
et eger error code.
nDmm
int Id
t
double * Pointer to the location w
R urn Value Int
Value Meaning
Negative
Example nt status; double ver;
DMMInit
SM2060 ; SM2064 ;
Description M
#include "SM2
MMInit(i
Remarks This function o ns the
driver for the specified DMM. The first DMM being 0, the second 1, etc.. It also
elf test to the DMM hardware. It then
initializes the software and reads the appropriate calibration record for the respective
DMM from the file specified by lpszCa, followed by self calibration. If the calibration
record is outdated, it opens a warning window. If an error is detected, an error code is
.
Value
Error code
i
status = DMMGetVer(0, &ver);
Initialize a D M.
06032.h"
int D nt nDmm, LPCSTR lpszCal)
r DMMQuickInit() must be the first function to be executed. It ope
initializes the DMM hardware and does extensive s
returned
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
he name of the file containing the calibration
ration information is normally read
DAT located in the current directory.
turn value is one of the following constants.
lpszCal
LPCSTR Points to t
constants for the DMM. Calib
from the file named SM60CAL.
Return Value The re
Value Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
Example /* initialize DMM */
int i = DMMInit(0,"C:\SM60CAL.dat"); // Initialize the first DMM
DMMIsAutoRange
SM2060 ; SM2064 ;