Sets the auto range status
GxDmmSetAutoRange (nHandle, bAutoRange , pnStatus)
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. |
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.
The following example activates the auto range function:
SHORT nHandle, nStatus;
GxDmmSetAutoRange (nHandle, TRUE, &nStatus);
GxDmmGetAutoRange, GxDmmSetFunction, GxDmmSetAperture, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString