Takes a measurement and return the result.
CalDmmMeasure (lHandle, pdMeasurement, plStatus)
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. |
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.
The following takes a new measurement:
LONG lHandle, lStatus;
DOUBLE dMeasurement;
CalDmmMeasure (lHandle, &dMeasurement, &lStatus);
CalDmmSetRange, CalDmmSetFunction, CalDmmGetFunction, CalDmmGetError