87
Signametrics
Return Value
Integer value corresponding to the currently set DMM function/range, or an error code.
The following are a few examples of the returned value.
Value Meaning
Positive value
See USBDMMUser.h for function/range codes.
Negative Value
Error code
Example
if(DMMGetFuncRange == VDC_300mV) printf("Lowest VDC range
selected");
DMMGetFunction
SMU2060
SMU2064
Description
Get DMM function code.
#include "SMU2060.h"
#include
"USBDMMUser.h"
int
DMMGetFunction
(
int
nDmm
)
Remarks
This function returns the DMM function code. The codes are defined in the
USBDMMUser.h file.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with
zero.
Return Value
Integer value corresponding to the current function, or an error code.
Value Meaning
Positive value
See USBDMMUser.h for function/range codes.
Negative Value
Error code
Example
if(DMMGetFunction == VDC) printf("VDC Function selected");
DMMGetGrdVer
SMU2060
SMU2064
Description
Get DMM firmware version.
#include "SMU2060.h"
int DMMGetGrdVer
(
int
nDmm
)
Remarks
This function returns the DMM firmware version of the on-board controller.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.