Gets the AC minimum frequency
GxDmmGetACMath (nHandle, pdFrequency, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pdFrequency |
PDOUBLE |
Gets the minimum frequency expected to capture by the DMM for an AC measurement. |
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 selectable using GxDmmSetACMath) is applied to the samples to generate a final measurement result. The user must specify the minimum AC frequency so that the timing of the DAQ can be adjusted to capture at least 4 cycles of the waveform, with the maximum number of samples per cycle. Higher frequencies can also be captured, but the number of samples per cycle is reduced.
The following example sets the AC minimum frequency to 500Hz:
SHORT nHandle, nStatus;
DOUBLE dACMinFrequency
GxDmmGetACMinFrequency (nHandle, &dACMinFrequency, &nStatus);
GxDmmGetACMinFrequency, GxDmmGetACMath, GxDmmGetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString