Operator`s manual

Signametrics 56
Value Meaning
Any value not 0 int Eror or warning code
Example
int i = WrCalFileToStore (0, "C:\\SM60CAL.dat");
WrCalStoreToFile
Description Transfer the contents of the on-board cal store to a file.
#include "SMU2060.h"
int WrCalStoreToFile (int nDmm,LPCSTR lpszCal, int mode)
Remarks This function copies the calibration record stored in the on-board none volatile memory
of the DMM to the specified calibration file, pointed to by lpszCal. If mode is ‘a’ and a
file exists, the record is appended to the end of this file. If mode is ‘w’, a new file is
created, wiping out the old if it exists.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
mode
int Sets the file creation mode.
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
Example
int i = WrCalStoreToFile (0, "C:\\SM60CAL.dat", ‘a‘);
EraseCalStore
Description Service function that wipes the Calibration record off the internal memory.
#include "SMU2060.h"
int EraseCalStore(int nDmm)
Remarks This function reformats the none volatile calibration store on-board the DMM, preparing
it for storing a calibration record. This function will remove the currently stored
calibration record and is not necessary during calibration.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
Return Value Integer error code.