GxDmmSetACMinFrequency

Purpose

Sets the AC minimum frequency

Syntax

GxDmmSetACMinFrequency (nHandle, dFrequency, pnStatus)

Parameters

Name
Type
Comments
nHandle
PSHORT
Handle for a GX2065 board.
dFrequency
DOUBLE
Sets the minimum frequency expected to capture by the DMM for an AC measurement.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

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.  

Example

The following example sets the AC minimum frequency to 500Hz:

 

SHORT nHandle, nStatus;

GxDmmSetACMinFrequency (nHandle, 500, &nStatus);

 

See Also

GxDmmGetACMinFrequency, GxDmmGetACMath, GxDmmGetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString