GxDmmSetACClockDivider

Purpose

Sets the AC DAQ clock divider

Syntax

GxDmmSetACClockDivider (nHandle, dwClockDivider, pnStatus)

Parameters

Name
Type
Comments
nHandle
PSHORT
Handle for a GX2065 board.
dwClockDivider
DWORD
Sets 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;

GxDmmSetACClockDivider (nHandle, 2, &nStatus);

 

See Also

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