GxDmmGetRelative

Purpose

Returns the relative measurement state

Syntax

GxDmmGetRelative (nHandle, pbEnable, pnStatus)

Parameters

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.

Comments

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.

Example

The following gets the relative measurement state:

 

SHORT nHandle, nStatus;

BOOL bRelative;

 

GxDmmSetRelative (nHandle, &bRelative, &nStatus);

 

See Also

GxDmmSetRelative, GxDmmRead, GxDmmMeasure, GxDmmSetTriggerMode, GxDmmGetTriggerMode, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString