Signametrics
102
Parameter Type/Description
int
Identifies the DMM. DMMs are num
nDmm
bered starting with zero.
onstant corresponding to the desired function.
Return Value
The return value
nFunc
int
A pre-defined c
is one of the following constants.
Value Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_FUNC
Invalid DMM function.
Example
status = DMMSetFunction(0, INDUCTANCE);
MMSetInductFreq
SMX2042
Des
the frequency of the Inductance Source.
2.h"
FAR lpdFreq)
Remarks
uency of the Inductance measurement source. The value of the
equency should be between 20 Hz and 75 kHz. This function overrides the default
herefore, setting a new Inductance
measurement range changes the frequency. Use this function after setting the range.
Parame
D
SMX2040
SMX2044
;
cription
Set
#include "sm20403
int
DMMSetInductFreq(int
nDmm, double
This function sets the freq
fr
frequency for each of the inductance ranges. T
ter Type/Description
int
Identifies the D
nDmm
MM. DMMs are numbered starting with zero.
uency to be set.
Return Value
Integer error co
lpdFreq
double FAR
Freq
de.
Value Meaning
DMM_O
e Value
Erro
Example
atus
10e3); // Set source to 10kHz
DMMSet
SMX2040
;
SM
44
n
nclude "sm204032.h"
Ohms
(
int nDmm, BOOL bState
)
KAY
Operation successfully completed.
Negativ
r code
int st
= DMMSetInductFreq(0,
OffsetOhms
X2042
;
SMX20
;
Descriptio
Enable/Disable Offset Ohms operation
#i
int
DMMSetOffset
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com