101
Signametrics
lue
Erro
Example
DMMSetExternalShunt(0, 100000.0); // Set shunt to 100k
Ω
SMX2040
;
SMX2042
;
SMX2044
Description
DMM f
"sm2
"User
SetFu
nFuncRnge
)
MM. The table of values is
VDC
_330mV,
VAC
_3.3V,
IDC
_330mA, OHM_4W_330K etc. definitions in
files.
Parameter
Negative Va
r code
DMMSetFuncRange
;
Set the
unction and range.
#include
#include
04032.h"
DMM.h"
int
DMM
ncRange
(
int
nDmm, int
Remarks
This function sets both, the function and range used by the D
defined as
the header
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
nFuncRnge
int
A pre-defined constant corresponding to the desired function and
lue
Value
range.
Return Va
The return value is one of the following constants.
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_FUNC
Invalid DMM function.
Example
status = DMMSetFuncRange(0, VDC_3V);
DMMSetFunction
SMX2040
;
SM
X2
Description
M
.
tFunction
(
int
nDmm, int nFunc
)
e function used by the DMM. The table of values is defined by the
VDC
,
VAC
,
IDC
,
IAC
,
OHMS2W
,
OHMS4W
… definitions in the DLL header file. Not
ypes. For instance the SMX2044 has
apacitance while the SMX2040 does not.
X2042
;
SM
044
;
Set the D
M function
#include "sm204032.h"
#include "UserDMM.h"
int
DMMSe
Remarks
This function sets th
all functions are available for all DMM t
C
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com