Signametrics
54
Example
SetOffset(0, 11212.0); // Assert the offset factor
Linearize_AD
Description
Activate/Deactivate A/D linearization correction during service.
#include "SMU2060.H"
#include "UseroDMM.h"
int
Lineaize_AD(int
nDdmm,
int
bLinerize
)
Remarks
If
bLinerize
is set to
FALSE disables the A/D Linearization correction. The default value
is TRUE. Diabeling allows for the derivation of the parameters for calibration purposes.
This function is used during calibration only.
Parameter
Type/Description
iDmm
Identifies the DMM. DMMs are numbered starting with zero.
bACZero
Forces the AC zero to be active or inactive. Allowed values are TRUE
of FALSE.
Return Value
The return value is one of the following constants.
Value
Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
Example
int
err;
Err = Linearize_AD(0, FALSE); // disable AC Zero.
Read_ADcounts
Description
Read A/D offset counts during calibration.
#include "SMU2060.H"
int
Read_ADcounts(int
nDmm
)
Remarks
This function returnes the A/D raw counts. It is useful for retrieving the offset parameter
for various functions, including VDC, 2-W and 4-W ohms and DC current. It is limited
for service and calibration use.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
Integer error code.
Value
Meaning
Any value
int
Offset reading.
Example
int i = Read_ADcounts(0)
; // read offset parameter