Specifications
Signametrics 48 
****
 * M
" /D "_CONSOLE" /D "_MBCS" 
040.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c 
* C 032.DLL and SM204032.LIB to the project directory. 
 * 
 ****
// #d
#inc
#inc
#ifde
 #define _W
#end
#inc // functions declarations and error codes. 
#inc // All functions, range and rate info and function declarations. 
int m
  // Address first DMM in the system 
 char 
  ,"C:\\sm40cal.dat");  // initialize SMX2044, and read calibration file 
  alization ERROR !", "Startup SM204032 DLL",MB_OK);    // Error 
  m,VDC);    // Set to DCV function 
  ,_30V);   // and to 33V range 
  E_10);  // 60 samples per sec 
   // Clear string store 
    // take 5 readings 
 DMMReadStr(nDmm, ead); // read 
 strcat(strMsg,Read);  // Append each reading 
    // insert space between readings 
  DC",MB_OK);    // Show readings 
5.3 on Pane App
The e control panel for the SMX2040 DMM. 
Dur he hardware before the front panel is 
displ
The abeled V, I, etc. control the DMM function. As you push a function, the front panel application 
will sw ge an de is selected by pushing the AutoRange 
chec the D me state prior to operation. (This is an 
inte er t from  dards and writes to the 
SM rrect fo e to changes in operating 
temp
The  eq. and per check boxes are context sensitive and appear in ACV and ACI. When freq. is enabled, the 
 is slower than indicated. When 
s, which are disabled if an 
SMX2040 is detected. 
 * 
 * A simple Windows .EXE example for demonstrating the SMX2040,44 
 * DMMs using "C" 
 * Sets Function to VDC, Range to 33V, rate to 10rps. 
* Display five measurements using a Message box. 
 *
****************************************************************** 
ake sure SM204032.lib is included in the libraries. For Microsoft 
 * Version 4.0 C++ and above, place under 'Source Files' in the 
 * Workspace, along side with Exmp2040.c 
 * PROJECT SETTINGS: 
 * 
 * /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG
 * /FR"Release/" /Fp"Release/Exmp2
 *
opy both SM204
*******************************************************************/ 
efine WINAPI __stdcall 
lude <windows.h> 
lude <string.h> 
f _Windows 
INDOWS 
if 
lude "sm204032.h"   
lude "UserDMM.h"   
ain(void){ 
int I, nDmm = 0;   
char Read[16]; 
strMsg[256]; 
i = DMMInit(nDmm
if(i<0)  
 MessageBox(0,"Initi
DMMSetFunction(nDm
DMMSetRange(nDmm
DMMSetRate(nDmm,RAT
strcpy(strMsg,"");  
for(i=1; i<= 5; i++){ 
R
  strcat(strMsg," "); 
} 
MessageBox(0,strMsg, "SM204032.DLL Read Resistance & V
return 0L; 
} 
 Visual Basic Fr t  l lication 
 Visual Basic front panel application, SM2044.EXE, is an interactiv
ing loading, which takes a few seconds, it initializes and self calibrates t
ayed. 
 push buttons l
itch the DMM to the selected ran d function. Autorange mo
 box  ecalibra es 
k box. The S-Cal r t MM, leaving the DMM in the sa
rnal calibration only. It is diff en the external calibration, which uses external stan
r any nd gain drifts du
40CAL.DAT file. S-Cal is used to co  internal offset a
erature). 
fr
frequency and amplitude are shown at the same time. In this mode, the reading rate
per is enabled, the period is shown. The SMX2044 panel has additional capabilitie
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










