
Signametrics
98
ires
this is
MMReadCJTemp()
function reads the sensor output voltage (0 to +/-3.3V), and converts it to cold junction
perature usi
tion Temp = b + (Vcjs – a)/m. The default values of a,
b and m are designed specifically for the temperarute sensor of the SM40T terminal
block. The valu
thermocouple measurements as well as return at the location pointed to by lp
dTemp
.
Parame
Remarks
Read the cold juncion temperature sensor for subsequent thrermocouple measurements.
When measuring temperature using thermocouples it is necessary to establish a reference
or cold junction temperaturem. This is the temperature at which the themocouple w
are connected to the DMM or to the switching card’s cooper wires. One way to do
by measuring the cold junction sensor using this function.
D
tem
ng the built in equa
e of the cold junction temperature is saved internally for subsequent
ter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdTemp
old the temperature.
Return Value
u
e following constants.
double *
Points to the location to h
The return val e is one of th
Value
Meaning
DMM_OKAY
Operation successfully terminated
Value
Error code.
;
DMMReadCrestFactor
SM2060
SM2064
;
Description
#include "SM206032.h"
int DMMReadCrestFactor(int
nDmm, double
*lpdResult
)
Remarks
To use this function the DMM must be in ACV measurement function, and a valid range
ust be selected.
ocation
pointed to by
lpdResult
.
This measurement is a composite function, utilizing several sub
perform. See the Crest Factor measurement
section of the manual for more detail.
Parameter
Negative
Example
DMMReadCJTemp(0, &temp)
Return ACV signal’s Crest Factor.
m
A double-precision floating-point Crest Factor is stored in the l
functions, and could take over 10 seconds to
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdResult
double *
Points to the location to hold the Crest Factor.
Ret
s one of the following constants.
urn Value
The return value i