GxDmmGetACClockDivider

Purpose

Aborts any currently executing measurements

Syntax

GxDmmGetACClockDivider (nHandle, pdwClockDivider, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle for a GX2065 board.
pdwClockDivider
PDWORD
Gets the clock divider for the AC DAQ sampling clock (1-255)
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 3MS/s.  The DAQ sampling clock (3 MHz) can be divided to achieve a slower sampling rate.

Example

The following example sets the AC DAQ Clock divider to 2 so that the effective sampling rate becomes 1.50MS/s :

 

SHORT nHandle, nStatus;

DWORD dwACClockDivider;

GxDmmGetACClockDivider (nHandle, &dwACCClockDivider, &nStatus);

 

See Also

GxDmmSetACClockDivider, GxDmmSetACMath, GxDmmGetACMath, GxDmmSetACMinFrequency, GxDmmGetACMinFrequency, GxDmmGetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString