Operator`s manual

Table Of Contents
159 Signametrics
Example
int i = WrCalFileToStore (0, "C:\\SM60CAL.dat");
WrCalStoreToFile
SMU2060 SMU2064
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‘);
DMMGetSupplyV
SMU2060 SMU2064
Description Returns the one of the DMM supplies voltages.
#include "SMU2060.H"
int DMMGetSupplyV(int nDmm, , double *lpdVoltage)
Remarks This function makes a measurement of one of the DMM power supplies voltages as an
indication of the USB supply voltage level. The nominal value is -12V. The USB
interconnect and some off the shelve hubs can make this voltage higher or lower than is
required. The acceptable value should be -10.5 to -13.5V. Voltages higher than -13.5V
may damage the SMU2055 and voltages below -9.0 are inadequate for proper operation,
and is usually indicative of poor USB cable. The value of this voltage is stored at a
double precision location pointed to by lpdVoltage.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
lpdVp;tage
LPSTD Points to a double to hold the result.