Signametrics
86
DMMGetDiffMnMxStr
SMU2060
SMU2064
Description
Returns the difference between the max and min values as string.
#include "SMU2060.h"
int
DMMGetDiffMnMxStr
(
int
nDmm,
LPSTR
lpszReading
)
Remarks
This function return the difference between the current Max. and Min values, which is
the peak-to-peak range of recent readings. It returns the result as a string formatted for
printing. The print format is determined by the range and function.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR
Points to a buffer (at least 64 characters long) to hold the
result.
Return Value
The return value is one of the following constants, or the string length is OK.
Value Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Postive Value
≥
100
Warning code
Example
char
cBuf[64];
int status = DMMGetDiffMnMxStr(0, cBuf);
DMMGetFuncRange
SMU2060
SMU2064
Description
Get DMM range code.
#include "SMU2060.h"
#include
"USBDMMUser.h"
int
DMMGetFuncRange
(
int
nDmm
)
Remarks
This function returns the combined DMM function/range code. See
USBDMMUser.h
for the complete set of codes.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Содержание 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...