GxDmmGetResolution

Purpose

Returns the measurement resolution

Syntax

GxDmmGetResolution (nHandle, pdwResolution, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle for a GX2065 board.
pdwResolution
PDWORD
Returns the measurement in terms of digits of resolution.
  1. GXDMM_RESOLUTION_3_5_DIGITS – 3 and a ½ Digits of Resolution
  2. GXDMM_RESOLUTION_4_5_DIGITS – 4 and a ½ Digits of Resolution
  3. GXDMM_RESOLUTION_5_5_DIGITS – 5 and a ½ Digits of Resolution
  4. GXDMM_RESOLUTION_6_5_DIGITS – 6 and a ½ Digits of Resolution
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

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 a AC function.

Example

The following example gets the resolution:

 

SHORT nHandle, nStatus;

DWORD dwRange;

GxDmmGetResolution (nHandle, &dwResolution, &nStatus);

 

See Also

GxDmmSetResolution, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString