Signametrics
154
Any value
int
Eror or warning code.
Example
int i = EraseCalStore(0)
; // Erase/Format cal store EEProm
DMMLoadCalFile
SMU2060
SMU2064
Description
Reload calibration record from file.
#include "SMU2060.h"
int DMMLoadCalFile
(
int
nDmm
,
LPCSTR
lpszCal
)
Remarks
This function provides the capability to reload the calibration record. This is useful in
making limited calibration adjustments, and verifying them. By having a copy of the
original calibration file ‘
SM60CAL.DAT
’ open with an editor, modifying calibration
parameters and then reloading using
DMMLoadCalFile
, one can instantly verify the
corrections made. Make sure the ‘
SM60CAL.DAT
’ file itself is not altered since that
will void the calibration.
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.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Cal record loaded successfully.
Negative Value
Error code
Example
/* Load a modified copy of the original calibration file to
verify correction made to a specific entry */
int i = DMMLoadCalFile(0, "C:\CAL_A.dat");
SetGain
SMU2060
SMU2064
Description
Set currently set gain during service.
#include "SMU2060.h"
#include "UseroDMM.h"
int
SetGain(int
nDmm,
doulbe
Gain
)
Remarks
This function sets the currently set gain,. Sets the gain of the the currently selected
function and range. The gain is returned as double-precision floating-point number
Gaint
. This function is useful while performaing calibration. Set
GetGain()
function for
additional details.
Содержание SMU2060
Страница 26: ...Signametrics 26 PXI Instrumentation Switching modules SMX4030 SMX4032 IVI COM driver...
Страница 81: ...81 Signametrics Postive Value 100 Warning code Example char cBuf 64 int status status DMMGetCalDate 0 cBuf...
Страница 106: ...Signametrics 106 Postive Value 100 Warning code Example char cBuf 64 int status status DMMPeriodStr 0 cBuf...