Operator`s manual
Signametrics 134
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCal
LPCSTR Points to the name of the file containing the calibration
or the DMM.
Return Value he return value is one of the following constants.
Value
constants f
T
Meaning
DMM_O
lly.
alue
Example /* Load a modified copy of the original calibration file to
verify correction made to a specific entry */
int i = DMM
GetGain
SM2060 ; SM2064 ;
Description etrieve curren
32.h"
#include "UseroDMM.h"
a
Remarks t e currently set gain,. This is the gain associated with the currently
fu ange. The value should be the same as that set in the calibration
on
eful
while performaing calibration. Set SetGain() function for additional details.
KAY
Cal record loaded successfu
Negative V
Error code
LoadCalFile(0, "C:\CAL_A.dat");
R tly set gain.
#include "SM2060
int GetG in(int nDmm, doulbe * lpdGain)
This func
selected
ion returns th
nction and r
record for this function and range. The gain is returned as a 64-bit double-precisi
floating-point number in the location pointed to by lpdGaint. This function is us
Parameter Type/Description
iDmm Identifies the DMM. DMMs are numbered starting with zero.
Return Value Th rn value is one retu e of the following constants.
alue
V Meaning
lpdGai
double * Points to the location to hold the gain.
n
MM_O Y
egative Value
ai ain
t
;
D KA
Valid return.
N
Error code
Example double gain;
GetG n(0, &gain); // read g
GetOffse
SM2060 ; SM2064