Returns the relative measurement state
GxDmmGetRelative (nHandle, pbEnable, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pbEnable |
PBOOL |
Returns 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 gets the relative measurement state:
SHORT nHandle, nStatus;
BOOL bRelative;
GxDmmSetRelative (nHandle, &bRelative, &nStatus);
GxDmmSetRelative, GxDmmRead, GxDmmMeasure, GxDmmSetTriggerMode, GxDmmGetTriggerMode, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString