Operator`s manual

Signametrics 52
Remarks This function returns the currently set gain,. This is the gain associated with the currently
selected function and range. The value should be the same as that set in the calibration
record for this function and range. The gain is returned as a 64-bit double-precision
floating-point number in the location pointed to by lpdGaint. This function is useful
while performaing calibration. Set SetGain() 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 * Points to the location to hold the gain.
DMM_OKAY
Valid return.
Negative Value
Error code
Example double gain;
GetGain(0, &gain); // read gain
GetOffset
Description Retrieve currently set gain.
#include "SMU2060.H"
#include "UseroDMM.h"
int GetOffset(int nDmm, doulbe * lpdOffset)
Remarks This function returns the currently set offset,. This is the offset associated with the
currently selected function and range. The value should be the same as that set in the
calibration record for this function and range. The offset is returned as a 64-bit double-
precision floating-point number in the location pointed to by lpdOffsett. This function is
useful while performaing calibration. Set SetOffset() 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
lpdOffset
double * Points to the location to hold the offset.
DMM_OKAY
Valid return.
Negative Value
Error code
Example double offst;
GetOffset(0, &offst); // read gain