Sets the relative measurement state
GxDmmSetRelative (nHandle, bEnable, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
bEnable |
BOOL |
Sets the relative measurement state |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
When in relative measurement mode, the DMM will read the last measurement taken and store it in memory. Any subsequent calls to GxDmmMeasure, GxDmmMeasureEx, GxDmmRead or GxDmmReadEx will result in a measurement that is relative to the baseline value stored when the measurement mode was set to relative.
The following sets the relative measurement state to True:
SHORT nHandle, nStatus;
GxDmmSetRelative (nHandle, TRUE, &nStatus);
GxDmmGetRelative, GxDmmRead, GxDmmMeasure, GxDmmSetTriggerMode, GxDmmGetTriggerMode, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString