79
Signametrics
Description
Get DMM range code.
#include "SM206032.h"
#include
"DMMUser.h"
int
DMMGetFuncRange
(
int nDmm
)
Remarks
This function returns the combined DMM function/range code. See
DMMUser.h
for the
e set of
complet
codes.
Parameter
Type/Description
nDmm
int
Identifies the DM
Integer value corresponding to the currently set DMM
M. DMMs are numbered starting with zero.
Return Value
function/range, or an error code.
The following are a few examples of the returned value.
Value
Meaning
Positive
ion/range codes.
Negative
de
rintf("Lowest VDC range
DMMGetFunc
SM2060
;
SM2064
;
Description
t DMM funct
#include "SM2
#include
"DMMUser.h"
int
DMMGetFunction
(
int nDmm
)
Remarks
This function returns the DMM function code. The codes are defined in the DMMUser.h
file.
value
See DMMUser.h for funct
Value
Error co
Example
if(DMMGetFuncRange == VDC_300mV) p
selected");
tion
Ge
ion code.
06032.h"
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with
zero.
Return Value
Value
Integer value corresponding to the current function, or an error code.
Meaning
Positive value
See DMMUser.h for function/range codes.
Negative Value
Error code
Exa
DMMGetFunction == VDC) printf("VDC Function selected");
DMMGetGrdVer
SM2060
;
SM2064
;
mple
if(