Sets the measurement resolution
GxDmmSetResolution (nHandle, pdwResolution, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
dwResolution |
DWORD |
Sets the measurement in terms of digits of resolution.
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Resolution determines the number of digits returned in a normalized reading. Larger resolutions will result in slower measurement times for a given function. Setting the resolution will result in the aperture being set to a corresponding value internally when not in AC function.
The following example sets the resolution to 6 ½ digits:
SHORT nHandle, nStatus;
GxDmmSetResolution (nHandle, GXDMM_RESOLUTION_6_5_DIGITS, &nStatus);
GxDmmGetResolution, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString