GxDmmGetAutoRange

Purpose

Returns the auto range status

Syntax

GxDmmGetAutoRange (nHandle, pbAutoRange , pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle for a GX2065 board.
pbAutoRange
PBOOL
Returns the status of the Auto Range function.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The auto range automatically adjusts the range with respect to the input signal. Range changes occur on overflow and when the signal is less than 8% of the current range.

Example

The following example gets the auto range status:

 

SHORT nHandle, nStatus;

BOOL bAutoRange;

GxDmmGetAutoRange (nHandle, &bAutoRange, &nStatus);

 

See Also

GxDmmSetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString