CalRefDmmSetResolution

Purpose

Sets the measurement resolution.

Syntax

CalRefDmmSetResolution (hHandle, enResolution, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a DMM  
enResolution
enumCalRefDmmResolution
Sets the measurement in terms of digits of resolution:
4.      aRefDmmResolution3_5_Digits – 3 and a ½ Digits of Resolution.
5.      aRefDmmResolution4_5_Digits – 4 and a ½ Digits of Resolution.
6.      aRefDmmResolution5_5_Digits – 5 and a ½ Digits of Resolution.
7.    aRefDmmResolution6_5_Digits – 6 and a ½ Digits of Resolution.
plStatus
PLONG
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.

Example

The following example sets the resolution to 5 ½ digits:

 

LONG   lHandle, lStatus;

 

CalRefDmmSetResolution (lHandle, aRefDmmResolution5_5_Digits, &lStatus);

 

See Also

CalRefDmmSetRange, CalRefDmmMeasure, CalRefGetError