Signametrics
124
one of the following constants.
Return Value
The return value is
Value
Meaning
DMM_OKAY
Function succeeded.
Negative Value
Error code
int status = DMMSetSync(0, TRUE, 1); //positive sync
#include "DMMUser.h"
int
DMMSetTCType
(
int nDmm, int iType
)
Remarks
easured and linearized. It must be one
of the following: B, E, J, K, N, R, S or T. See the definitions for these parameters in the
DMMUser.h file. The default type is ‘K’.
Parameter
Example
DMMSetTCType
SM2060
;
SM2064
;
Description
S
et Thermocouple type
.
#include "SM206032.h"
This function selects the thermocouple type to be m
Type/Description
NDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iTempUnits
int
The thermocouple type to be selected. This value can be set from
o TType as defined in the DMMUser.H file
.
Return Value
rn value is one of the following constants.
BTyppe t
The retu
Value
Meaning
DMM_OKAY
Function succeeded.
lue
Error code
nt status = DMMSetTCType(0, NType) // select N type TC
DMMSetTempUnits
SM2060
SM2064
;
Description
S
et temperature units to
°
C or
°
F.
#include "SM206032.h"
#include "DMMUser.h"
int
DMMSetTempUnits
(
int nDmm, int iTempUnits
)
Remarks
This function sets the temperature units to either
°
C or
°
F. This is applicable to both the
on-board temperature sensor and the RTD measurements.
Parameter
Negative Va
Example
i
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.