Aborts any currently executing measurements
GxDmmGetACClockDivider (nHandle, pdwClockDivider, pnStatus)
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. |
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.
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);
GxDmmSetACClockDivider, GxDmmSetACMath, GxDmmGetACMath, GxDmmSetACMinFrequency, GxDmmGetACMinFrequency, GxDmmGetAutoRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmSetRange, GxDmmGetRange, GxDmmGetErrorString