Sets the measurement resolution.
CalDmmSetResolution (hHandle, enResolution, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a DMM. |
enResolution |
enumCalDmmResolution |
Sets the measurement in terms of digits of resolution.4. aDmmResolution3_5_Digits – 3 and a ½ Digits of Resolution.5. aDmmResolution4_5_Digits – 4 and a ½ Digits of Resolution.6. aDmmResolution5_5_Digits – 5 and a ½ Digits of Resolution.7. aDmmResolution6_5_Digits – 6 and a ½ Digits of Resolution.8. aDmmResolution7_5_Digits – 7 and a ½ Digits of Resolution.9. aDmmResolution8_5_Digits – 8 and a ½ Digits of Resolution. |
plStatus |
PLONG |
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.
The following example sets the resolution to 5 ½ digits:
LONG lHandle, lStatus;
CalDmmSetResolution (lHandle, aDmmResolution5_5_Digits, &lStatus);
CalDmmSetRange, CalDmmSetFunction, CalDmmGetFunction, CalDmmGetError