CalDmmMeasure

Purpose

Takes a measurement and return the result.

Syntax

CalDmmMeasure (lHandle, pdMeasurement, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a DMM.
pdMeasurement
PDOUBLE
Return the measurement.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function generates a software trigger and forces the DMM to take a measurement. The result is returned without normalizing in base units. For example, Voltage will be returned as Volts, Current will be returned as Amps, Resistance will be returned as Ohms, Temperature will be returned as degrees Celsius, and Frequency will be returned as Hertz.

Example

The following takes a new measurement:

 

LONG   lHandle, lStatus;

DOUBLE dMeasurement;

 

CalDmmMeasure (lHandle, &dMeasurement, &lStatus);

 

See Also

CalDmmSetRange, CalDmmSetFunction, CalDmmGetFunction, CalDmmGetError