GxDmmGetReadArrayStatus

Purpose

Returns a result from measurement that has already occurred

Syntax

GxDmmGetReadArrayStatus (nHandle, pbReadFinished, pdwCount, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT

Handle for a GX2065 board.

pbReadFinished
PBOOL
Return the measurement
pdwCount
PDWORD
Returns the number of samples to be taken during an Array capture
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Use this function to check if the buffered measurement has completed after calling GxDmmSetTriggerMode (with the GXDMM_TRIGGER_ARRAY constant).

This function is applicable only to the following measurements functions:

2.       GXDMM_FUNCTION_VAC_AC_CPL – Voltage AC, AC Coupled Mode

3.       GXDMM_FUNCTION_IAC_AC_CPL – Current AC, AC Coupled Mode

4.       GXDMM_FUNCTION_VAC_DC_CPL – Voltage AC, DC Coupled Mode

5.       GXDMM_FUNCTION_IAC_DC_CPL – Current AC, DC Coupled Mode

Example

The following gets the array measurement status:

 

SHORT nHandle, nStatus;

DWORD dwCount;

BOOL bReadFinished;

GxDmmGetReadArrayStatus (nHandle, &bReadFinished, &dwCount, &nStatus);

 

See Also

GxDmmRead, GxDmmReadEx, GxDmmMeasure, GxDmmMeasureEx, GxDmmSetTriggerMode, GxDmmGetTriggerMode, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString