Gets the AC function math type
GxDmmGetACMath (nHandle, pdwMathType, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pdwMathType |
PDWORD |
Gets the math function applied the raw measurement in any of the AC measurement functions.
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
When the DMM is in any of the AC functions (VAC AC Coupled, VAC DC Coupled, IAC AC Coupled, or IAC DC Coupled), an internal DAQ is used to acquire up to 8192 samples of data at up to 2MS/s. A math operation (from the types listed above) is applied to the samples to generate a final measurement result. Use the GxDmmSetACMinFrequency function to set the lowest expected frequency.
The following example sets the AC math type to RMS:
SHORT nHandle, nStatus;
DWORD dwACMathType;
GxDmmGetACMath (nHandle, &dwACMathType, &nStatus);
GxDmmSetACMath, GxDmmSetACMinFrequency, GxDmmGetACMinFrequency, GxDmmGetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString