Signametrics
84
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
The return value is one of the following constants.
Value Meaning
0 to 7
Valid DMM frequency range.
Other value
Error code
Example
int fRange; // Find on which bus, and slot the DMM is at
DMMGetCounterRange(0); // Get range
DMMGetDeviation
SMU2060
SMU2064
Description
Get percent deviation from the reading at the time relative was activated.
#include "SMU2060.h"
int
DMMGetDeviation(int
nDmm
, double *
lpdDev
)
Remarks
This function returns a double floating value that is the percent deviation relative to the
reading made just before the relative function was activated
(DMMSetRelative)
. This
function is useful in quantifying measurement errors. It can be used for bandwidth
measurements or DC evaluation, or percent variation of a device under test over
temperature. The absolute value of
lpdDev
can be used as a pass/fail window for
production. Another function effecting
DMMGetDeviation
is
DMMSetReference
.
Unlike
DMMSetRelative
, which uses the current measurement as a reference,
DMMSetReference
provides the facility to set this reference.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpdDev
double *
Pointer where the deviation value is to be saved.
Return Value
Integer error code..
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double error;
int status = DMMGetDeviation(0, &error);
DMMGetDeviatStr
SMU2060
SMU2064
Description
Get percent deviation from the reading at the time relative was activated.
#include "SMU2060.h"
int
DMMGetDeviatStr(int
nDmm
, LPCSTR
lpszDev
)
Содержание 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...