Specifications
Signametrics 74 
#include "sm2
int DMMInit(i
Remarks  This function m ed. It opens the driver for the 
specified DMM. The first DMM being 0, the second 1, etc... It also initializes the DMM 
 and d e DMM hardware. It then initializes the 
software and reads the appropriate calibration record for the respective DMM from the 
Parameter
Description  Initialize a DMM. 
04032.h" 
nt nDmm, LPCSTR lpszCal) 
ust be the first function to be execut
hardware oes extensive self test to th
file specified by lpszCal. 
 Type/Description 
 Identifies the DMM. DMMs are numbered starting with zero. 
lpszCal 
ints to the name of the file containing the calibration 
e DMM. Calibration information is normally read 
amed SM40CAL.DAT located in the current directory. 
ng constants. 
Value
nDmm 
int
LPCSTR Po
constants for th
from the file n
Return Value  The return value is one of the followi
 Meaning 
OKAY 
DMM initialized successfully. 
DMM_
ue 
Example  int i = DMMInit(0,"C:\SM40CAL.dat");// Initialize 1st DMM 
SMX2040 ; SMX2042 ; SMX2044 
Description  Get the status o
#include "sm2
  IsAu
s the DMM autorange flag state. 
Parame
Negative Val
Error code 
DMMIsAutoRange 
; 
f the autorange flag. 
04032.h" 
int DMM toRange(int nDmm) 
Remarks  This function return
ter
 Type/Description 
nDmm 
e DMM. DMMs are numbered starting with zero. 
int Identifies th
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










