Operator`s manual
51 Signametrics
Return Value The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Cal record loaded successfully.
Negative Value
Error code
Example /* Load a modified copy of the original calibration file to
verify correction made to a specific entry */
int i = DMMLoadCalFile(0, "C:\CAL_A.dat");
SetGain
Description Set currently set gain during service.
#include "SMU2060.H"
#include "UseroDMM.h"
int SetGain(int nDmm, doulbe Gain)
Remarks This function sets the currently set gain,. Sets the gain of the the currently selected
function and range. The gain is returned as double-precision floating-point number
Gaint. This function is useful while performaing calibration. Set GetGain() function for
additional details.
Parameter
Type/Description
iDmm Identifies the DMM. DMMs are numbered starting with zero.
Return Value The return value is one of the following constants.
Value
Meaning
lpdGain
double the gain.
DMM_OKAY
Valid return.
Negative Value
Error code
Example SetGain(0, 1.00023); // set gain
GetGain
Description Retrieve currently set gain.
#include "SMU2060.H"
#include "UseroDMM.h"
int GetGain(int nDmm, doulbe * lpdGain)