Sets the currently selected measurement function.
CalRefDmmSetFunction (hHandle, enFunction, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a DMM |
enFunction |
enumCalRefDmmFunction |
Set function:
|
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The following example sets the measurement function to measure VDC:
LONG lHandle, lStatus;
CalRefDmmSetFunction (lHandle, aRefDmmFunctionVDc, &lStatus);
CalRefDmmSetRange, CalRefDmmMeasure, CalRefGetError