Operator`s manual
55 Signametrics
5.8 Maintanance Commands
GrdXingTest
Description Perform the specified test
#include "SMU2060.H"
int GrdXingTgest(int nDmm, int iNumber, int iTest)
Remarks Perform the specified test as indicated by iTest. Repeat it for iNumber times. This
function is used to perform basic H/W tests.
Parameter
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
iTest
int Test type. 0: Basic Read/Write. 1: Toggle Reset line iNumber
times. 2: High Speed Guard Crossing stimulation. 3: Guarded
controller communication test. 4: Guard Crossing loopback test. 5:
High Speed Guard Crossing test (SM2064).
iNumber
int Number of tests to be repeated.
Return Value Integer error code.
Value
Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int i = GrdXingTest(0, 1, 3); // Test Guarded controller
WrCalFileToStore
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.