Returns the auto range status
GxDmmGetAutoRange (nHandle, pbAutoRange , pnStatus)
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. |
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.
The following example gets the auto range status:
SHORT nHandle, nStatus;
BOOL bAutoRange;
GxDmmGetAutoRange (nHandle, &bAutoRange, &nStatus);
GxDmmSetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString