Operator`s manual

Table Of Contents
Signametrics 158
DMM_OKAY
Valid return.
Negative Value
Error code
Example int err;
Err = Linearize_AD(0, FALSE); // disable AC Zero.
Read_ADcounts
SMU2060 SMU2064
Description Read A/D offset counts.
#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 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
WrCalFileToStore
SMU2060 SMU2064
Description Transfer the contents of a cal file to the on-board cal store.
#include "SMU2060.h"
int WrCalFileToStore (int nDmm,LPCSTR lpszCal)
Remarks This function copies the specified calibration file, pointed to by lpszCal, to the on-board
none volatile store of the DMM. This is appropriate following calibration operation. The
currently stored on-board record is replaced with the contents of the speified file. Make
sure that the calibration file only contains only one record, for the specified DMM.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpszCal
LPCSTR Points to the name of the file containing the calibration
constants for the DMM. Calibration information is normally read
from the file named SM60CAL.DAT located in the C:\ root directory.
Return Value Integer error code.
Value
Meaning
Any value not 0 int Eror or warning code