Operator`s manual

101 Signametrics
Description Set the DMM function.
#include "sm204032.h"
#include "User
int DMMSetFu
he table of values is defined by the
VDC, VAC, IDC, IAC, OHMS2W, OHMS4W … definitions in the DLL header file. Not
all functions are for all DMM types. For instance the SM2042 has Capacitance
while the SM2040 does not.
Parameter
DMM.h"
nction(int nDmm, int nFunc)
Remarks This function sets the function used by the DMM. T
available
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
nFunc
int A pre-defined constant corresponding to the desired function.
Return Value .
The return value is one of the following constants
Value Meaning
DMM_OKAY
DMM initialized successfully.
Negativ
DMM_
M function.
xample status = DMMSetFunction(0, INDUCTANCE);
DMMSetInductFreq
SM2042
Description
int DMMSetInductFreq(int nDmm, double lpdFreq)
Remarks e
Parame
e Value
Error code
E_FUNC
Invalid DM
E
SM2040 SM2044 ;
Set the frequency of the Inductance Source.
#include "sm204032.h"
This function sets the frequency of the Inductance measurement source. The value of th
frequency should be between 20 Hz and 75 kHz. This function overrides the default
frequency for each of the inductance ranges. Therefore, setting a new Inductance
measurement range changes the frequency. Use this function after setting the range.
ter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdFreq
double Frequency to be set.
Return Value Integer error code.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code