103
Signametrics
emarks
This function enables or disables the Offset Ohms compensation function. The default
hms compensation. When TRUE the measurement rate is
out 1/10 the set value. When enabling this function with the SM2042, a relay is used
will click while measuring.
Parame
R
value is FALSE, or no Offset O
ab
th
to perform it and therefore it
ter Type/Description
nDmm
bState
Return Value
Value
int
Identifies the DMM. DMMs are numbered starting with zero.
BOOL
Determines whether or not Offset Ohms is enabled. The value
TRUE enables, FALSE disables it.
The return value is one of the following constants.
Meaning
DMM_
Negativ
Example
DMMSet
SMX2040
;
SMX2042
;
SMX2044
;
Description
Set the DMM range for the present function.
#include "sm2
Remarks
This function s
e used by the DMM for the present function. The table of
values is defined by the
_330mV, _3mA, etc.
definitions in the DLL header file. Not all
re avai
ance the SMX2044 has a 33 Ohms
range, and the SMX2040 does not.
Parameter
OKAY
Function succeeded.
e Value
Error code
status = DMMSetOffsetOhms(0, TRUE); // enable OffsetOhms
Range
04032.h"
int DMMSetRange
(
int
nDmm, int nRange
)
ets the rang
ranges a
lable for all DMM types. For inst
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
nRange
int
A pre-defined constant corresponding to the desired range.
et
turn value is one of the following constants.
R urn Value
The re
Value Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_RANGE
Invalid DMM range value.
Example
status = DMMSetRange(0, _330mA);
DMMSetRate
SMX2040
;
SMX2042
;
SMX2044
;
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com