Operator`s manual

Table Of Contents
155 Signametrics
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
SMU2060 SMU2064
Description Retrieve currently set gain.
#include "SMU2060.h"
#include "USBDMMUser.h"
int GetGain(int nDmm, doulbe * lpdGain)
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
SMU2060 SMU2064