GxDmmSetAutoRange

Purpose

Sets the auto range status

Syntax

GxDmmSetAutoRange (nHandle, bAutoRange , pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle for a GX2065 board.
bAutoRange
PBOOL
Sets 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. Turning ON auto range will result in slower reading rate.

Example

The following example activates the auto range function:

 

SHORT nHandle, nStatus;

GxDmmSetAutoRange (nHandle, TRUE, &nStatus);

 

See Also

GxDmmGetAutoRange, GxDmmSetFunction, GxDmmSetAperture, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString