Operator`s manual
Signametrics 58
Sets Function to VDC, Range to 24V, Aperture set to 160ms.
Display five measureme
**************************** *******
M ded in the libraries. For Microsoft
ce under 'Source Files' in the
th Exmp2060.c
* PROJECT SETTINGS:
3 /GX /O E" /D "_MBCS"
* /FR"Release/" /Fp"Rele o"Release/" /Fd"Release/" /FD /c
*
both SM206032.DLL and SM206032. .
***********************************************************************/
#define WINAPI __stdcall
#include <windows.h>
#include <string.h>
ows
INDOWS
#endif
#include "SMX2060.h"
#include "DMMUser.h"
int main(void){
int I, nDmm = 0;
char Read[16];
char strMsg[256];
i = DMMInit(nDmm
if(i<0)
MessageBox(0,
DMMSetFunction
DMMSetRange(n
DMMSetAperture
strcpy(strMsg,"");
for(i=1; i<= 5; i++
DMMReadStr(nDmm, Read); // read
strcat(str
}
MessageBox(0,strMsg, "SM206032.DLL Read Resistance & VDC",MB_OK); // Show readings
return 0L;
}
5.3 Visual B Front Pan
The Visual Basic front application, SM2064.EX .
When it loads it w ew seconds to
displayed.
labeled V function, the front panel application
MM to th by pushing the AutoRange
check box. The S x recalibrates the ving the DMM in the same state prior to operation. (This is an
internal calibratio d is different fro ternal calibration, which writes to the SM60CAL.DAT file.
S-Cal is used to c ernal of operating temperature).
* A simple Windows .EXE example for demonstrating the SM2060,64
* DMM’s using "C"
*
using
* nts a Message box.
*** *******************************
**
*
ake sure SM206032.lib is inclu
rsion 4.0 C++ and above, pla
* Ve
* Workspace, along side wi
*
* /nologo /ML /W 2 /D "WIN32" /D "NDEBUG" /D "_CONSOL
ase/Exmp2060.pch" /YX /F
* Copy LIB to the project directory
*
//
#ifdef _Wind
#define _W
// functions declarations and error codes.
// All functions, range and rate info and function declarations.
// Address first DMM in the system
,"C:\\SM60CAL.dat"); // initialize SM2064, and read calibration file
"Initialization ERROR !", "Startup SM206032 DLL",MB_OK); // Error
(nDmm,VDC); // Set to DCV function
Dmm,_24V); // and to 33V range
(nDmm,
APR_p16s); // 160ms Aperture
// Clear string store
// take 5 readings
){
strcat(strMsg,Read); // Append each reading
Msg," "); // insert space between readings
asic
panel
el Application
E, is an interactive control panel for the SM2060 DMM
ill take a f initialize and self calibrate the hardware before the front panel is
The push buttons , I, etc. control the DMM function. As you push a
will switch the D e selected range and function. Autorange mode is selected
-Cal bo
n only, an
DMM, lea
m the ex
orrect for any int fset and gain drifts due to changes in