Operator`s manual

Table Of Contents
Signametrics 156
Description Retrieve currently set gain.
#include "SMU2060.h"
#include "USBDMMUser.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
SetFcomp
SMU2060 SMU2064
Description Set the ACV Frequency compensation factor
#include "SMU2060.h"
int SetFcomp(int nDmm, int iFcomp)
Remarks This function sets the value of the ACV frequency compensation DAC. It is used for
calibration the ACV bandwidth..
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iFcomp
int Freqeuncy Compnensation DAC value to be set. Allowed value is
between 0 and 31.
Return Value Integer error code.
Value
Meaning